PageSourceSearch

https://community.africam.com/js/app.1a46437c.js

js africam.com collected 2026-10-02 14:43:48 UTC 932,880 bytes, 1 lines download raw bytes

1(function(e){function t(t){for(var a,r,n=t[0],l=t[1],c=t[2],u=0,h=[];u<n.length;u++)r=n[u],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&h.push(i[r][0]),i[r]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);d&&d(t);while(h.length)h.shift()();return o.push.apply(o,c||[]),s()}function s(){for(var e,t=0;t<o.length;t++){for(var s=o[t],a=!0,n=1;n<s.length;n++){var l=s[n];0!==i[l]&&(a=!1)}a&&(o.splice(t--,1),e=r(r.s=s[0]))}return e}var a={},i={0:0},o=[];function r(t){if(a[t])return a[t].exports;var s=a[t]={i:t,l:!1,exports:{}};return e[t].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=e,r.c=a,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(s,a,function(t){return e[t]}.bind(null,a));return s},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/";var n=window["webpackJsonp"]=window["webpackJsonp"]||[],l=n.push.bind(n);n.push=t,n=n.slice();for(var c=0;c<n.length;c++)t(n[c]);var d=l;o.push([0,1]),s()})({0:function(e,t,s){e.exports=s("2f39")},"0032":function(e,t,s){"use strict";s("38aa")},"0047":function(e,t,s){},"0565":function(e,t,s){"use strict";s("16f0")},"0671":function(e,t,s){},"0fe7":function(e,t,s){},"16f0":function(e,t,s){},1743:function(e,t,s){"use strict";s("1820")},1820:function(e,t,s){},"18f5":function(e,t,s){"use strict";s("feea")},1971:function(e,t,s){"use strict";s("6c4f")},"200a":function(e,t,s){"use strict";s("b30d")},2061:function(e,t,s){},"223e":function(e,t,s){},2652:function(e,t,s){"use strict";(function(e){var a=s("c973"),i=s.n(a),o=(s("96cf"),s("d3e3"));t["a"]=function(){var t=i()(regeneratorRuntime.mark((function t(s){var a,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:s.store,s.Vue,"true"===(null===(a=e)||void 0===a||null===(i=a.env)||void 0===i?void 0:"false")&&Paddle.Environment.set("sandbox"),Paddle.Setup({vendor:126516,eventCallback:function(e){"Checkout.PaymentMethodSelected"===e.event?o["a"].$emit("Checkout.PaymentMethodSelected",e):"Checkout.Close"===e.event?o["a"].$emit("Checkout.Close",e):"Checkout.Payment.Selection"===e.event?o["a"].$emit("Checkout.Payment.Selection",e):"Checkout.Payment.Selected"===e.event?o["a"].$emit("Checkout.Payment.Selected",e):"Checkout.Payment.Initiated"===e.event?o["a"].$emit("Checkout.Payment.Initiated",e):"Checkout.Customer.Details"===e.event?o["a"].$emit("Checkout.Customer.Details",e):"Checkout.Complete"===e.event?o["a"].$emit("Checkout.Complete",e):"Checkout.Payment.Failed"===e.event?o["a"].$emit("Checkout.Payment.Failed",e):"Checkout.Error"===e.event?o["a"].$emit("Checkout.Error",e):"Checkout.Loaded"===e.event&&o["a"].$emit("Checkout.Loaded",e)}});case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}).call(this,s("4362"))},2683:function(e,t,s){},"26ab":function(e,t,s){},2784:function(e,t,s){},"2a0e":function(e,t,s){"use strict";s("2683")},"2a8b":function(e,t,s){"use strict";s("564c")},"2b6d":function(e,t,s){"use strict";s("9598")},"2c44":function(e,t,s){},"2f39":function(e,t,s){"use strict";s.r(t);var a={};s.r(a),s.d(a,"getChatMessages",(function(){return Ue})),s.d(a,"getCurrentChat",(function(){return Fe})),s.d(a,"getChatVisible",(function(){return Be})),s.d(a,"getChatMessagesVisible",(function(){return He})),s.d(a,"getSightingMessagesVisible",(function(){return Ge}));var i={};s.r(i),s.d(i,"addMessage",(function(){return We})),s.d(i,"deleteMessage",(function(){return Ye})),s.d(i,"setChat",(function(){return Ke})),s.d(i,"setChatVisibility",(function(){return Ze})),s.d(i,"setChatMessageVisibility",(function(){return Je})),s.d(i,"setSightingChatMessageVisibility",(function(){return Xe}));var o={};s.r(o),s.d(o,"watchChat",(function(){return et}));var r={};s.r(r),s.d(r,"streams",(function(){return at})),s.d(r,"getStreamById",(function(){return it}));var n={};s.r(n),s.d(n,"setLoadingStreams",(function(){return ot})),s.d(n,"setStreams",(function(){return rt}));var l={};s.r(l),s.d(l,"fetchStreams",(function(){return nt}));var c={};s.r(c),s.d(c,"getCourse",(function(){return dt}));var d={};s.r(d),s.d(d,"updateCourse",(function(){return mt})),s.d(d,"hotfixCourseModule",(function(){return pt}));var u={};s.r(u),s.d(u,"fetchCourse",(function(){return gt}));var h={};s.r(h),s.d(h,"getCategories",(function(){return bt})),s.d(h,"getNotifications",(function(){return wt})),s.d(h,"getUpsertingNotificationCategories",(function(){return yt}));var m={};s.r(m),s.d(m,"addToNotifications",(function(){return _t})),s.d(m,"setCategories",(function(){return St})),s.d(m,"setUpsertingNotificationCategories",(function(){return Ct})),s.d(m,"trimNotifications",(function(){return At})),s.d(m,"updateNotifications",(function(){return kt}));var p={};s.r(p),s.d(p,"loadNotificationCategories",(function(){return It})),s.d(p,"watchNotifications",(function(){return $t})),s.d(p,"upsertSelectedNotifications",(function(){return Et}));var g={};s.r(g),s.d(g,"getPhotos",(function(){return Ot}));var v={};s.r(v),s.d(v,"setPhotos",(function(){return Lt}));var f={};s.r(f),s.d(f,"clearPhotos",(function(){return Dt})),s.d(f,"deletePhoto",(function(){return Vt})),s.d(f,"fetchPhotos",(function(){return zt}));var b={};s.r(b),s.d(b,"getDestinations",(function(){return Qt})),s.d(b,"getCurrentDestination",(function(){return Ut})),s.d(b,"getCurrentDestinationTag",(function(){return Ft})),s.d(b,"getCurrentDestinationAnimalsTagged",(function(){return Bt})),s.d(b,"getCurrentDestinationTagLoading",(function(){return Ht})),s.d(b,"getCurrentDestinationLoading",(function(){return Gt})),s.d(b,"getCurrentDestinationAnimalsTaggedLoading",(function(){return Wt})),s.d(b,"getcurrentDestinationAnimalsTaggedByPeriod",(function(){return Yt})),s.d(b,"getDestinationsInLastTenMin",(function(){return Kt})),s.d(b,"getDestinationById",(function(){return Zt})),s.d(b,"getDestinationBySlug",(function(){return Jt}));var w={};s.r(w),s.d(w,"setDestinations",(function(){return Xt})),s.d(w,"addToDestinations",(function(){return es})),s.d(w,"cleanupDestinations",(function(){return ts})),s.d(w,"removedestination",(function(){return ss})),s.d(w,"setCurrentDestinationTag",(function(){return as})),s.d(w,"setCurrentDestinationAnimalsTagged",(function(){return is})),s.d(w,"setCurrentDestination",(function(){return os})),s.d(w,"setLoadingDestination",(function(){return rs})),s.d(w,"setLoadingDestinations",(function(){return ns})),s.d(w,"setLoadingDestinationRecentTag",(function(){return ls})),s.d(w,"setLoadingDestinationAnimalsTagged",(function(){return cs}));var y={};s.r(y),s.d(y,"fetchDestination",(function(){return us})),s.d(y,"fetchDestinations",(function(){return hs}
1)),s.d(y,"switchDestination",(function(){return ms})),s.d(y,"fetchCurrentDestinationRecentTag",(function(){return ps})),s.d(y,"fetchCurrentDestinationAnimalsTagged",(function(){return gs}));var x={};s.r(x),s.d(x,"getIsFullscreen",(function(){return bs})),s.d(x,"getIsInDebugMode",(function(){return ws})),s.d(x,"getLogSetting",(function(){return ys}));var q={};s.r(q),s.d(q,"updateFullscreen",(function(){return xs})),s.d(q,"updateDebugMode",(function(){return qs}));var S={};s.r(S),s.d(S,"setDebugMode",(function(){return _s})),s.d(S,"setFullscreen",(function(){return Ss}));var C={};s.r(C),s.d(C,"getShowAfterNext",(function(){return ks})),s.d(C,"getNextShow",(function(){return Ts})),s.d(C,"getShowSchedule",(function(){return Ps})),s.d(C,"getActiveShowTypes",(function(){return Is})),s.d(C,"getShowTypes",(function(){return $s})),s.d(C,"getShowTypeById",(function(){return Es})),s.d(C,"getShowTypeBySlug",(function(){return Rs}));var A={};s.r(A),s.d(A,"updateSchedule",(function(){return Ns})),s.d(A,"updateShowTypes",(function(){return Os}));var k={};s.r(k),s.d(k,"fetchShowTypes",(function(){return Ls}));var T={};s.r(T),s.d(T,"getSubscriptions",(function(){return zs}));var P={};s.r(P),s.d(P,"updateSubscriptions",(function(){return Ms}));var I={};s.r(I),s.d(I,"fetchSubscriptions",(function(){return js}));var $={};s.r($),s.d($,"getSightings",(function(){return Fs})),s.d($,"getSightingsInLastTenMin",(function(){return Bs})),s.d($,"getSightingById",(function(){return Hs}));var E={};s.r(E),s.d(E,"addToSightings",(function(){return Gs})),s.d(E,"cleanupSightings",(function(){return Ws})),s.d(E,"removeSighting",(function(){return Ys}));var R={};s.r(R),s.d(R,"watchSightings",(function(){return Ks}));var N={};s.r(N),s.d(N,"getFetchingVideos",(function(){return Xs})),s.d(N,"getVideoTypes",(function(){return ea}));var O={};s.r(O),s.d(O,"setFetchingVideos",(function(){return ta}));var L={};s.r(L),s.d(L,"fetchVideosByType",(function(){return sa}));var D={};s.r(D),s.d(D,"getAPIToken",(function(){return oa})),s.d(D,"getAuthenticated",(function(){return ra})),s.d(D,"getCurrentUserId",(function(){return na})),s.d(D,"getIntendedPath",(function(){return la})),s.d(D,"getHasInactiveSubscription",(function(){return ca})),s.d(D,"getHasSubscription",(function(){return da})),s.d(D,"getIsJuniorRangerRegistered",(function(){return ua})),s.d(D,"getIsAdmin",(function(){return ha})),s.d(D,"getIsSubscriber",(function(){return ma})),s.d(D,"getIsZoomie",(function(){return pa})),s.d(D,"getIsSuperZoomie",(function(){return ga})),s.d(D,"getIsUser",(function(){return va})),s.d(D,"getLoggingInStatus",(function(){return fa})),s.d(D,"getRequestingCodeStatus",(function(){return ba})),s.d(D,"getState",(function(){return wa})),s.d(D,"getSubscriptionRequested",(function(){return ya})),s.d(D,"getSubscriptionStatus",(function(){return xa})),s.d(D,"getUser",(function(){return qa})),s.d(D,"getIsFree",(function(){return _a})),s.d(D,"getUserId",(function(){return Sa})),s.d(D,"getUserType",(function(){return Ca})),s.d(D,"getValidatingCodeStatus",(function(){return Aa}));var V={};s.r(V),s.d(V,"setFirebaseToken",(function(){return ka})),s.d(V,"setAPIToken",(function(){return Ta})),s.d(V,"setLoggingInStatus",(function(){return Pa})),s.d(V,"setCurrentUser",(function(){return Ia})),s.d(V,"forceUserSubscribed",(function(){return $a})),s.d(V,"setIntendedPath",(function(){return Ea})),s.d(V,"setRequestingCodeStatus",(function(){return Ra})),s.d(V,"setSubscriptionRequested",(function(){return Na})),s.d(V,"setValidatingCodeStatus",(function(){return Oa})),s.d(V,"setUserUnSubscribed",(function(){return La}));var z={};s.r(z),s.d(z,"fetchUser",(function(){return Da})),s.d(z,"hideLoader",(function(){return Va})),s.d(z,"logout",(function(){return za})),s.d(z,"restoreSession",(function(){return Ma})),s.d(z,"serverLogin",(function(){return ja})),s.d(z,"setUserSubscribed",(function(){return Ua})),s.d(z,"setUserUnSubscribed",(function(){return Fa})),s.d(z,"watchAuthState",(function(){return Ba}));var M={};s.r(M),s.d(M,"animals",(function(){return Wa})),s.d(M,"birds",(function(){return Ya})),s.d(M,"getAnimalById",(function(){return Ka}));var j={};s.r(j),s.d(j,"setLoadingAnimals",(function(){return Za})),s.d(j,"setAnimals",(function(){return Ja})),s.d(j,"setLoadingBirds",(function(){return Xa})),s.d(j,"setBirds",(function(){return ei}));var Q={};s.r(Q),s.d(Q,"fetchAnimals",(function(){return ti})),s.d(Q,"fetchBirds",(function(){return si}
1));var U=s("c973"),F=s.n(U),B=(s("96cf"),s("5319"),s("ac1f"),s("573e"),s("4848"),s("c382"),s("985d"),s("0047"),s("2b0e")),H=s("1f91"),G=s("b3f7"),W=s("b05d"),Y=s("7f67"),K=s("714f"),Z=s("12c5"),J=s("b12a"),X=s("5dab"),ee=s("515f"),te=s("18d6"),se=s("9c64"),ae=s("2a19");B["a"].use(W["a"],{config:{loadingBar:{color:"orange",size:"3px"},notify:{color:"light-baise",textColor:"dark-green",position:"top",timeout:3e3,multiLine:!0}},lang:H["a"],iconSet:G["a"],directives:{ClosePopup:Y["a"],Ripple:K["a"],TouchSwipe:Z["a"]},plugins:{AppFullscreen:J["a"],AppVisibility:X["a"],Cookies:ee["a"],LocalStorage:te["a"],Meta:se["a"],Notify:ae["a"]}});var ie=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{directives:[{name:"touch-swipe",rawName:"v-touch-swipe.right",value:e.showLeftNav,expression:"showLeftNav",modifiers:{right:!0}}],staticClass:"text-grey-7",class:e.getIsSubscriber?"premium-background":"standard-background",attrs:{id:"q-app"}},[s("router-view"),s("cookies",{attrs:{"show-cookie-policy":e.showCookiePolicy},on:{closed:function(t){e.showCookiePolicy=!1}}}),e.$q.fullscreen.isActive?s("fullscreen-toggle",{attrs:{"icon-only":""}}):e._e(),s("q-dialog",{attrs:{position:"bottom",persistent:""},model:{value:e.showAcceptCookies,callback:function(t){e.showAcceptCookies=t},expression:"showAcceptCookies"}},[s("q-card",{staticClass:"bg-extra-light-baise"},[s("q-card-section",{staticClass:"row items-center"},[s("span",{staticClass:"q-ml-sm"},[e._v("\n          Our third-party tools use cookies, these are necessary for their\n          function and required to achieve the purposes illustrated in our\n          Cookie Policy.\n        ")])]),s("q-card-actions",{attrs:{align:"right"}},[s("q-btn",{staticClass:"bg-brand-orange text-white text-shadow q-px-md",attrs:{label:"I Accept"},on:{click:e.acceptCookies}}),s("q-btn",{attrs:{flat:"",label:"Learn more",color:"primary"},on:{click:function(t){e.showCookiePolicy=!0}}})],1)],1)],1)],1)},oe=[],re=s("ded3"),ne=s.n(re),le=s("d3e3"),ce=s("2f62"),de=Object(ce["a"])("chat"),ue=de.mapActions,he=Object(ce["a"])("content"),me=he.mapActions,pe=Object(ce["a"])("animals"),ge=pe.mapActions,ve=Object(ce["a"])("destination"),fe=ve.mapActions,be=Object(ce["a"])("course"),we=be.mapActions,ye=Object(ce["a"])("notifications"),xe=ye.mapActions,qe=Object(ce["a"])("settings"),_e=qe.mapActions,Se=Object(ce["a"])("shows"),Ce=Se.mapActions,Ae=Object(ce["a"])("user"),ke=Ae.mapGetters,Te=Ae.mapMutations,Pe=Ae.mapActions,Ie={name:"App",computed:ne()({},ke(["getUserId","getIsSubscriber","getUserType"])),created(){var e,t,s=this;console.log("CREATED APP ........."),null!==this&&void 0!==this&&null!==(e=this.$route)&&void 0!==e&&null!==(t=e.query)&&void 0!==t&&t.debug&&this.setDebugMode(this.$route.query.debug),le["a"].$on("doSignInUp",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;s.$log("LOGIN ACTION, DO CLEANUP FIRST",e),s.setCurrentUser({}),s.setAPIToken(null),s.setFirebaseToken(null)(!_.isNil(e)&&_.isEqual(e,"subscribe"))?le["a"].$emit("routeTo",{name:"subscribe"}):le["a"].$emit("routeTo",{name:"sign-in"})})),le["a"].$on("routeTo",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;s.$log("HEARD routeTo",e),_.isNil(e)||(s.$log("ROUTE TO EVENT:",e),s.$nextTick((function(){s.$router.push(e)})))})),this.$q.dark.set(!1),s.fetchStreams(),s.fetchDestinations(),s.fetchAnimals(),s.fetchBirds(),s.fetchShowTypes(),s.loadNotificationCategories(),s.fetchCourse(),s.$log("APPLICATION STARTED."),s.restoreSession(),s.watchAuthState(),s.watchChat(),s.watchNotifications(),s.$q.screen.setSizes({sm:480,md:768,lg:1024,xl:1440}),setTimeout((function(){s.hideLoader()}),1e4)},data(){return{showAcceptCookies:!1,showCookiePolicy:!1}},methods:ne()(ne()(ne()(ne()(ne()(ne()(ne()(ne()(ne()(ne()(ne()(ne()({},ue(["watchChat"])),me(["fetchStreams"])),ge(["fetchAnimals"])),ge(["fetchBirds"])),fe(["fetchDestinations"])),we(["fetchCourse"])),xe(["loadNotificationCategories","watchNotifications"])),_e(["setDebugMode","setFullscreen"])),Ce(["fetchShowTypes"])),Pe(["getUser","hideLoader","restoreSession","wat
1chAuthState"])),Te(["setCurrentUser","setAPIToken","setFirebaseToken"])),{},{acceptCookies(){this.$q.cookies.set("cookies-accepted",1),this.showAcceptCookies=!1},showLeftNav(){le["a"].$emit("showLeftNav",!0)}}),mounted(){1!==this.$q.cookies.get("cookies-accepted")&&(this.showAcceptCookies=!0)},watch:{"$q.fullscreen.isActive"(e){e?(this.$log("ENTERING FULLSCREEN"),this.setFullscreen(!0)):(this.$log("EXITING FULLSCREEN"),this.setFullscreen(!1))},$route:{immediate:!0,handler(e,t){this.$trackPage({url:_.get(e,"path","unknown"),name:_.get(e,"name","unknown")})}},"$route.query":{immediate:!0,handler(e){var t=this;_.has(e,"login")&&setTimeout((function(){t.$route.query.login&&le["a"].$emit("doSignInUp",t.$route.query.login)}),1500)}}}},$e=Ie,Ee=s("2877"),Re=s("24e8"),Ne=s("f09f"),Oe=s("a370"),Le=s("4b7e"),De=s("9c40"),Ve=s("eebe"),ze=s.n(Ve),Me=Object(Ee["a"])($e,ie,oe,!1,null,null,null),je=Me.exports;ze()(Me,"components",{QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QCardActions:Le["a"],QBtn:De["a"]}),ze()(Me,"directives",{TouchSwipe:Z["a"]});var Qe=function(){return{currentChat:"chat-general",messages:[],visible:!1,chatMessagesVisible:!0,sightingMessagesVisible:!0}};s("4de4");function Ue(e){if(!_.isNil(e.currentChat)){var t=_.filter(e.messages,(function(e){return"chat-general"===e.chat}));return _.takeRight(t,180)}return[]}function Fe(e){return"chat-general"}function Be(e){return e.visible}function He(e){return e.chatMessagesVisible}function Ge(e){return e.sightingMessagesVisible}s("a434");function We(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._vm;_.isNil(t)||e.messages.push(t)}function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;if(!_.isNil(t)){var a=_.findIndex(e.messages,(function(e){return e.id===t.id}));_.isNumber(a)&&a>-1&&(e.messages.splice(a,1),s.$log("CHAT MESSAGE DELETED:",t,a))}}function Ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._vm;_.isNil(t)||(e.currentChat=t)}function Ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;_.isNil(t)||(e.visible=t,s.$log("SET CURRENT CHAT VISIBILITY:",e.visible))}function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;_.isNil(t)||(e.chatMessagesVisible=t,s.$log("SET CURRENT CHAT MESSAGE VISIBILITY:",e.chatMessagesVisible))}function Xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;_.isNil(t)||(e.sightingMessagesVisible=t,s.$log("SET CURRENT SIGHTING CHAT MESSAGE VISIBILITY:",e.sightingMessagesVisible))}s("159b");function et(e){var t=e.commit,s=this._vm;s.$firebaseDB.collection("chat").orderBy("sent_at").onSnapshot((function(e){s.$log("CHAT SNAPSHOT TRIGGERED"),e.docChanges().forEac
1h((function(e){var s=e.doc.data();"added"===e.type&&(s.id=e.doc.id||"",t("addMessage",s)),"removed"===e.type&&(s.id=e.doc.id||"",t("deleteMessage",s))}))})),s.$log("WATCHING CHAT")}var tt={namespaced:!0,getters:a,mutations:i,actions:o,state:Qe},st=function(){return{streamsLoaded:!1,loadingStreams:!1,streams:[]}};function at(e){return _.get(e,"streams",[])}function it(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return _.isArray(null===e||void 0===e?void 0:e.streams)?e.streams.filter((function(e){return e.id===t})):{}}}function ot(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this._vm;e.loadingStreams=t,s.$log("MUTATED STREAMS LOADING:",e.loadingStreams)}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;!_.isNil(t)&&_.isArray(t)&&(e.streams=t,e.streamsLoaded=!0,s.$log("MUTATED STREAMS:",e.streams),s.$q.localStorage.set("streams",e.streams))}s("e6cf"),s("d3b7"),s("a79d");function nt(e){var t=e.commit,s=this._vm;return s.$q.localStorage.has("streams")&&(t("setStreams",s.$q.localStorage.getItem("streams")),s.$log("UPDATE STREAMS FROM LS:",s.$q.localStorage.getItem("streams"))),new Promise((function(e,a){t("setLoadingStreams",!0),s.$axios.post("/api/streams").then((function(a){s.$log("FETCH STREAMS OK:",a);var i=_.get(a,"data.data",[]);t("setStreams",i),e(a)})).catch((function(e){s.$log("FETCH STREAMS FAILED:",e),a(e)})).finally((function(){t("setLoadingStreams",!1)}))}))}var lt={namespaced:!0,getters:r,mutations:n,actions:l,state:st},ct=function(){return{course:{}}};function dt(e){var t;return null!==(t=null===e||void 0===e?void 0:e.course)&&void 0!==t?t:{}}s("d81d");var ut=s("5a0c"),ht=s.n(ut);function mt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;!_.isNil(t)&&_.isObject(t)&&(e.course=t,s.$log("UPDATE COURSE:",e.course),s.$q.localStorage.set("course",e.course))}function pt(e){var t,s,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this._vm;if(!_.isNil(a)&&_.isObject(a)&&(!_.isNil(null===e||void 0===e||null===(t=e.course)||void 0===t?void 0:t.modules)&&_.isArray(null===e||void 0===e||null===(s=e.course)||void 0===s?void 0:s.modules))){var o,r=_.map(null===e||void 0===e||null===(o=e.course)||void 0===o?void 0:o.modules,(function(e){return e.id==a.id&&!_.isNil(null===e||void 0===e?void 0:e.updated_ts)&&!_.isNil(null===a||void 0===a?void 0:a.updated_at)&&ht.a.unix(null===e||void 0===e?void 0:e.updated_ts).isValid()&&ht()(null===a||void 0===a?void 0:a.updated_at).isValid()&&ht.a.unix(null===e||void 0===e?void 0:e.updated_ts).isBefore(ht()(null===a||void 0===a?void 0:a.updated_at))&&(e.on_air=a.on_air,e.stream_youtube_id=a.module_youtube_id,e.module_youtube_id=a.module_youtube_id),e}));e.course.modules=r,i.$q.localStorage.set("course",e.course)}}function gt(e){var t=e.commit,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this._vm;return a.$q.localStorage.has("course")&&(t("updateCourse",a.$q.localStorage.getItem("course")),a.$log("UPDATE COURSE FROM LS:",a.$q.localStorage.getItem("course"))),new Promise((function(e,i){a.$axios.get("/api/kids-course",s).then((function(s){a.$log("FETCH COURSE OK:",s);var i=_.get(s,"data.data.course",[]);t("updateCourse",i),e(s)})).catch((function(e){a.$log("FETCH COURSE FAILED:",e),i(e)}))}))}var vt={namespaced:!0,getters:c,mutations:d,actions:u,state:ct},ft=function(){return{categories:[],notifications:[],upsertingNotificationCategories:!1}};function bt(e){return _.get(e,"categories",[])}function wt(e){return _.get(e,"notifications",[])}function yt(e){return _.get(e,"upsertingNotificationCategories",!1)}var xt=s("2ef0"),qt=s.n(xt);function _t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;qt.a.isNil(t)||(e.notifications.unshift(t),At(e))}function St(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=this._vm;e.categories=t,s.$log("MUTATION SET NOTIFICATION CATEGORIES",e.categories)}function Ct(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this._vm;e.upsertingNotificationCategories=t,s.$log("MUTATION SET UPSERTING NOTIFICATION CATEGORIES",e.upsertingNotificationCategories)}function At(e){qt.a.isNil(null===e||void 0===e?void 0:e.notifications)||qt.a.isEmpty(null===e||void 0===e?void 0:e.notifications)||(e.notifications=qt.a.take(e.notifications,3))}function kt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];qt.a.isArray(t)&&(e.notifications=t)}function Tt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=qt.a.defaults(e,{caption:"",message:"",multiLine:!0,position:"top"});ae["a"].create(t)}function Pt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;try{if(qt.a.isObject(e)){var t,s,a,i={caption:null!==(t=null===e||void 0===e?void 0:e.caption)&&void 0!==t?t:null,color:null!==(s=null===e||void 0===e?void 0:e.colour)&&void 0!==s?s:"light-baise",message:null!==(a=null===e||void 0===e?void 0:e.message)&&void 0!==a?a:"",multiLine:!0};qt.a.isNumber(qt.a.toNumber(null===e||void 0===e?void 0:e.timeout))&&(console.log("TIMEOUT:"+qt.a.get(e,"timeout",3500)),i["timeout"]=qt.a.get(e,"timeout",3500),i["progress"]=!0),qt.a.isEmpty(null===e||void 0===e?void 0:e.img_url)||(i["avatar"]=null===e||void 0===e?void 0:e.img_url),!qt.a.isEmpty(null===e||void 0===e?void 0:e.icon)&&qt.a.isEmpty(i["avatar"])&&(i["icon"]=null===e||void 0===e?void 0:e.icon),qt.a.isEmpty(null===e||void 0===e?void 0:e.link_url)||qt.a.isEmpty(null===e||void 0===e?void 0:e.link_text)||(i["actions"]=[{label:null===e||void 0===e?void 0:e.link_text,handler:function(){var t;self.$emit("routeTo",{path:null!==(t=null===e||void 0===e?void 0:e.link_url)&&void 0!==t?t:"/"})}}]),Tt(i)}}catch(o){appErrorLogger(null===o||void 0===o?void 0:o.message)}}function It(e){var t=e.commit,s=this._vm;s.$axios.post("/api/notifications/categories",{user_selectable:1}).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=e.data;t("setCategories",qt.a.get(s,"data.categories",[]))}))}function $t(e){var t=e.commit,s=e.dispatch,a=this._vm;
1a.$firebaseDB.collection("notify-sitewide").orderBy("sent_at").onSnapshot((function(e){e.docChanges().forEach((function(e){if("added"===e.type){var s=e.doc.data();console.log("Notification object",s),qt.a.has(s,"sent_at")&&a.$dayjs().subtract(7,"second").isBefore(a.$dayjs(s.sent_at.toDate()))?(console.log("All good within 7 secs."),Pt(s),t("addToNotifications",s)):console.log("Message older than 7 secs",s)}e.type}))})),a.$log("WATCHING NOTIFICATIONS"),a.$firebaseDB.collection("notify-streams").onSnapshot((function(e){a.$log("STREAMS NOTIFICATION TRIGGERED"),e.docChanges().forEach((function(e){if("added"===e.type){var s=e.doc.data();!qt.a.isNil(s)&&qt.a.has(s,"streams")&&qt.a.isArray(s.streams)&&t("content/setStreams",s.streams,{root:!0})}}))})),a.$log("WATCHING SHOWS SCHEDULE NOTIFICATIONS"),a.$firebaseDB.collection("notify-show-schedule").onSnapshot((function(e){a.$log("SHOW SCHEDULE NOTIFICATION TRIGGERED"),e.docChanges().forEach((function(e){if("added"===e.type){var s=e.doc.data();!qt.a.isNil(s)&&qt.a.has(s,"schedule")&&qt.a.isArray(s.schedule)&&t("shows/updateSchedule",s.schedule,{root:!0})}}))})),a.$log("WATCHING SHOWS SCHEDULE NOTIFICATIONS"),a.$firebaseDB.collection("notify-course-module-update").onSnapshot((function(e){a.$log("COURSE MODULE NOTIFICATION TRIGGERED"),e.docChanges().forEac
1h((function(e){if("added"===e.type){var t=e.doc.data();!qt.a.isNil(t)&&qt.a.has(t,"module")&&qt.a.isObject(t.module)&&s("course/fetchCourse",null,{root:!0})}}))})),a.$log("WATCHING COURSE MODULE NOTIFICATIONS"),a.$firebaseDB.collection("sightings").orderBy("created_ts","desc").onSnapshot((function(e){e.docChanges().forEach((function(e){if(a.$log("DEBUGGING SIGHTINGS"),a.$log({change:e}),"added"===e.type){var s=e.doc.data();console.log("Sighting object",s),t("sightings/addToSightings",s,{root:!0})}if("removed"===e.type){var i=e.doc.data();t("sightings/removeSighting",i,{root:!0}),console.log("Sighting Document Removed")}}))})),a.$log("WATCHING SIGHTINGS")}function Et(e){var t=e.commit,s=e.dispatch,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this._vm;qt.a.isObject(a)&&(t("setUpsertingNotificationCategories",!0),i.$axios.post("/api/user/notifications/categories",a).then((function(e){s("user/fetchUser",null,{root:!0}),console.log("UPSERT NOTIFICATION CATEGORIES:",e)})).catch((function(e){console.log("UPSERT NOTIFICATION CATEGORIES FAILED:",e)})).finally((function(){t("setUpsertingNotificationCategories",!1)})))}var Rt={namespaced:!0,getters:h,mutations:m,actions:p,state:ft},Nt=function(){return{loadingPhotos:!1,photos:[],photosLoaded:!1}};function Ot(e){return e.photos||[]}function Lt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!_.isNil(t)&&_.isArray(t)&&(e.photos=[],_.forEach(t,(function(t){e.photos.push(t)})),e.photosLoaded=!0)}function Dt(e){var t=e.commit;t("setPhotos",[])}function Vt(e){e.commit;var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=this._vm;return new Promise((function(e,a){s.$axios.post("/api/photo/delete",t).then((function(t){s.$log("DELETE PHOTO OK:",t),e(t)})).catch((function(e){s.$log("DELETE PHOTO FAILED:",e),a(e)}))}))}function zt(e){var t=e.commit,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this._vm;return new Promise((function(e,i){t("setPhotos",[]),a.$axios.post("/api/photos/search",s).then((function(s){a.$log("FETCH PHOTOS OK:",s);var i=_.get(s,"data.data",[]);t("setPhotos",i),e(s)})).catch((function(e){a.$log("FETCH PHOTOS FAILED:",e),i(e)}))}))}var Mt={namespaced:!0,getters:g,mutations:v,actions:f,state:Nt},jt=function(){return{stream:{},currentDestination:{},currentDestinationTag:{},currentDestinationAnimalsTagged:[],destinations:[],loadingDestination:!1,loadingDestinations:!1,loadingDestinationRecentTag:!1,loadingDestinationAnimalsTagged:!1}};function Qt(e){return qt.a.get(e,"destinations",[])}function Ut(e){return qt.a.get(e,"currentDestination",[])}function Ft(e){return qt.a.get(e,"currentDestinationTag",[])}function Bt(e){return qt.a.get(e,"currentDestinationAnimalsTagged",[])}function Ht(e){return qt.a.get(e,"loadingDestinationRecentTag",!1)}function Gt(e){return qt.a.get(e,"loadingDestination",!1)}function Wt(e){return qt.a.get(e,"loadingDestinationAnimalsTagged",!1)}function Yt(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"today";return qt.a.get(e,`currentDestinationAnimalsTagged.${t}`,[])}}function Kt(e){var t;return qt.a.filter(null!==(t=null===e||void 0===e?void 0:e.destinations)&&void 0!==t?t:[],(function(e){var t=ht()().subtract(5,"minute");return ht.a.unix(e.created_ts).isAfter(t)}))}function Zt(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!qt.a.isNil(e.destinations)&&qt.a.isArray(e.destinations)&&qt.a.isNumber(qt.a.toNumber(t))){var s=e.destinations.find((function(e){return qt.a.isEqual(qt.a.toNumber(null===e||void 0===e?void 0:e.id),qt.a.toNumber(t))}));if(qt.a.has(s,"id"))return s}return{}}}function Jt(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=e.destinations.find((function(e){return(null===e||void 0===e?void 0:e.slug)==t}));return console.log("DESTINATION MATCHED",{matchedDestination:s,slug:t}),s}}function Xt(e,t){console.log("Set All Destinations"),qt.a.isNil(t)||(e.destinations=t)}function es(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;
1console.log("Adding to destinations"),qt.a.isNil(t)||e.destinations.unshift(t)}function ts(e){if(!qt.a.isNil(null===e||void 0===e?void 0:e.destinations)&&!qt.a.isEmpty(null===e||void 0===e?void 0:e.destinations)){var t=ht()().subtract(10,"minute");e.destinations=qt.a.filter(e.destinations,(function(e){return ht.a.unix(e.created_ts).isAfter(t)})),e.notifications=qt.a.take(e.notifications,3)}}function ss(e,t){console.log("Removing destination"),qt.a.isNil(null===e||void 0===e?void 0:e.destinations)||qt.a.isEmpty(null===e||void 0===e?void 0:e.destinations)||(e.destinations=qt.a.filter(e.destinations,(function(e){var s;return null!==(s=e.id!==(null===t||void 0===t?void 0:t.id))&&void 0!==s?s:0})))}function as(e,t){console.log("Adding to destination tag"),qt.a.isNil(t)||(e.currentDestinationTag=t)}function is(e,t){console.log("setCurrentDestinationAnimalsTagged"),qt.a.isNil(t)||(e.currentDestinationAnimalsTagged=t)}function os(e,t){console.log("Set Current Destination",{destination:t}),qt.a.isNil(t)||(e.currentDestination=t)}function rs(e,t){var s=this._vm;e.loadingDestination=t,s.$log("MUTATED DESTINATION LOADING:",e.loadingDestination)}function ns(e,t){var s=this._vm;e.loadingDestination=t,s.$log("MUTATED ALL DESTINATION LOADING:",e.loadingDestinations)}function ls(e,t){return e.loadingDestinationRecentTag=t}function cs(e,t){return e.loadingDestinationAnimalsTagged=t}var ds=s("af87");function us(e){var t=e.commit,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this._vm;if(!((null===s||void 0===s?void 0:s.slug.length)<=0))return new Promise((function(e,i){var o;t("setLoadingDestination",!0),a.$axios.get(`/api/destination/${null!==(o=null===s||void 0===s?void 0:s.slug)&&void 0!==o?o:"not-found"}`).then((function(s){a.$log("FETCH CURRENT DESTINATION OK:",s);var i=ds["_"].get(s,"data.destination",[]);t("setCurrentDestination",i),e(s)})).catch((function(e){a.$log("FETCH Destinaion FAILED:",e),i(e)})).finally((function(){t("setLoadingDestination",!1)}))}))}function hs(e){var t=e.commit,s=this._vm;return new Promise((function(e,a){t("setLoadingDestinations",!0),s.$axios.get("/api/destinations").then((function(a){s.$log("FETCH ALL DESTINATIONS OK:",a);var i=ds["_"].get(a,"data.destinations",[]);t("setDestinations",i),e(a)})).catch((function(e){s.$log("FETCH All Destinaions FAILED:",e),a(e)})).finally((function(){t("setLoadingDestinations",!1)}))}))}function ms(e){var t=e.commit,s=e.getters,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._vm;return console.log("switching destinations",{params:a}),new Promise((function(e,i){var o=s.getDestinationBySlug(a.slug);console.log("switched destination",{destination:o}),t("setCurrentDestination",null!==o&&void 0!==o&&o),t("setLoadingDestination",!1),e(o)}))}function ps(e){var t=e.commit,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this._vm;if(!ds["_"].isNil(null===s||void 0===s?void 0:s.id))return t("setLoadingDestinationRecentTag",!0),new Promise((function(e,i){var o;t("setLoadingDestinationRecentTag",!0),a.$axios.get(`/api/stream/${null!==(o=null===s||void 0===s?void 0:s.id)&&void 0!==o?o:0}/recent-tag`,s).then((function(s){a.$log("FETCH CURRENT DESTINATION TAG OK:",s);var i=ds["_"].get(s,"data.tag",[]);t("setCurrentDestinationTag",i),e(s)})).catch((function(e){a.$log("FETCH Destination FAILED:",e),i(e)})).finally((function(){t("setLoadingDestinationRecentTag",!1)}))}))}function gs(e){var t=e.commit,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this._vm;if(!ds["_"].isNil(null===s||void 0===s?void 0:s.id))return t("setLoadingDestinationAnimalsTagged",!0),new Promise((function(e,i){var o,r;t("setLoadingDestinationAnimalsTagged",!0),a.$axios.get(`/api/stream/${null!==(o=null===s||void 0===s?void 0:s.id)&&void 0!==o?o:0}/animals-tagged`,{params:{max:null!==(r=null===s||void 0===s?void 0:s.max)&&void 0!==r?r:5}}).then((function(s){a.$log("FETCH CURRENT DESTINATION ANIMALS TAGGED OK:",s);var i=ds["_"].get(s,"data.animalsTagged",[]);t("setCurrentDestinationAnimalsTagged",i),e(s)})).catch((function(e){a.$log("FETCH Destination FAILED:",e),i(e)})).finally((function(){t("setLoadingDestinationAnimalsTagged",!1)}))}))}var vs={namespaced:!0,getters:b,mutations:w,actions:y,state:jt},fs={enableLogging:!0,debugMode:!1,fullscreen:!1};
1function bs(e){return e.fullscreen||!1}function ws(e){return(null===e||void 0===e?void 0:e.debugMode)||!1}function ys(e){return _.get(e,"enableLogging",!1)}function xs(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.fullscreen=!!t}function qs(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.debugMode=!!t}function _s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.commit("updateDebugMode",!!t)}function Ss(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.commit("updateFullscreen",!!t)}var Cs={namespaced:!0,getters:x,mutations:q,actions:S,state:fs},As=function(){return{schedule:[],showTypes:[]}};function ks(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(_.isArray(e.schedule)){var s;console.log("after show slug:",t),console.log("after schedule:",null!==(s=null===e||void 0===e?void 0:e.schedule)&&void 0!==s?s:[]);var a=e.schedule,i=ht()().subtract(33,"minute");return a=e.schedule.filter((function(e){return ht.a.unix(null===e||void 0===e?void 0:e.show_ts).isAfter(i)})),_.isNil(t)||_.isEmpty(t)||(a=e.schedule.filter((function(e){return _.isEqual(_.get(e,"show_type.type"),t)}))),console.log("After Valid Shows:",a,a.length,a[1]),_.isArray(a)&&a.length>1?a[1]:{}}return{}}}function Ts(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(_.isArray(e.schedule)){var s;console.log("slug:",t),console.log("schedule:",null!==(s=null===e||void 0===e?void 0:e.schedule)&&void 0!==s?s:[]);var a=e.schedule,i=ht()().subtract(33,"minute");return a=e.schedule.filter((function(e){return ht.a.unix(null===e||void 0===e?void 0:e.show_ts).isAfter(i)})),console.log("Valid Shows:",a),_.isNil(t)||_.isEmpty(t)||(a=e.schedule.filter((function(e){return _.isEqual(_.get(e,"show_type.type"),t)}))),_.isArray(a)?_.head(a):{}}return{}}}function Ps(e){var t;return null!==(t=e.schedule)&&void 0!==t?t:[]}function Is(e){return _.isArray(null===e||void 0===e?void 0:e.showTypes)?e.showTypes.filter((function(e){return(null===e||void 0===e?void 0:e.active)&&!(null!==e&&void 0!==e&&e.archived)})):[]}function $s(e){var t;return null!==(t=e.showTypes)&&void 0!==t?t:[]}function Es(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!_.isNil(e.showTypes)&&_.isArray(e.showTypes)&&_.isNumber(_.toNumber(t))){var s=e.showTypes.find((function(e){return _.isEqual(_.toNumber(null===e||void 0===e?void 0:e.id),_.toNumber(t))}));if(_.has(s,"id"))return s}return{}}}function Rs(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!_.isNil(e.showTypes)&&_.isArray(e.showTypes)){var s=e.showTypes.find((function(e){return _.isEqual(e.type,t)}));if(_.has(s,"id"))return s}return{}}}function Ns(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=this._vm;!_.isNil(t)&&_.isArray(t)&&(e.schedule=t,s.$log("UPDATE SHOWS:",e.schedule))}function Os(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;!_.isNil(t)&&_.isArray(t)&&(e.showTypes=t,s.$log("UPDATE SHOW TYPES:",e.showTypes),s.$q.localStorage.set("showTypes",e.showTypes))}function Ls(e){var t=e.commit,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this._vm;return a.$q.localStorage.has("showTypes")&&(t("updateShowTypes",a.$q.localStorage.getItem("showTypes")),a.$log("UPDATE SHOWTYPES FROM LS:",a.$q.localStorage.getItem("showTypes"))),new Promise((function(e,i){a.$axios.get("/api/show-types",s).then((function(s){a.$log("FETCH SHOW TYPES OK:",s);var i=_.get(s,"data.data.show_types",[]);t("updateShowTypes",i),e(s)})).catch((function(e){a.$log("FETCH SHOW TYPES FAILED:",e),i(e)}))}))}var Ds={namespaced:!0,getters:C,mutations:A,actions:k,state:As},Vs=function(){return{subscriptions:[]}};function zs(e){var t;return null!==(t=null===e||void 0===e?void 0:e.subscriptions)&&void 0!==t?t:[]}function Ms(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;!_.isNil(t)&&_.isArray(t)&&(e.subscriptions=t,s.$log("UPDATE SUBSCRIPTIONS:",e.subscriptions))}function js(e){var t=e.rootState,s=(e.state,e.commit),a=this._vm;return new Promise((function(e,i){var o,r,n;a.$axios.post("/api/user/subscriptions",{id:null!==(o=null===t||void 0===t||null===(r=t.user)||void 0===r||null===(n=r.user)||void 0===n?void 0:n.id)&&void 0!==o?o:0}).then((function(t){var a,i;console.log("SUBS!!!!!",t),_.isArray(null===t||void 0===t||null===(a=t.data)||void 0===a||null===(i=a.data)||void 0===i?void 0:i.subscriptions)&&s("updateSubscriptions",t.data.data.subscriptions),e(t)}
1)).catch((function(e){i(e)}))}))}var Qs={namespaced:!0,getters:T,mutations:P,actions:I,state:Vs},Us=function(){return{sightings:[]}};function Fs(e){return qt.a.get(e,"sightings",[])}function Bs(e){var t;return qt.a.filter(null!==(t=null===e||void 0===e?void 0:e.sightings)&&void 0!==t?t:[],(function(e){var t=ht()().subtract(5,"minute");return ht.a.unix(e.created_ts).isAfter(t)}))}function Hs(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!qt.a.isNil(e.sightings)&&qt.a.isArray(e.sightings)&&qt.a.isNumber(qt.a.toNumber(t))){var s=e.sightings.find((function(e){return qt.a.isEqual(qt.a.toNumber(null===e||void 0===e?void 0:e.id),qt.a.toNumber(t))}));if(qt.a.has(s,"id"))return s}return{}}}function Gs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;console.log("Adding to sighting"),qt.a.isNil(t)||e.sightings.unshift(t)}function Ws(e){if(!qt.a.isNil(null===e||void 0===e?void 0:e.sightings)&&!qt.a.isEmpty(null===e||void 0===e?void 0:e.sightings)){var t=ht()().subtract(10,"minute");e.sightings=qt.a.filter(e.sightings,(function(e){return ht.a.unix(e.created_ts).isAfter(t)})),e.notifications=qt.a.take(e.notifications,3)}}function Ys(e,t){console.log("Removing Sighting"),qt.a.isNil(null===e||void 0===e?void 0:e.sightings)||qt.a.isEmpty(null===e||void 0===e?void 0:e.sightings)||(e.sightings=qt.a.filter(e.sightings,(function(e){var s;return null!==(s=e.id!==(null===t||void 0===t?void 0:t.id))&&void 0!==s?s:0})))}function Ks(e){var t=e.commit,s=this._vm;s.$firebaseDB.collection("sightings").orderBy("created_at","desc").onSnapshot((function(e){e.docChanges().forEac
1h((function(e){if(s.$log("DEBUGGING SIGHTINGS"),s.$log({change:e}),"added"===e.type){var a=e.doc.data();console.log("Sighting object",a),t("addToSightings",a)}if("removed"===e.type){var i=e.doc.data();t("removeSighting",i),console.log("Sighting Document Removed")}}))})),s.$log("WATCHING SIGHTINGS")}var Zs={namespaced:!0,getters:$,mutations:E,actions:R,state:Us},Js=function(){return{fetchingVideos:!1,videoTypes:["episode","highlight","insight","pick","rare"]}};function Xs(e){var t;return!(null===(t=null===e||void 0===e?void 0:e.fetchingVideos)||void 0===t||!t)}function ea(e){var t;return null!==(t=null===e||void 0===e?void 0:e.videoTypes)&&void 0!==t?t:[]}function ta(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;!_.isNil(t)&&_.isBoolean(t)&&(e.fetchingVideos=t,s.$log("SET FETCHING VIDEOS STATUS:",e.fetchingVideos))}function sa(e){var t=e.commit,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this._vm,i=null===s||void 0===s?void 0:s.videoTypes,o=null===s||void 0===s?void 0:s.showTypeId,r=null===s||void 0===s?void 0:s.youtube;if(_.isNil(i)||_.isArray(i)){var n={};return _.isNil(i)||(n["type"]=i),_.isNil(r)||(n["youtube"]=r),_.isNil(o)||(n["show_type_id"]=o),t("setFetchingVideos",!0),new Promise((function(e,i){a.$axios.post("/api/videos",{filters:n,paginate:_.get(s,"paginate",0),page:_.get(s,"page",1),per_page:_.get(s,"per_page",10)}).then((function(t){e(t)})).catch((function(e){i(e)})).finally((function(){t("setFetchingVideos",!1)}))}))}}var aa={namespaced:!0,getters:N,mutations:O,actions:L,state:Js},ia=function(){return{apiToken:null,fbaseToken:null,intendedPath:null,loggingIn:!1,requestingCode:!1,subscriptionRequested:!1,user:{},validatingCode:!1}};s("caad"),s("2532");function oa(e){return _.get(e,"apiToken",null)}function ra(e){var t=_.get(e,"apiToken",null),s=_.get(e,"fbaseToken",null);_.get(e,"user",null);return!_.isNil(t)&&!_.isEqual(t,"null")&&_.size(t)>20&&!_.isNil(s)&&!_.isEqual(s,"null")&&_.size(s)>20}function na(e){var t,s;return null!==(t=null===e||void 0===e||null===(s=e.user)||void 0===s?void 0:s.id)&&void 0!==t?t:-1}function la(e){return e.intendedPath}function ca(e){return!(!ra(e)||!da(e)||ma(e))}function da(e){var t,s;return null!==(t=!(null===e||void 0===e||null===(s=e.user)||void 0===s||!s.has_subscription))&&void 0!==t&&t}function ua(){var e,t,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null!==(e=null===s||void 0===s||null===(t=s.user)||void 0===t?void 0:t.jr)&&void 0!==e&&e}function ha(){var e,t,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _.includes(null!==(e=null===s||void 0===s||null===(t=s.user)||void 0===t?void 0:t.roles)&&void 0!==e?e:[],"admin")}function ma(){var e,t,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null!==(e=!(null===s||void 0===s||null===(t=s.user)||void 0===t||!t.is_subscribed))&&void 0!==e&&e}function pa(){var e,t,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _.includes(null!==(e=null===s||void 0===s||null===(t=s.user)||void 0===t?void 0:t.roles)&&void 0!==e?e:[],"zoomie")}function ga(){var e,t,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _.includes(null!==(e=null===s||void 0===s||null===(t=s.user)||void 0===t?void 0:t.roles)&&void 0!==e?e:[],"super_zoomie")}function va(e){return ra(e)&&!ma(e)}function fa(e){return _.get(e,"loggingIn",!1)}function ba(e){return _.get(e,"requestingCode",!1)}function wa(e){return e}function ya(e){return e.subscriptionRequested||!1}function xa(e){var t,s,a="not active";switch(null!==(t=null===e||void 0===e||null===(s=e.user)||void 0===s?void 0:s.subscription_status)&&void 0!==t?t:"-"){case"active":case"past_due":case"trialing":a="active";break;case"cancelled":case"deleted":a="cancelled";break;case"non_renewing":a="active, but will be cancel at the end of your current subscription period";break;case"paused":a="paused";break}return a}function qa(e){var t;return null!==(t=null===e||void 0===e?void 0:e.user)&&void 0!==t?t:{}}function _a(e){return!1}function Sa(e){var t,s;return null!==(t=null===e||void 0===e||null===(s=e.user)||void 0===s?void 0:s.id)&&void 0!==t?t:0}
1function Ca(e){return ra(e)?va(e)?"registered":ma(e)?"subscriber":"unknown":"guest"}function Aa(e){return _.get(e,"validatingCode",!1)}function ka(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e.fbaseToken=t,_.isNil(t)?(this._vm.$q.localStorage.remove("fbase-token"),this._vm.$log("MUTATION: CLEARED FBASE TOKEN FROM LS")):this._vm.$q.localStorage.set("fbase-token",e.fbaseToken),this._vm.$log("MUTATION: SET FIREBASE TOKEN:",e.fbaseToken)}function Ta(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e.apiToken=t,_.isNil(t)?(this._vm.$q.localStorage.remove("api-token"),this._vm.$log("MUTATION: CLEARED API TOKEN FROM LS")):this._vm.$q.localStorage.set("api-token",e.apiToken),this._vm.$log("MUTATION: SET API TOKEN:",e.apiToken)}function Pa(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.loggingIn=!!t}function Ia(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.user=t,_.isEmpty(t)?(this._vm.$q.localStorage.remove("ac-user"),this._vm.$log("MUTATION: CLEARED CURRENT USER FROM LS")):this._vm.$q.localStorage.set("ac-user",e.user),this._vm.$log("MUTATION: SET CURRENT USER:",e.user)}function $a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.user=t,_.isEmpty(t)||(e.user.is_subscribed=!0,e.user.has_subscription=!0,e.user.roles.push("subscriber"),this._vm.$q.localStorage.set("ac-user",e.user))}function Ea(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;e.intendedPath=t,s.$log("MUTATE USERS INTENDED PATH:",e.intendedPath)}function Ra(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.requestingCode=!!t}function Na(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this._vm;e.subscriptionRequested=t,e.subscriptionRequested?s.$q.localStorage.set("subscription-requested",e.subscriptionRequested):s.$q.localStorage.has("subscription-requested")&&s.$q.localStorage.remove("subscription-requested"),s.$log("MUTATION: SET SUBSCRIPTION REQUESTED:",e.subscriptionRequested)}function Oa(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.validatingCode=!!t}function La(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.user=t,_.isEmpty(t)||(e.user.is_subscribed=!1,e.user.has_subscription=!1,this._vm.$q.localStorage.set("ac-user",e.user))}function Da(e){var t=e.commit,s=e.dispatch,a=e.state,i=e.getters,o=this._vm;console.log("ok, starting the user ACTION funtion");var r=_.get(a,"apiToken","");if(!_.isEmpty(r)&&!a.loggingIn)return console.log("ok, now starting the fetching user section"),appLogger("FETCHING USER ..."),new Promise((function(e,a){o.$axios.get("/api/auth/user").then((function(s){if(appLogger("FETCH USER THEN:",s),t("setCurrentUser",_.get(s,"data.data.user",{})),e(s),_.isObject(i.getIntendedPath)){var a,o,r=i.getIntendedPath;le["a"].$emit("routeTo",{path:null!==(a=r.path)&&void 0!==a?a:"/",query:null!==(o=r.query)&&void 0!==o?o:null}),t("setIntendedPath",null)}})).catch((function(e){appLogger("FETCH USER FAILED:",e),a(e)})).finally((function(){s("hideLoader")}))}));appLogger("CANNOT FETCH USER, NO API TOKEN OR STILL SIGNING IN.")}function Va(){this._vm;document.getElementById("page-loader")&&(appLogger("CLEARING LOADER"),document.getElementById("page-loader").classList.add("fade-loader"),setTimeout((function(){appLogger("HIDE LOADER"),_.isNil(document.getElementById("page-loader"))||(document.getElementById("page-loader").outerHTML="")}),1500))}function za(e){var t=e.commit,s=(e.dispatch,this._vm);s.$axios.get("/api/auth/clear-token").then((function(e){appLogger("API LOGOUT OK:",e),t("setAPIToken",null)})).catch((function(e){appLogger("API LOGOUT FAILED:",e)})).finally((function(){t("setAPIToken",null),s.$nextTick((function(){le["a"].$emit("routeTo",{name:"land"})}))})),_.isObject(s.$firebase)&&(appLogger("LOGOUT FIREBASE"),s.$firebase.auth().signOut().then((function(){appLogger("FIREBASE LOGOUT OK"),t("setFirebaseToken",null)})).catch((function(e){appLogger("FIREBASE LOGOUT FAILED:",e)})),s.$q.localStorage.has("subscription-requested")&&s.$q.localStorage.remove("subscription-requested")),appLogger("CLEAR CURRENT USER"),t("setCurrentUser",{})}function Ma(e){var t=e.commit,s=e.dispatch,a=(e.state,this._vm);appLogger("CHECKING FOR SUBSCRIPTION REQUEST"),a.$q.localStorage.has("subscription-requested")&&(appLogger("SUBSCRIPTION REQUEST FOUND"),t("setSubscriptionRequested",a.$q.localStorage.getItem("subscription-requested")),appLogger("RESTORED SUBSCRIPTION REQUEST")),a.$q.localStorage.has("api-token")&&!_.isEmpty(a.$q.localStorage.getItem("api-token"))&&(t("setAPIToken",a.$q.localStorage.getItem("api-token")),appLogger("RESTORED API TOKEN")),!a.$q.localStorage.has("fbase-token")||_.isNil(a.$q.localStorage.has("fbase-token"))||_.isEmpty(a.$q.localStorage.getItem("fbase-token"))?(t("setFirebaseToken",null),appLogger("ENSURE FIREBASE TOKEN CLEARED")):(t("setFirebaseToken",a.$q.localStorage.getItem("fbase-token")),appLogger("RESTORED FIREBASE TOKEN")),a.$q.localStorage.has("ac-user")&&!_.isEmpty(a.$q.localStorage.getItem("ac-user"))&&(t("setCurrentUser",a.$q.localStorage.getItem("ac-user")),s("fetchUser"),appLogger("RESTORED SESSION")),s("hideLoader")}function ja(e){return Qa.apply(this,arguments)}function Qa(){return Qa=F()(regeneratorRuntime.mark((function e(t){var s,a,i,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=t.commit,t.dispatch,t.rootGetters,a=t.state,i=this._vm,o=_.get(a,"fbaseToken",""),_.isEmpty(o)&&le["a"].$emit("routeTo",{name:"sign-in"}),!a.loggingIn){e.next=6;break}return e.abrupt("return");case 6:return e.abrupt("return",new Promise((function(e,t){s("setLoggingInStatus",!0),i.$axios.post("/api/auth/validate-user",{firebase_token:_.get(a,"fbaseToken","")}).then((function(t){appLogger("SERVER LOGIN THEN API RESPONSE",t);var a=_.get(t,"data.data.access_token",null);_.isNil(a)||(s("setAPIToken",a),i.$nextTick((function(){s("setLoggingInStatus",!1)})),e(t))})).catch((function(e){appLogger("SERVER LOGIN API LOGIN FAILED",e),s("setAPIToken",null),t(e)})).finally((function(){s("setLoggingInStatus",!1)}))})));case 7:case"end":return e.stop()}}),e,this)}))),Qa.apply(this,arguments)}function Ua(e){var t,s=e.commit,a=e.state;
1s("forceUserSubscribed",null!==(t=null===a||void 0===a?void 0:a.user)&&void 0!==t?t:{})}function Fa(e){var t,s=e.state,a=e.commit;a("setUserUnSubscribed",null!==(t=null===s||void 0===s?void 0:s.user)&&void 0!==t?t:{})}function Ba(e){var t=e.commit,s=e.dispatch,a=e.rootGetters,i=this._vm;a["user/getAuthenticated"]?s("hideLoader"):_.isObject(i.$firebase)?(appLogger("WATCHING FIREBASE AUTH"),i.$firebase.auth().onAuthStateChanged((function(e){appLogger("FIREBASE ONAUTHSTATECHANGED"),e?(appLogger("FIREBASE USER",e),e.getIdToken().then((function(e){t("setFirebaseToken",e),_.isEmpty(a["user/getAPIToken"])?i.$nextTick((function(){s("serverLogin",e)})):i.$nextTick((function(){s("fetchUser",e)}))}))):(appLogger("SETTING TOKENS TO NULL"),t("setAPIToken",null),t("setFirebaseToken",null),appLogger("FIREBASE USER MISSING"),s("hideLoader"))}))):(t("setAPIToken",null),t("setFirebaseToken",null),appLogger("FIREBASE MISSING!"),s("hideLoader"))}var Ha={namespaced:!0,getters:D,mutations:V,actions:z,state:ia},Ga=function(){return{animalsLoaded:!1,loadingAnimals:!1,animals:[],birdsLoaded:!1,loadingBirds:!1,birds:[]}};function Wa(e){return _.get(e,"animals",[])}function Ya(e){return _.get(e,"birds",[])}function Ka(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return _.isArray(null===e||void 0===e?void 0:e.animals)?e.animals.filter((function(e){return e.id===t})):{}}}function Za(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this._vm;e.loadingAnimals=t,s.$log("MUTATED ANIMALS LOADING:",e.loadingAnimals)}function Ja(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;!_.isNil(t)&&_.isArray(t)&&(e.animals=t,e.animalsLoaded=!0,s.$log("MUTATED ANIMALS:",e.animals),s.$q.localStorage.set("animals",e.animals))}function Xa(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this._vm;e.loadingBirds=t,s.$log("MUTATED BIRDS LOADING:",e.loadingBirds)}function ei(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this._vm;!_.isNil(t)&&_.isArray(t)&&(e.birds=t,e.birdsLoaded=!0,s.$log("MUTATED BIRDS:",e.birds),s.$q.localStorage.set("birds",e.birds))}function ti(e){var t=e.commit,s=this._vm;return s.$q.localStorage.has("animals")&&(t("setAnimals",s.$q.localStorage.getItem("animals")),s.$log("UPDATE ANIMALS FROM LS:",s.$q.localStorage.getItem("animals"))),new Promise((function(e,a){t("setLoadingAnimals",!0),s.$axios.get("api/animals").then((function(a){s.$log("FETCH ANIMALS FROM STORE NOW OK:",a);var i=_.get(a,"data.data",[]);t("setAnimals",i),e(a)})).catch((function(e){s.$log("ERROR FETCHING ANIMALS",e)})).finally((function(){s.fetchingAnimalOptions=!1,console.log("finished")}))}))}function si(e){var t=e.commit,s=this._vm;return s.$q.localStorage.has("birds")&&(t("setBirds",s.$q.localStorage.getItem("birds")),s.$log("UPDATE BIRDS FROM LS:",s.$q.localStorage.getItem("birds"))),new Promise((function(e,a){t("setLoadingBirds",!0),s.$axios.get("api/birds").then((function(a){s.$log("FETCH BIRDS FROM STORE NOW OK:",a);var i=_.get(a,"data.data",[]);t("setBirds",i),e(a)})).catch((function(e){s.$log("ERROR FETCHING ANIMALS",e)})).finally((function(){s.fetchingBirdsptions=!1,console.log("finished")}))}))}var ai={namespaced:!0,getters:M,mutations:j,actions:Q,state:Ga};B["a"].use(ce["b"]);var ii=function(){var e=new ce["b"].Store({modules:{chat:tt,content:lt,course:vt,destination:vs,animals:ai,notifications:Rt,photos:Mt,settings:Cs,shows:Ds,subscriptions:Qs,videos:aa,user:Ha,sightings:Zs},strict:!1});return e},oi=s("8c4f"),ri=s("448a"),ni=s.n(ri),li=(s("99af"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{class:e.$q.screen.width<750?"text-center q-pt-md":"text-right q-pt-md"},[s("q-btn",{staticClass:"text-black link-underline check",class:e.isLandingPage?"text-bold":"",attrs:{flat:"",label:"About"},on:{click:e.launchLandingPage}}),s("q-btn",{staticClass:"text-black link-underline",class:e.isLodgePartnerships?"text-bold":"",attrs:{flat:"",label:"Lodge Partnerships"},on:{click:e.launchLodgePartnerships}}),s("q-btn",{staticClass:"text-black link-underline",class:e.isConservationCampaigns?"text-bold":"",attrs:{flat:"",label:"Conservation Campaigns"},on:{click:e.launchConservationCampaigns}}),s("q-btn",{staticClass:"text-black link-underline",class:e.isOurCommunity?"text-bold":"",attrs:{flat:"",label:"Our Community"},on:{click:e.launchOurCommunity}}
1)],1),s("div",{class:e.$q.screen.width<1e3?"":"q-pr-xl q-pl-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"":"q-pr-xl q-pl-xl"},[e.isOurCommunity?s("div",[s("div",{staticClass:"row q-pt-lg"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Join Africam's community.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md q-pb-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   For a small monthly fee, you can access all of Africam’s services & content and help us protect Africa’s wild spaces and animals.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{attrs:{src:"/images/about-us-watch.jpg"}}),s("div",{class:(e.$q.screen.width,"col
1-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        WATCH\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                      We offer 16 unique live streams from throughout Southern Africa - with more incredible locations added each year. Our resident rangers host weekly live shows from sightings captured on our cameras. Ask our rangers any questions you have about the spectacular wildlife. \n                    ")])])],1),s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{attrs:{src:"/images/about-us-learn.jpg"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        LEARN\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Our learn section offers interactive online learning for Junior Rangers and adults looking to grow their wildlife knowledge and find out more about the animals on the cameras. Learn the A-Z of animals, gain unique ranger insights and test your knowledge with our educational courses. \n                    ")])])],1),s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{attrs:{src:"/images/about-us-play.jpg"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        PLAY\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        SafariSnaps is our new sighting and scoring game – watch the live cams, capture an incredible sighting, tag an animal and climb your way to the top of the leaderboard. Every tag our community captures allows us to collect data on animals at each location for anti-poaching efforts.\n                    ")])])],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/africam-premium-video.jpg",ratio:16/9},on:{click:e.launchPremiumVideo}})],1)]),s("div",{staticClass:"row q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center q-pt-xl q-pb-xl"},[e._v("\n                   Connect and learn with our panel of expert rangers.\n               ")])])]),s("div",{staticClass:"row q-pt-xl q-pb-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{attrs:{src:"/images/ranger-image-africam.jpg"}})],1)]),s("div",{staticClass:"row q-pt-"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center q-pt-xl"},[e._v("\n                   Share your love of wildlife.\n               ")])])]),s("div",{staticClass:"row q-pb-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[s("q-btn",{attrs:{to:{name:"premium"},size:"lg",color:"brand-orange"}},[e._v("JOIN OUR COMMUNITY")])],1)])])]):e._e(),e.isLodgePartnerships?s("div",{staticClass:"q-pt-lg"},[s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Amplify your brand with high-quality online video utilising Africam’s live streaming and content marketing.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   All in one full service which includes installation, 24/7 camera management, video production and content marketing all housed within our best in class tech stack.\n               ")])])]),s("div",{staticClass:"row q-pt-xl"},[s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{attrs:{src:"/images/live-streaming.jpg"}}
1),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        LIVE STREAMING\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Our technical team manages a complex live stream infrastructure, streaming incredible live wildlife sightings from the bush to a global audience.  Our international team of camera operators capture sightings 24/7, for content development and social marketing. \n                    ")])])],1),s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{attrs:{src:"/images/content-creation.jpg"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        CONTENT CREATION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Key sightings are recorded, edited and branded daily. The key objective is to create a constant flow of high quality short form videos to compliment your brand marketing. Africam host Ranger shows & education courses promoting your lodge within our media network and partners.\n                    ")])])],1),s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{attrs:{src:"/images/social-marketing.jpg"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        SOCIAL MARKETING\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        All sighting highlights will be provided to your marketing team & updated within a media gallery on your website. Our data driven approach with rigorous testing ensures that we create high-performance videos tailored to each social channel driving engagement and viewership.\n                    ")])])],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/lodge-montage.jpg",ratio:16/9}})],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-xl":"col-12 q-pr-xl q-pl-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center q-pt-xl"},[e._v("\n                   Does your lodge qualify for an Africam partnership?\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   Each location is different. For a successful long term partnership, key considerations include lodge or waterhole layout, wildlife frequency, wildlife variety and your specific objectives. Our ambition is to become your most powerful online marketing partner. It all starts with our initial assessment to determine the viability. \n               ")])])]),s("div",{staticClass:"row q-pb-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[s("q-btn",{attrs:{to:{name:"contact-lodge"},size:"lg",color:"brand-orange"}},[e._v("LET'S START THE CONVERSATION")])],1)])])]):e._e(),e.isConservationCampaigns?s("div",[s("div",{staticClass:"row q-pt-lg"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Putting the spotlight on African wildlife with our conservation partners.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   Africam is proud to partner with global companies and NGO’s on campaigns and projects where we use technology to showcase wildlife and conservation initiatives to the world.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/explore-video-launch.jpg",ratio:16/9},on:{click:e.launchExploreVideo}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /CONTEXT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col
1-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Explore.org is the world's leading philanthropic live nature cam network and documentary film channel. explore.org, the online portal for explore, is a community destination where people share thoughts, engage in dialogue, view and email films and photographs, and embed their favorites on blogs and social networking sites. Africam is Explore.Org’s African partner. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /EXECUTION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Africam have developed the infrastructure and network to stream live from Southern Africa to millions of viewers around the world through Explore.org. Installations include BirdLife's flamingos at Kamfers dam, the African penguins in Bettys Bay, Lisbon Falls, and Care for Wild Rhino Sanctuary. In addition, Africam produces weekly live shows hosted by expert rangers.\n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /RESULT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-caption")},[e._v("\n                            • 16 live streams from around Southern Africa"),s("br"),e._v("\n                            • 9,760,574 Facebook followers"),s("br"),e._v("\n                            • Over 100 shows produced annually"),s("br"),e._v("\n                            • Over 1 million live show views annually"),s("br"),e._v("\n                            • Over 500 ranger insights produced"),s("br")])])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/samsung-video-launch.jpg",ratio:16/9},on:{click:e.launchSamsungVideo}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /CONTEXT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Samsung Europe teamed up with local technology firm, Africam and the all-female Black Mamba Anti-Poaching Unit to create Samsung ‘Wildlife Watch’: The campaign enabled anybody, anywhere in the world to act as a virtual ranger and watch over wildlife, leveraging Samsung’s latest phone technologies. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /EXECUTION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Africam installed networks and placed Samsung Galaxy S20 FE handsets across the Balule Nature Reserve to monitor the wildlife. People from around the world tuned in to the live stream via the Wildlife Watch website & participated in a highly successful global campaign.\n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /RESULT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-caption")},[e._v("\n                           • Finalist in Cannes Media Lions and Clio’s "),s("br"),e._v("\n                           • Gold in the Cresta & Luum Awards "),s("br"),e._v("\n                           • 1.9 Billion Impressions "),s("br"),e._v("\n                           • Participation in 190 countries "),s("br"),e._v("\n                           • 197,000 virtual rangers "),s("br"),e._v("\n                           • 3740% increase in Google searches "),s("br"),e._v("\n                           • 800+ campaign coverage pieces "),s("br")])])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/care-video-launch.jpg",ratio:16/9},on:{click:e.launchCareVideo}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /CONTEXT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col
1-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        We partnered with the largest orphan rhino sanctuary in the world. South Africa was fast becoming the centre of the rhino poaching crisis. Many of these devastating poaching incidents left behind young, defenceless, orphaned calves. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /EXECUTION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Africam joined forces with Care for Wild to shine a light on rhino poaching in South Africa. We installed a network of high definition cameras and security system that allows Care for Wild to track their rhinos, and shares the progress of each rhino with the world. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /RESULT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-caption")},[e._v("  \n                        • 8 high definition cameras installed"),s("br"),e._v(" \n                        • Security network and infrastructure "),s("br"),e._v(" \n                        • Global audience of virtual guardians"),s("br"),e._v(" \n                        • $70 000 raised to date"),s("br")])])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/mambas-video-launch.jpg",ratio:16/9},on:{click:e.launchMambasVideo}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /CONTEXT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        The Black Mambas are the world's first all-female anti-poaching unit. They are 36 young African women who patrol 20,000 hectares of the Balule Nature Reserve, part of the Greater Kruger National Park, South Africa. Kruger is home to the largest population of rhino in the world and also is victim to more poaching attacks than any other area. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /EXECUTION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Africam have worked closely with the Black Mambas to help create awareness around the need to protect areas of the Greater Kruger area. Africam creates video content and shares their story with a global audience. We are also working with a branch of the Black Mambas – The Bush Babies, to create wildlife education on conservation for children globally. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pt-md q-pb-md"},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /RESULT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-caption")},[e._v("  \n                            • £11K+ raised to date in donations"),s("br"),e._v("\n                            • 30 phones donated to Black Mamba rangers "),s("br"),e._v("\n                            • Beneficiary in Wildlife Watch global campaign"),s("br"),e._v(" \n                            • Elevated as role models within their community "),s("br")])])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Looking to make a difference? Get in contact.\n               ")])])]),s("div",{staticClass:"row q-pb-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[s("q-btn",{attrs:{to:{name:"contact-campaign"},size:"lg",color:"brand-orange"}}
1,[e._v("LET'S START THE CONVERSATION")])],1)])])]):e._e(),e.isLandingPage?s("div",[s("div",{staticClass:"col-12 q-pt-lg q-pb-sm"},[s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-weight-large text-center":"text-h3 text-bold text-center"},[e._v("\n                   Promoting ecotourism brands and conservation with incredible, unscripted wildlife.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   In collaboration with our Lodge and NGO partners, Africam broadcasts live HD streams, ranger shows and education courses to a global audience from Africa’s most remote locations.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{attrs:{src:"/images/about-us-timeline.jpg",ratio:16/9}})],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Our 3 Focus Areas\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   Supporting the ecosystem with responsible tourism, supporting the wildlife with conservation partnerships & driving awareness utilising our Africam Community.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/leopard-about-us.jpg"},on:{click:e.launchLodgePartnerships}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h6 text-bold text-center"},[e._v("\n                        LODGE PARTNERSHIPS\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        A full-service content marketing offering that includes camera installation,  live broadcasting & video production utilizing your biggest assets – The lodge wildlife and wilderness!\n                    ")])]),s("div",{staticClass:"text-left text-body2 text-underline cursor-pointer q-pt-md underline-links"},[s("div",{on:{click:e.launchLodgePartnerships}},[e._v("Read more")])])],1),s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/about-us-campaign.jpg"},on:{click:e.launchConservationCampaigns}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h6 text-bold text-center"},[e._v("\n                        CONSERVATION CAMPAIGNS\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        We design and develop Tech for Good campaigns with some of the world's biggest brands, broadcasters & Agencies to promote conservation awareness and funding for our conservation partners.\n                    ")])]),s("div",{staticClass:"text-left text-body2 text-underline cursor-pointer q-pt-md underline-links"},[s("div",{on:{click:e.launchConservationCampaigns}},[e._v("Read more")])])],1),s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/about-us-phone.jpg"},on:{click:e.launchOurCommunity}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h6 text-bold text-center"}
1,[e._v("\n                        AFRICAM COMMUNITY\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Our live streams, ranger shows, sighting highlights & education courses reach a global audience in over 190 countries. Our subscribers are wildlife enthusiasts who engage and share our wildlife content.\n                    ")])]),s("div",{staticClass:"text-left text-body2 text-underline cursor-pointer q-pt-md underline-links"},[s("div",{on:{click:e.launchOurCommunity}},[e._v("Read more")])])],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Our Partners\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/partners-desktop.jpg",ratio:16/9}})],1)])])]):e._e()])])]),s("site-footer"),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showVideoPopup=!1}},model:{value:e.showVideoPopup,callback:function(t){e.showVideoPopup=t},expression:"showVideoPopup"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:e.autoplay,previewImageSize:"maxresdefault",src:e.videoSrc}})],1)],1)],1)],1)}),ci=[],di=(s("fb6a"),s("5cc6"),s("9a8c"),s("a975"),s("735e"),s("c1ac"),s("d139"),s("3a7b"),s("d5d6"),s("82f8"),s("e91f"),s("60bd"),s("5f96"),s("3280"),s("3fcc"),s("ca91"),s("25a1"),s("cd26"),s("2954"),s("649e"),s("219c"),s("b39a"),s("72f7"),s("e260"),s("ace4"),s("466d"),s("4d63"),s("25f0"),s("841c"),Object(ce["a"])("settings")),ui=di.mapGetters,hi={computed:ne()(ne()({},ui(["getIsInDebugMode"])),{},{isDebugging(){var e;return null!==(e=null===this||void 0===this?void 0:this.getIsInDebugMode)&&void 0!==e&&e},perRowOptions(){var e=[{label:"1",value:1}];return this.$q.screen.width>=550&&e.push({label:"2",value:2}),this.$q.screen.width>=800&&(e.push({label:"3",value:3}),e.push({label:"4",value:4})),e}}),methods:{adBreak(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this;return!ds["_"].isNil(e)&&ds["_"].isNumber(ds["_"].toNumber(e))&&e>1&&e%t.dbPageSize()===0},animalAvatarPath(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=["aardvark","aardwolf","african-clawless-otter","african-wildcat","baboon","banded-mongoose","bat-eared-fox","birds","black-backed-jackal","black-mamba","blue-wildebeest","brown-hyena","buffalo","bushbuck","bushpig","cape-porcupine","caracal","chacma-baboon","cheetah","civet","common-duiker","crocodile","dwarf-mongoose","eland","elephant","gemsbok","giraffe","greater-kudu","hippo","hippopotamus","honey-badger","hyena","impala","jackal","klipspringer","large-spotted-genet","leopard-tortoise","leopard","lesser-bushbaby","lion","mountain-reedbuck","nile-monitor","nyala","puff-adder","rare","red-duiker","reptiles","roan-antelope","rock-monitor","sable","scrub-hare","serrated-hinged-terrapin","serval","sharpes-grysbok","side-striped-jackal","slender-mongoose","small-spotted-genet","south-african-ground-squirrel","southern-african-python","spekes-hinge-back-tortoise","spotted-hyena","springbok","springhare","steenbok","striped-polecat","suni","temmincks-pangolin","thick-tailed-bushbaby","tree-squirrel","tsessebe","vervet-monkey","vervet","warthog","waterbuck","white-tailed-mongoose","wild-dog","wildebeest","woodland-dormouse","yellow-mongoose","zebra"],s=["aardvark-track","aardwolf-track","african-clawless-otter-track","african-wildcat-track","baboon-track","banded-mongoose-track","bat-eared-fox-track","birds-track","black-backed-jackal-track","black-mamba-track","blue-wildebeest-track","brown-hyena-track","buffalo-track","bushbuck-track","bushpig-track","cape-porcupine-track","caracal-track","chacma-baboon-track","cheetah-track","civet-track","common-duiker-track","crocodile-track","dwarf-mongoose-track","eland-track","elephant-track","gemsbok-track","giraffe-track","greater-kudu-track","hippo-track","hippopotamus-track","honey-badger-track","hyena-track","impala-track","jackal-track","klipspringer-track","large-sp
1otted-genet-track","leopard-tortoise-track","leopard-track","lesser-bushbaby-track","lion-track","mountain-reedbuck-track","nile-monitor-track","nyala-track","puff-adder-track","rare-track","red-duiker-track","reptiles-track","roan-antelope-track","rock-monitor-track","sable-track","scrub-hare-track","serrated-hinged-terrapin-track","serval-track","sharpes-grysbok-track","side-striped-jackal-track","slender-mongoose-track","small-spotted-genet-track","south-african-ground-squirrel-track","southern-african-python-track","spekes-hinge-back-tortoise-track","spotted-hyena-track","springbok-track","springhare-track","steenbok-track","striped-polecat-track","suni-track","temmincks-pangolin-track","thick-tailed-bushbaby-track","tree-squirrel-track","tsessebe-track","vervet-monkey-track","vervet-track","warthog-track","waterbuck-track","white-tailed-mongoose-track","wild-dog-track","wildebeest-track","woodland-dormouse-track","yellow-mongoose-track","zebra-track","african-bullfrog-track","african-giant-land-snail-track","african-honey-bee-track","african-palm-civet-track","african-striped-skink-track","african-wolf-track","agama-track","ant-lion-track","ant-track","antelope-track","banded-mongoose-track","bat-track","bees-wasps-track","bird-of-prey-track","black-faced-impala-track","blesbok-track","boomslang-track","bushbabies-track","bushveld-rain-frog-track","butterfly-track","cape-fur-seal-track","cape-hare-track","caterpillar-track","centipede-track","cockroach-track","cokes-hartebeest-track","common-platanna-track","community-nest-spider-track","cricket-track","dik-dik-track","dragonfly-track","dung-beetle-track","east-african-oryx-track","flap-necked-chameleon-track","frog-track","gecko-track","generic-bird-print-small-track","giant-plated-lizard-track","girdled-lizard-track","golden-orb-web-spider-track","grants-gazelle-track","grasshopper-track","grey-foam-nest-frog-track","insect-track","katydid-track","lesser-kudu-track","locust-track","millipede-track","mongooses-track","moth-track","ochre-bush-squirrel-track","olive-baboon-track","oribi-track","ornate-frog-track","ostrich-track","owl-track","painted-reed-frog-track","penguin-track","porcupine-crested-track","praying-mantis-track","puff-adder-track","rainbow-shield-bug-track","rainbow-skink-track","red-rock-rabbit-track","rhino-beetle-track","rock-agama-track","rock-hyrax-track","rodent-track","rodents-rat-mouse-hyrax-track","samango-monkey-track","savannah-hare-track","scorpion-track","scorpions-whipscorpion-track","skink-track","snake-track","solifugid-track","southern-tree-agama-track","southern-tree-hyrax-track","spider-track","spotted-bush-snake-track","spotted-thick-toed-gecko-track","stick-insect-track","striped-ground-squirrel-track","striped-hyena-track","termite-track","terrapin-marsh-track","terrapin-species-track","thomsons-gazelle-track","unstriped-ground-squirrel-track","water-mongoose-track","waterbird-track","waterbuck-defassa-track","whip-scorpion-track","yellow-baboon-track","zebra-mountain-track"];return s.indexOf(e)>=0?`img:icons/animals/${e}.svg`:t.indexOf(e)>=0?`img:icons/animals/${e}-track.svg`:"fa fa-paw"},arrayContains(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return!(!ds["_"].isArray(e)||!ds["_"].isArray(t))&&!!t.every((function(t){return e.indexOf(t)>=0})).length},b64toBlob(e,t,s){t=t||"",s=s||512;for(var a=atob(e),i=[],o=0;o<a.length;o+=s){for(var r=a.slice(o,o+s),n=new Array(r.length),l=0;l<r.length;l++)n[l]=r.charCodeAt(l);var c=new Uint8Array(n);i.push(c)}return new Blob(i,{type:t})},dbPageSize(){return this.$q.screen.width>1023?12:this.$q.screen.width>600?6:4},formatDate(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.$dayjs(e).format("MMM D, YYYY")},get(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;return ds["_"].get(s,e,t)},getBlobFromImage(e){return F()(regeneratorRuntime.mark((function t(){var s,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:s=document.createElement("canvas"),s.width=e.width,s.height=e.height,a=s.getContext("2d"),a.drawImage(e,0,0),console.log("CV",s),s.toBlob((function(e){console.log(e),resolve(e)}),"image/jpg",.7);case 7:case"end":return t.stop()}}),t)})))()},getBase64Image(e){var t=document.createElement("canvas");t.width=e.width,t.height=e.height;var s=t.getContext("2d");s.drawImage(e,0,0);var a=t.toDataURL("image/png");return t=null,a.replace(/^data:image\/(png|jpg);base64,/,"")},getTimeZone(){var e=new Date,t=e+"",s=t.match(/\(([^\)]+)\)$/)||t.match(/([A-Z]+) [\d]{4}$/);return s&&(s=s[1].match(/[A-Z]/g).join("")),!s&&/(GMT\W*\d{4})/.test(t)?RegExp.$1:s},getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)"),s=t.exec(location.search);return null===s?"":decodeURIComponent(s[1].replace(/\+/g," "))},kFormatter(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!ds["_"].isNil(e)&&ds["_"].isNumber(ds["_"].toNumber(e))?(e=100*Math.ceil(e/100),Math.abs(e)>999?Math.sign(e)*(Math.abs(e)/1e3).toFixed(1)+"k":Math.sign(e)*Math.abs(e)):""},noCache(){return(new Date).getTime()},playerUrl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=ds["_"].isNil(t)?1:t;
1return ds["_"].isNil(e)?"":e.length>12?(this.$log("Playing Channel:",e,s),`https://www.youtube.com/embed/live_stream?channel=${e}&rel=0&autoplay=${s}&enablejsapi=1&modestbranding=1&playsinline=1&origin=https%3A%2F%2Fwww.africam.com`):(this.$log("Playing Video:",e),`https://www.youtube.com/embed/${e}?rel=0&autoplay=${s}&enablejsapi=1&modestbranding=1&playsinline=1&origin=https%3A%2F%2Fwww.africam.com`)},randomIntFromInterval(e,t){return Math.floor(Math.random()*(t-e+1)+e)},relativeDateTime(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!ds["_"].isNil(e)&&ds["_"].isFinite(e)&&(e=this.$dayjs.unix(e).toLocaleString(),!ds["_"].isEmpty(e)&&this.$dayjs(e).isValid())?(e=this.$dayjs(e),this.$dayjs().isSame(e,"day")?"Today "+(t?"":e.format("HH:mm")):e.format("ddd Do, MMM")+(t?"":e.format(" @ HH:mm"))):""},sec2time(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=function(e,t){return("000"+e).slice(-1*t)},a=parseFloat(e).toFixed(3),i=Math.floor(a/60/60),o=Math.floor(a/60)%60,r=Math.floor(a-60*o),n=(a.slice(-3),t?s(i,2)+":":"");return n+s(o,2)+":"+s(r,2)},sensibleRowsPerPage(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=this.$q.screen.width<=550?1:this.$q.screen.width<=800?2:t,i=null!==(e=!ds["_"].isNil(s)&&this.$q.cookies.get(s))&&void 0!==e?e:t;return a<i?(ds["_"].isNil(s)||this.$q.cookies.set(s,a),a):i},getTimeAgo(e){return this.$dayjs().to(this.$dayjs(e)).toNow()},rarityMessage(e){return e<1?"To be confirmed":e>0&&e<20?"Most Common":e>19&&e<40?"Often Seen":e>39&&e<60?"Seldom Seen":e>59&&e<80?"Rare":e>79?"Very Rare":void 0},getRatingModel(e){return Math.round(e/10)},rarityColor(e){return e<1?"grey":e>0&&e<20?"blue":e>19&&e<40?"green":e>39&&e<60?"orange":e>59&&e<80?"red":e>79?"black":void 0}}},mi={computed:{appHeight(){var e;return null!==(e=this.$q.screen.height)&&void 0!==e?e:600},appOrientation(){return this.$q.screen.width<this.$q.screen.height?"portrait":"landscape"},appPadding(){return this.appWidth>1400||this.appWidth>1024?"q-px-xl":this.appWidth>768?"q-px-lg":(this.appWidth,"q-px-md")},appWidth(){var e;return null!==(e=this.$q.screen.width)&&void 0!==e?e:800},isPortrait(){return"portrait"===this.appOrientation}},methods:{getWidth(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;console.log(e)},getHeight(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;console.log(e)}}},pi=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"row justify-center q-mb-xl q-mt-lg"},[s("div",{staticClass:"col-12",staticStyle:{"max-width":"1600px"}},[s("page-heading",{attrs:{heading:"Africam Shows",subheading:"We are very excited to announce our portfolio of Live Shows to the Africam audience. Africam will operate with the following schedule each week:"}}),e._m(0),s("p",{staticClass:"q-mt-xl text-h5 text-weight-medium"},[e._v("\n          The Africam Show: Live on Tuesdays at 4 pm SAST / 7 am PT / 10 am ET\n        ")]),s("div",{staticClass:"row q-pb-md q-col-gutter-md"},[s("div",{staticClass:"col-xs-12 col-sm-3 q-mb-md"},[s("q-img",{staticClass:"rounded-borders",attrs:{ratio:16/9,"no-default-spinner":"",src:"/images/shows/africam-show"+(e.$q.screen.width>500?"_720":"_480")+".jpg"}})],1),s("div",{staticClass:"col-xs-12 col-sm-8 q-mb-md"},[s("p",[e._v("\n              A live Q&A session and commentary from an expert ranger over the live cameras.\n            ")]),s("p",{staticClass:"text-weight-bold"},[e._v("\n              When & Where\n            ")]),s("p",{staticClass:"q-mb-xs"},[e._v("\n              Tuesdays at 4 pm SAST / 7 am PT / 10 am ET on the\n              "),s("router-link",{attrs:{to:{name:"shows"}}},[e._v("LIVE Shows Page")]),e._v("\n              .\n            ")],1)])]),s("p",{staticClass:"q-mt-md text-h5 text-weight-medium"},[e._v("\n          Wild Moments: Live on Thursdays at 4 pm SAST / 7 am PT / 10 am ET\n        ")]),s("div",{staticClass:"row q-pb-md q-col-gutter-md"},[s("div",{staticClass:"col-xs-12 col-sm-3 q-mb-md"},[s("q-img",{staticClass:"rounded-borders",attrs:{ratio:16/9,"no-default-spinner":"",src:"/images/shows/wild-moments"+(e.$q.screen.width>500?"_720":"_480")+".jpg"}})],1),s("div",{staticClass:"col-xs-12 col-sm-8 q-mb-md"},[s("p",[e._v("\n              Wild moments from the African bush caught on the live cameras. This show compiles highlights taken from the live cameras and discussion by expert rangers.\nThe show is live and interactive.\n            ")]),s("p",{staticClass:"text-weight-bold"},[e._v("\n              When & Where\n            ")]),s("p",{staticClass:"q-mb-xs"},[e._v("\n              Thursdays at 4 pm SAST / 7 am PT / 10 am ET on the\n              "),s("router-link",{attrs:{to:{name:"shows"}}},[e._v("LIVE Shows Page")]),e._v("\n              .\n            ")],1)])])],1
1)]),s("direct-stream-player",{attrs:{"show-video":e.showVideoModal,video:e.currentVideo},on:{"modal-closed":e.directModalClosed}})],1)},gi=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ul",[s("li",{staticClass:"q-mb-md"},[s("em",[e._v("The Africam Show: Live On Tuesdays")]),s("br"),s("span",{staticClass:"text-weight-medium"},[e._v("Tuesdays at 4 pm SAST / 7 am PT / 10 am ET")])]),s("li",{staticClass:"q-mb-md"},[s("em",[e._v("Wild Moments: Live On Thursdays")]),s("br"),s("span",{staticClass:"text-weight-medium"},[e._v("Thursday at 4 pm SAST / 7 am PT / 10 am ET")])])])}],vi=Object(ce["a"])("user"),fi=vi.mapGetters,bi={name:"ShowsPageComponent",computed:ne()({},fi(["getAuthenticated"])),data(){return{currentVideo:{storage_reference:null},showVideoModal:!1}},methods:{directModalClosed(){this.showVideoModal=!1},doLogin(){le["a"].$emit("doSignInUp",!0)},showDemo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||(this.currentVideo.storage_reference=e,this.showVideoModal=!0)}},mixins:[hi,mi],props:{hideDemos:{type:Boolean,default:!1}}},wi=bi,yi=s("068f"),xi=Object(Ee["a"])(wi,pi,gi,!1,null,null,null),qi=xi.exports;ze()(xi,"components",{QImg:yi["a"],QBtn:De["a"]});var _i={name:"LearnPage",components:{},computed:{isMobile(){return!(this.$q.screen.width<1023)},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}}},data(){return{afriExpert:!1,isLandingPage:_.get(this,"$route.query.isLandingPage",!0),isLodgePartnerships:_.get(this,"$route.query.isLodgePartnerships",!1),isConservationCampaigns:_.get(this,"$route.query.isConservationCampaigns",!1),isOurCommunity:!1,videoSelection:"",showVideoPopup:!1}},methods:{insightVideosLink(){this.$router.push({name:"video-highlights",query:{learnLink:!0,filteredType:"insight"}})},launchLodgePartnerships(){window.scrollTo(0,0),this.isLandingPage=!1,this.isLodgePartnerships=!0,this.isOurCommunity=!1,this.isConservationCampaigns=!1},launchLandingPage(){window.scrollTo(0,0),this.isLandingPage=!0,this.isLodgePartnerships=!1,this.isOurCommunity=!1,this.isConservationCampaigns=!1},launchOurCommunity(){window.scrollTo(0,0),this.isLandingPage=!1,this.isConservationCampaigns=!1,this.isLodgePartnerships=!1,this.isOurCommunity=!0},launchConservationCampaigns(){window.scrollTo(0,0),this.isLandingPage=!1,this.isLodgePartnerships=!1,this.isOurCommunity=!1,this.isConservationCampaigns=!0},launchExploreVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/oggbO3-YNJ8?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchSamsungVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/0c6M-viRRXQ?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchCareVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/yTJO8W0XiHs?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchMambasVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/OiBFbTwvWJs?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchPremiumVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/YEoaAH5p4j4?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},getVideoSrc(){this.videoSrc=videoSelection}},props:{autoplay:{default:!0,type:Boolean,required:!1}},mixins:[hi,mi],mounted(){}},Si=_i,Ci=(s("e62a"),s("9989")),Ai=s("0016"),ki=Object(Ee["a"])(Si,li,ci,!1,null,null,null),Ti=ki.exports;ze()(ki,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QDialog:Re["a"],QCard:Ne["a"],QIcon:Ai["a"],QCardSection:Oe["a"]}),ze()(ki,"directives",{ClosePopup:Y["a"]});var Pi=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl q-mt-lg"},[s("div",{staticClass:"app-width col-12"},[s("african4good")],1)])]),s("site-footer")],1)},Ii=[],$i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("page-title",{attrs:{title:"Africam4Good - Investing in our wildlife for future generations."}}),s("h6",{staticClass:"text-weight-medium q-mb-md q-mt-lg"},[e._v("Africam and Samsung launch Wildlife Watch – Support the Black Mambas")]),s("p",[e._v("\n    The Black Mamba Anti-Poaching Unit is made of 36 young, brave and inspirational unarmed African women patrolling 500 square kilometres of the greater Kruger area in South Africa, looking for poachers, wire-snares, and break-ins along the fence line.\n  ")]),s("p",[e._v("\n    Through Wildlife Watch you will be closer to the work they do, see the animals they protect and by contributing, your donation will go directly to the Black Mambas and help these inspirational ladies grow their footprint and impact.\n  ")]),s("div",{staticClass:"q-mb-xl"},[s("q-btn",{staticClass:"text-shadow",attrs:{type:"a",target:"_blank",href:"https://www.givengain.com/cc/black-mambas-the-worlds-1st-all-female-antipoaching-unit/",size:"md",label:"Donate Now",color:"brand-orange"}})],1),s("div",{staticClass:"row q-col-gutter-x-xs q-mt-lg"},[s("div",{staticClass:"col-3"},[s("div",{staticClass:"column full-height q-col-gutter-y-xs"},[s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/samsung/1.jpg"}})],1),s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/samsung/2.jpg"}})],1)])]),s("div",{staticClass:"col-6 q-pb-xs "},[s("q-responsive",{attrs:{ratio:1}},[s("q-img",{staticClass:"full-height",attrs:{src:"images/samsung/3.jpg",ratio:"1"}})],1)],1),s("div",{staticClass:"col-3"},[s("div",{staticClass:"column full-height q-col-gutter-y-xs"},[s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/samsung/4.jpg"}})],1),s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/samsung/5.jpg"}})],1),s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/samsung/6.jpg"}})],1)])])]),s("q-responsive",{staticClass:"rounded-borders bg-grey-3 q-my-xl",attrs:{ratio:16/9}},[s("youtube",{staticClass:"rounded-borders",attrs:{allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",previewImageSize:"maxresdefault",src:"https://www.youtube.com/embed/0c6M-viRRXQ?autoplay=0"}})],1),s("page-heading",{staticClass:"q-mt-xl",attrs:{heading:"More about the Area & the Black Mambas"}}),s("p",[e._v("\n    Olifants West Nature Reserve is a protector of the Western Boundary of the Greater Kruger National Park, and is home to the Black Mambas All-Women Anti-Poaching Team. We have been building a strong conservation model\n    within the local tribal villages promoting conservation and providing much needed jobs and income to the local community.\n  ")]),s("q-responsive",{staticClass:"rounded-borders bg-grey-3 q-my-xl",attrs:{ratio:16/9}},[s("youtube",{staticClass:"rounded-borders",attrs:{allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",previewImageSize:"maxresdefault",src:"https://www.youtube.com/embed/2CiiG-hvuLM?rel=0&origin=https%3A%2F%2Fwww.africam.com"}})],1),s("page-heading",{attrs:{heading:"Help us to help the communities living with our animals through COVID"}}),s("p",[e._v("\n    With the Covid-19 Lockdown in place, most of the families living in close proximity to our cameras and animals\n    can no longer generate income and have limited or no access to food. This could result in community members\n    hunting wild animals for food during the lockdown period out of desperation.\n  ")]),s("p",[e._v("\n    Join Africam in support of this great initiative. Help us to raise funds to empower the Black Mamba women to deliver food parcels to the most vulnerable families in the communities of Maseke, Makushane and\n    Mashishimale.\n  ")]),s("div",{staticClass:"q-mb-xl"},[s("q-btn",{staticClass:"text-shadow",attrs:{type:"a",target:"_blank",href:"https://gogetfunding.com/olifants-west-nature-reserve-food-security-program/",size:"md",label:"Donate Now",color:"brand-orange"}})],1),s("div",{staticClass:"row q-col-gutter-x-xs q-mt-lg"},[s("div",{staticClass:"col-3"},[s("div",{staticClass:"column full-height q-col-gutter-y-xs"},[s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/save/1.jpg"}})],1),s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/save/2.jpg"}})],1)])]),s("div",{staticClass:"col-6 q-pb-xs "},[s("q-responsive",{attrs:{ratio:1}},[s("q-img",{staticClass:"full-height",attrs:{src:"images/save/3.jpg",ratio:"1"}})],1)],1),s("div",{staticClass:"col-3"},[s("div",{staticClass:"column full-height q-col-gutter-y-xs"},[s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/save/4.jpg"}})],1),s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/save/5.jpg"}})],1),s("div",{staticClass:"col"},[s("q-img",{staticClass:"full-height",attrs:{src:"images/save/6.jpg"}})],1)])])]),s("p",{staticClass:"q-mb-xl"},[e._v("Food parcels funded by you and delivered by the awesome Black Mamba anti-poaching team feed our 
1communities")])],1)},Ei=[],Ri={name:"African4GoodComponent"},Ni=Ri,Oi=s("0e51"),Li=Object(Ee["a"])(Ni,$i,Ei,!1,null,null,null),Di=Li.exports;ze()(Li,"components",{QBtn:De["a"],QImg:yi["a"],QResponsive:Oi["a"]});var Vi={name:"Africam4GoodPage",components:{african4good:Di},mixins:[hi,mi],mounted(){}},zi=Vi,Mi=Object(Ee["a"])(zi,Pi,Ii,!1,null,null,null),ji=Mi.exports;ze()(Mi,"components",{QPage:Ci["a"]});var Qi=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.rowSelected?s("div",{staticClass:"q-pa-md"},[s("div",{staticClass:"row"},[s("q-btn",{staticClass:"q-pr-sm",attrs:{outline:"",dense:"",color:"grey",label:"Back To Leaderboard",icon:"fas fa-chevron-left"},on:{click:function(t){e.rowSelected=!1}}})],1),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<600?"col-12 q-pa-md text-h7":"col-12 q-pa-md text-h5"},[s("selected-user-gallery",{attrs:{selectedUserId:e.selectedUserId}})],1)])]):e._e(),e.rowSelected?e._e():s("div",{staticClass:"row justify-center",class:e.getIsSubscriber?"q-my-xl":"q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"col-12 text-left q-pl-md text-h4 q-pt-md"},[s("q-img",{staticClass:"afritag-logo",attrs:{"no-default-spinner":"",src:"/images/afritag-logo.svg"}})],1),s("div",{staticClass:"q-pa-xs"},[s("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:e.launchGuidelines}},[s("span",{staticClass:"link-underline"},[e._v("SafariSnap Guidelines")])]),s("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:e.launchFaq}},[s("span",{staticClass:"link-underline"},[e._v("SafariSnap FAQ")])])],1),s("div",{staticClass:"row q-mb-sm q-mt-xl"},[s("div",{class:e.backButtonColClass},[s("q-btn",{attrs:{color:"black","text-color":"white",ripple:"",icon:"fa fa-chevron-left",label:e.backButtonLabel},on:{click:function(t){return e.$router.back()}}})],1),s("div",{staticClass:"text-right col-xs-12 col-md-6 text-smaller text-grey-5"},[e._v("\n            Photos Per Row\n            "),s("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:e.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:e.perRow,callback:function(t){e.perRow=t},expression:"perRow"}})],1)]),s("q-infinite-scroll",{ref:"photoScroller",staticClass:"row q-col-gutter-lg q-mt-md",attrs:{offset:2e3},on:{load:e.loadMorePhotos},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                    q-mr-sm\n                    text-weight-bold text-caption text-uppercase text-grey-6\n                  "},[e._v("Loading photos")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}],null,!1,3956966618)},[e._l(e.currentHighlights,(function(t,a){return[e.injectAdvert(a)&&!e.getIsSubscriber?s("div",{key:"scroll-ad"+a,staticClass:"col-xs-12 q-py-md text-center"},[s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}})],1):e._e(),s("div",{key:"scroll-afritag-"+a,staticClass:"cursor-pointer",class:e.columnClasses},[s("afritag-preview",{attrs:{photo:t}})],1)]}))],2),s("div",{staticClass:"row"},[e.allPhotosAreLoaded?s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                  q-mr-sm\n                  text-weight-bold text-caption text-uppercase text-grey-6\n                "},[e._v("\n                All Photo Highlights have been loaded.")])])]):e._e()])],1)])]),s("site-footer"),s("afritag-preview",{staticClass:"hidden",attrs:{photo:e.focusedPhoto,"show-modal":e.showFocusedPhoto}}),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showGuidelines=!1}},model:{value:e.showGuidelines,callback:function(t){e.showGuidelines=t},expression:"showGuidelines"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-guidelines")],1)],1)],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showFaq=!1}},model:{value:e.showFaq,callback:function(t){e.showFaq=t},expression:"showFaq"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-faq")],1)],1)],1)],1)},Ui=[],Fi=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",[s("div",{staticClass:"col-12 text-left text-h4 text-bold"},[e._v("\n          SafariSnaps Guidelines\n      ")]),s("div",[s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n                  Welcome to the SafariSnaps guidelines, the best place for you to view live animals in their natural environment and showcase your wildlife knowledge by tagging all the amazing species with their photos.\n              ")]),s("div",{staticClass:"text-subtitle2 text-bold q-pb-md"},[e._v("\n                  SafariSnaps is Africam’s exciting new community game. Whilst watching the live streams, you can tag an animal. Each animal will have a rarity score based on how often they are seen. All tags will be recorded in your profile and within the SafariSnaps leaderboard.  By tagging Africam’s animals, you help Africam and the lodges keep a record of the animals and their movements at the various waterholes. \n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • The snapshot needs to clearly exhibit the animal you have identified, as we are developing usage of the tagged images for conservation machine learning. If the animal is not clearly represented in the image, we will remove the snapshot and update the score.\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Each community member playing the game may tag a species once from a live sighting. It is not in the spirit of the game to tag the same species multiple times to inflate your score. A Live sighting is defined as when a species type enters and exits that camera view session.\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Should you note that a community member has tagged the same species multiple times from a live sighting, please inform us and we will approach the member and remedy the scoring. \n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • The Africam Resident Rangers and Zoomies have compiled the animal database with the applicable scores. Rarity scores are based on how often the animals are seen on the live cameras and may differ from how endangered or rare they are in the various locations. Africam reserve the right to modify the rarity scores and add animals to the game should the need arise. \n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Should you not be able to identify an animal, please download the animal identity kit. Please note that Birds have been excluded at this stage. We are scheduled to launch our Bird tagging category in January. \n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • The description is not compulsory. Should you wish to add a de
1scription, please use it to outline any unique features or behaviour specific to that sighting. Importantly, it is of immense value should there be distinct markings or characteristics of the animal that you would like to highlight for identification purposes for others or for our rangers in the Africam Shows.\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Please note that no unlawful or objectionable content will be accepted. This includes harassing, defamatory, abusive, threatening, obscene, profane, sexually-oriented, racially offensive or otherwise objectionable material.\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Rhinos are endangered and under threat of poaching. To help protect them, please do not tag or post snapshots or discuss rhinos seen on Africam. Thank you for being part of the solution\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Africam aspires to be a safe place where our wonderful community of wildlife enthusiasts can enjoy the live cameras, learn and share their knowledge. The SafariSnaps game must be played with the right spirit. Above all, be kind, considerate and share your knowledge and insights to other community members. Don’t be afraid to ask questions and please be patient and considerate to all SafariSnaps participants and our Zoomies operating the Cameras.\n              ")]),s("div",{staticClass:"text-subtitle2 text-bold"},[e._v("\n                  Please Note:\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n                  We reserve the right to terminate your registration and participation at any stage should you not adhere to the rules and guidelines as stated above.            \n              ")])])])],1)},Bi=[],Hi={name:"AfritagGuidelines",components:{Shows:qi},mixins:[hi,mi],mounted(){}},Gi=Hi,Wi=Object(Ee["a"])(Gi,Fi,Bi,!1,null,null,null),Yi=Wi.exports;ze()(Wi,"components",{QPage:Ci["a"]});var Ki=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",[s("div",{staticClass:"col-12 text-left text-h4 text-bold"},[e._v("\n          SafariSnaps FAQ\n        ")]),s("div",[s("div",{staticClass:"text-h6 q-pt-sm"},[e._v("\n              What is SafariSnaps?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              SafariSnaps is Africam’s new game which allows you as a community member to tag different species as they appear on the cameras. The key objective is to tag as many species as possible whilst enjoying viewing them live on the cameras. Each species that you tag has a unique rarity score based on how frequently they are seen. You may choose to be very selective and only tag your best photos and sightings. Alternatively, you may want to tag as many species as often as possible. It’s completely up to you. Please remember though that you can only tag one species per live  sighting session. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              How does my participation benefit conservation and wildlife preservation?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              As you know, Africam’s mission is to drive conservation awareness by showcasing Africa’s wildlife. By taking snapshots and tagging the animals, you help Africam to document where the animals are located. Furthermore, we pass this information onto the lodges and anti-poaching units. You can assist us further by adding identification notes to each tag specific to that animal when appropriate. In time and through the use of Artificial Intelligence partners, we plan to use the tags and snapshots to help with animal recognition to support anti-poaching efforts. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What do I do if I can’t identify a species?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-sm"},[e._v("    \n              First step will be to click on the SafariSnaps Identity Kit below the photo. This will provide you with an easy reference guide to assist you in identifying the animals. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              Why are all animals not featured?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              Our initial list is 75 and we will be expanding the list to accommodate more as the game progresses. Should you feel strongly that we have omitted a species, feel free to email [email protected] with your motivation and we will c
1onsider adding the species to our database. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              Why are birds not featured?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              We see an incredible variety and volume of birds on Africam’s cameras.  We therefore believe that Birds should have their own category and we will be launching Africam birds shortly. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              How does the scoring work?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              For each species that you tag, a score will be attributed based on the rarity of that animal. The Africam Resident Rangers and Zoomies have compiled the animal database with the applicable scores. Rarity scores are based on how often the animals are seen on the live cameras and may differ from how endangered or rare they are in the various locations. Africam reserve the right to modify the rarity scores and add animals to the game should the need arise. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              Why do my SafariSnaps need to be accurate?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              Animals should be identifiable in the safarisnap as this will result in more accurate representation for our anti-poaching data partners, Africam reserves the right to remove a safarisnap from the game if the animal is not recognizeable. Use the toggle buttons to get the best picture. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              Can I tag the same species multiple times in a live sighting session?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              No, you cannot tag the same species multiple times in a live sighting session. You may only tag a species once. Each community member playing the game may tag a species once from a live sighting. It is not in the spirit of the game to tag the same species multiple times to inflate your score.\n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What is a live sighting session?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              A Live sighting is defined as when a species type enters and exits that camera view session.\n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What should I write in the description?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              The description is not compulsory. Should you wish to add a description, please use it to outline any unique features or behaviour specific to that sighting. Importantly, it is of immense value should there be distinct markings or characteristics of the animal that you would like to highlight for identification purposes for others or for our rangers in the Africam Shows.\n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What do I do if I want to take multiple photos of the same animal in a live sighting session?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              We have enhanced and improved the snapshot function and you can take as many snapshots as you would like from a live sighting. However, we ask that you only tag that species once during a live sighting session. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              Can I tag Rhinos?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              No. Rhinos are endangered and under threat of poaching. To help protect them, please do not tag or post snapshots or discuss rhinos seen on Africam. Thank you for being part of the solution\n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What do I do if a participant is not adhering to the rules?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              Should you note that a community member has tagged the same species multiple times from a live sighting or is not adhering to the rules, please inform us and we will approach the member and remedy the scoring. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              How should I play SafariSnaps?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("  \n              SafariSnaps was designed for enjoyment. The game must be played in the right spirit. You may wish to have a small but very qualified tag list of rare and unseen animals. Alternatively, you may want to compete with others tag a high volume and variety of species. It’s entirely up to you! As mentioned in the rules, always be kind, considerate and share your knowledge and insights to other community members. Don’t be afraid to ask questions and please be patient and considerate to all SafariSnaps participants and our Zoomies operating the Cameras.\n          ")])])])],1
1)},Zi=[],Ji={name:"SchedulePage",components:{Shows:qi},mixins:[hi,mi],mounted(){}},Xi=Ji,eo=Object(Ee["a"])(Xi,Ki,Zi,!1,null,null,null),to=eo.exports;ze()(eo,"components",{QPage:Ci["a"]});var so=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"col-12 q-pb-md",class:e.$q.screen.width<600?"text-subtitle2":"text-subtitle1"},[e._v("\n    Click on an SafariSnap to view a larger version\n  ")]),s("q-infinite-scroll",{key:e.userGalleryComponent,ref:"photoScroller",staticClass:"row q-col-gutter-md",attrs:{offset:1e3},on:{load:e.loadMorePhotos},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("Loading SafariSnaps")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])])]},proxy:!0}])},[e._l(e.photos,(function(t,a){return[e.adBreak(a)?s("div",{key:"selected-user-gallery-ad-"+a,staticClass:"col-xs-12 q-py-md text-center"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}}),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}})],1):e._e(),s("div",{key:"selected-user-gallery-photo-"+a,staticClass:"col-xs-12 col-sm-12 col-md-3 col-xl-3 cursor-pointer"},[s("afritag-preview",{key:"preview-item-"+a,attrs:{ratio:16/9,index:a,photo:t},on:{removed:function(t){return e.reloadUserGallery(a)}}})],1)]}))],2),e.allPhotosAreLoaded?s("div",{staticClass:"text-center"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("All your snapshots are loaded.")])]):e._e()],1)},ao=[],io=Object(ce["a"])("photos"),oo=(io.mapGetters,io.mapActions),ro=Object(ce["a"])("user"),no=(ro.mapActions,ro.mapGetters),lo={name:"SelectedUserGallery",computed:ne()(ne()({},no(["getAuthenticated","getIsSubscriber","getUser"])),{},{selectedUser(){return this.$props.selectedUserId}}),data(){return{allPhotosAreLoaded:!1,userGalleryComponent:0,lastPage:1,photos:[],slotSize:0}},methods:ne()(ne()({},oo(["clearPhotos","fetchPhotos"])),{},{deletePreviewItem(e){this.photos=this.photos.splice(this.photos.indexOf(e),1)},reloadUserGallery(e){this.photos=this.photos.splice(this.photos.indexOf(e),0),this.userGalleryComponent+=1},adSlotResize(e){this.slotSize=e.width},loadMorePhotos(e,t){var s=this;if(e>s.lastPage)return t(),s.$refs.photoScroller.stop(),void(s.allPhotosAreLoaded=!0);var a={user:this.selectedUser,is_afritag:!0};this.fromLeaderboard&&(a.animal=this.selectedAnimalId),s.fetchPhotos({filters:a,page:e,per_page:s.dbPageSize()}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.photos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){t()}))}}),mounted(){var e=this;e.clearPhotos(),e.$refs.photoScroller.trigger()},mixins:[hi],props:{selectedUserId:{type:Number,default:0},selectedAnimalId:{type:Number,default:null,required:!1},fromLeaderboard:{default:!1,type:Boolean,required:!1}},watch:{selectedUserId:function(e,t){var s=this;console.log("SELECTED USER PROP CHANGED"),console.log({newVal:e}),console.log({oldVal:t}),s.photos=[],s.clearPhotos(),s.loadMorePhotos(0,(function(){return console.log("Finished Updating Photos")}))}}},co=lo,uo=s("ef35"),ho=s("3980"),mo=s("8380"),po=Object(Ee["a"])(co,so,ao,!1,null,null,null),go=po.exports;ze()(po,"components",{QInfiniteScroll:uo["a"],QResizeObserver:ho["a"],QSpinnerDots:mo["a"]});var vo=Object(ce["a"])("photos"),fo=(vo.mapGetters,vo.mapActions),bo=Object(ce["a"])("user"),wo=bo.mapGetters,yo=Object(ce["a"])("destination"),xo=yo.mapGetters,qo={components:{afritagGuidelines:Yi,afritagFaq:to,selectedUserGallery:go},name:"AllDestinationAfritags",computed:ne()(ne()(ne()({},wo(["getAuthenticated","getIsSubscriber"])),xo(["getDestinationBySlug"])),{},{backButtonLabel(){return`${this.getDestinationBySlug(this.$route.params.slug).name} Stream`},backButtonColClass(){return this.$q.screen.width<=480?"col-xs-12 col-md-6 text-center q-mb-md":"col-xs-12 col-md-6 text-left"},streamCode(){return console.log("CHECKING FOR STREAM CODE"),this.$route.params.code},columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio},currentHighlights(){return this.photos}}),created(){_.get(this,"$route.params.id",!1)&&this.getFocusedPhoto()}
1,data(){return{allPhotosAreLoaded:!1,showGuidelines:!1,showFaq:!1,fetchingPhotos:!1,focusedPhoto:{},lastPage:1,meta:{title:"Africam Latest Afritags."},selectedUserId:"",rowSelected:!1,perRow:3,photos:[],showFocusedPhoto:!1,slotSize:0,data:[]}},meta(){return{title:this.meta.title}},methods:ne()(ne()({},fo(["clearPhotos","fetchPhotos"])),{},{adSlotResize(e){this.slotSize=e.width},launchGuidelines(){this.showGuidelines=!0},launchFaq(){this.showFaq=!0},getFocusedPhoto(){var e=this;e.fetchPhotos({filters:{stream:e.streamCode,isAfritag:!0}}).then((function(t){console.log("THIS IS THE STREAM CODE"),console.log(e.streamCode);var s=_.get(t,"data.data",[]);_.isArray(s)&&!_.isEmpty(s)&&(e.$set(e,"focusedPhoto",s[0]),e.$nextTick((function(){e.showFocusedPhoto=!0})),e.$log("FOCUSED PHOTO:",e.focusedPhoto))}))},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0},loadMorePhotos(e,t){var s=this;if(e>s.lastPage)return t(),void(s.allPhotosAreLoaded=!0);var a={stream:s.streamCode,isAfritag:!0};s.$props.animal_id&&(a.animal=s.$props.animal_id),s.fetchPhotos({filters:a,page:e,per_page:s.dbPageSize(),isAfritag:!0}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.photos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",1)})).finally((function(){t()}))}}),mixins:[hi,mi],mounted(){var e=this;e.perRow=e.sensibleRowsPerPage(3,"highlightsPerRow"),e.clearPhotos(),e.$refs.photoScroller.trigger(),e.$log("PHOTO ID:",e.$route.params.id)},props:{slug:{default:{},required:!0,type:String},animal_id:{default:null,required:!1,type:String}},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)}}},_o=qo,So=s("6a67"),Co=Object(Ee["a"])(_o,Qi,Ui,!1,null,null,null),Ao=Co.exports;ze()(Co,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QBtnToggle:So["a"],QInfiniteScroll:uo["a"],QResizeObserver:ho["a"],QSpinnerDots:mo["a"],QDialog:Re["a"],QCard:Ne["a"],QIcon:Ai["a"],QCardSection:Oe["a"]}),ze()(Co,"directives",{ClosePopup:Y["a"]});var ko=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl q-mt-lg"},[s("div",{staticClass:"col-12",staticStyle:{"max-width":"1600px"}},[s("page-heading",{attrs:{heading:"Drop us a word",subheading:"We value your privacy and want you to know we store the information you provide below briefly in order to return your request for contact, after which time it is cleared from our systems."}}),s("div",{staticClass:"text-caption"},[e._v("\n          If you have any concerns, please read our complete "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showPrivacyPolicy}},[e._v("Privacy Policy")])]),s("div",{staticClass:"row q-mt-lg"},[s("div",{staticClass:"text-h4"}),s("div",{staticClass:"col-xs-12 col-md-6 q-mb-md"},[s("div",{staticClass:"col-6"},[s("q-img",{staticClass:"fit",staticStyle:{"max-height":"calc(75vh - 50px)","object-fit":"contain"},attrs:{src:"/images/Contact Us.png"}})],1)])])],1)]),s("q-dialog",{on:{hide:e.termsPrivacyClosed},model:{value:e.showTermsPrivacy,callback:function(t){e.showTermsPrivacy=t},expression:"showTermsPrivacy"}},[s("q-card",{staticStyle:{"min-height":"80vh",width:"80vw","max-width":"1200px"}},[s("q-card-section",{staticClass:"scroll",staticStyle:{"max-height":"calc(80vh - 52px)"}},[e.showPrivacy?s("privacy-policy"):e._e(),e.showTerms?s("terms-of-service"):e._e()],1),s("q-separator"),s("q-card-actions",{staticClass:"bg-light-baise",staticStyle:{"min-height":"52px"},attrs:{align:"right"}},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{color:"brand-orange",flat:"",label:"CLOSE"}})],1)],1)],1)],1),s("site-footer")],1)},To=[],Po={methods:{clearInputValidation(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||(_.has(this,"serverValidation."+e)&&this.$set(this.serverValidation,e,""),_.has(this.$refs,e)&&this.$refs[e].resetValidation())},getServerError(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.has(this,"serverValidation."+e,"")},hasServerError(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.isNil(e)||!_.has(this,"serverValidation."+e)||!_.isEmpty(this.serverValidation[e])},hasValidNumericId(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.isObject(e)&&_.has(e,"id")&&_.isInteger(_.toNumber(e.id))&&e.id>0},hasValidStringId(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.isObject(e)&&_.has(e,"id")&&_.isString(e.id)&&e.id.length>0},isValidEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(e)},setServerErrorMessages(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this;if(_.isObject(e)){var s=_.get(e,"data.errors",[]);_.each(s,(function(e,s){var a=_.isArray(e)?e.join(", "):e;_.has(t,"serverValidation."+s)&&_.set(t,"serverValidation."+s,a)}))}}}},Io=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("page-title",{attrs:{title:"Africam Privacy Policy"}}),s("div",{staticClass:"text-h6 q-py-lg"},[e._v("Effective and revised as of April 24, 2020")]),s("p",[e._v("Welcome to the Africam.com website. Because your privacy is very important to us, we want you to understand our practices with regard to collecting and using your information both online and offline and the steps we\n    take\n    to safeguard it. The Africam.com website and any other Africam website, mobile application, or application programming interface displaying this Privacy Policy and each of their components and subdomains and mobile\n    versions if any, and the services, products and networks found at or related thereto (collectively referred to as the “Site”) are owned and operated by CLP Investments No 22 (“Africam”).")]),s("p",[e._v("This Privacy Policy applies to Personally Identifiable Information collected from our visitors. When this Privacy Policy uses the term “Personally Identifiable Information” it refers to information that lets us know\n    the\n    specifics of who you are and can be used to identify and contact you. When you register to become a registered user of the Site, you will be asked to provide certain Personally Identifiable Information such as your\n    name,\n    email address, and password. With this information, we can fill certain of your requests and better provide you with personalized services.")]),s("p",[e._v("“Non-Personally Identifiable Information” refers to information that does not identify a specific individual by itself. This information may be compiled and analyzed on both a personal and an aggregated basis. This\n    information may include the Uniform Resource Locator (“URL”) of the website from which you just came, which URL you next go to, what browser you are using, and your Internet Protocol (“IP”) address. A URL is the\n    global\n    address of documents and other resources on the Internet. An IP address is an i
1dentifier for a computer or device on a Transmission Control Protocol/Internet Protocol (“TCP/IP”) network, such as the Internet.\n    Networks\n    use the TCP/IP protocol to route information based on the IP address of the destination. In other words, an IP address is a number that is automatically assigned to your computer whenever you are surfing the\n    Internet,\n    allowing Internet servers to locate and identify your computer. Computers require IP addresses in order for users to communicate on the Internet, browse and shop.")]),s("p",[e._v("We welcome any and all questions and feedback. For privacy-related issues, please contact us at [email protected].")]),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("Collection of Information")]),s("p",{staticClass:"text-subtitle2"},[e._v("Personally Identifiable Information")]),s("p",[e._v("Africam may request Personally Identifiable Information from you when you:")]),e._m(0),s("p",{staticClass:"text-subtitle2"},[e._v("Non-Personally Identifiable Information")]),s("p",[e._v("The Site collects some non-personal information about you using clickstream technology, so it may not be readily apparent to you that it is being collected. Non-Personally Identifiable Information is not currently\n    combined\n    with Personally Identifiable Information.")]),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("Data Collection Policy")]),s("p",{staticClass:"text-subtitle2"},[e._v("Personally Identifiable Information")]),s("p",[e._v("At Africam, we always want to provide you with the best possible web experiences. In order to do this, we use your Personally Identifiable Information to allow us to:")]),e._m(1),s("p",[e._v("Except as described in this Privacy Policy, your Personally Identifiable Information will not be shared with any third parties. By becoming a registered member you are agreeing to accept our newsletter and promotional\n    offers and other communications from Africam. Instructions for unsubscribing from any newsletters, alerts, promotions or non-transactional related emails are included in every email and on the website.")]),s("p",{staticClass:"text-subtitle2"},[e._v("Non-Personally Identifiable Information")]),s("p",[e._v("We use the Non-Personally Identifiable Information that we collect from our visitors in a manner that does not personally identify any individual. We use Non-Personally Identifiable Information to make the Site more\n    interesting and useful to you. We also track the pages or documents accessed within the Site. This information is collected for systems administration and for analyzing and improving the value of the material\n    available\n    on the Site. Cookies are small files containing a string of characters sent to your computer that uniquely identifies your browser. Africam uses cookies to store visitors’ preferences and to record session\n    information.\n    These uses include saving your password so it does not need to be re-entered when you visit the Site and serving content recommendations specific to your interests. We do not link the information we store in cookies\n    to\n    any\n    personally identifiable information you submit while on the Site. Most browsers are initially set up to accept cookies, but you can reset your browser to refuse all cookies or to indicate when a cookie is being sent.\n    However, you must enable cookies from Africam in order to use most functions on the Site.")]),s("p",[e._v("We may work with third party advertising companies and social networks, such as Facebook and Twitter, that may use information about your use of the Site in order to provide advertisements about goods and services\n    that\n    may be of interest to you, including about Africam, on their services and on third party websites. From the Site, these companies may place or recognize a unique cookie on your computer or use other technologies such\n    as\n    web\n    beacons or pixel tags. Our Privacy Policy does not cover any use of information that a third party ad serving company may collect from you.")]),e._m(2),e._v("\n\n  We use Google Analytics on the Site to collect Non-Personally Identifiable Information to analyze how users use the Site. For more information about how to opt out of having your information used by Google Analytics,\n  visit\n  "),s("a",{attrs:{href:"https://tools.google.com/dlpage/gaoptout/",target:"_blank"}},[e._v("tools.google.com/dlpage/gaoptout")]),e._v(". Our systems do not recognize browser “Do Not Track” signals.\n\n  "),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("Sharing of information")]),s("p",{staticClass:"text-subtitle2"},[e._v("Our Contractors")]),s("p",[e._v("We contract with other companies (such as website developers and advertising agencies) to provide certain services to Africam, for example, to fulfil information requests and administer the Site. In some instances,\n    these\n    contractors may have access to Personally Identifiable Information, but they are contractually obligated to maintain the confidentiality of the information and to use it only for purposes of c
1arrying out the business\n    of\n    the\n    Site.")]),s("p",[e._v("These companies are prohibited by contract from using this information for their own marketing purposes or from sharing this information with anyone other than Africam, except as needed to provide services to\n    Africam.")]),s("p",{staticClass:"text-subtitle2"},[e._v("Third Parties")]),s("p",[e._v("Your Personally Identifiable Information is never shared with any third party except as described above to our contractors who use it ONLY to carry out Africam business or elsewhere in this Privacy Policy.")]),s("p",[e._v("We may share Personal Identifiable Information and Non-Personally Identifiable Information with businesses controlling, controlled by, or under common control with our organization. If our organization is merged,\n    acquired,\n    or sold, or in the event of a transfer of some or all of our assets, we may disclose or transfer Personal Identifiable Information and Non-Personally Identifiable Information connection with such transaction. You\n    will\n    have\n    the opportunity to opt out of any such transfer if, in our discretion, it will result in the handling of your Personal Identifiable Information in a way that differs materially from this Privacy Policy.")]),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("Disclosure Exceptions")]),s("p",[e._v("Notwithstanding the above policies, we reserve the right to disclose your information including Personally Identifiable Information to appropriate third parties if we are required to do so by law or we believe that\n    such\n    action is necessary:")]),e._m(3),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("Take care when sharing your Information with Others")]),s("p",[e._v("Please be aware that whenever you share information on any public area of the Site, that information may be accessed by others. In addition, please remember that when you share information in any other communications\n    with\n    third parties, that information may be passed along or made public by others. This means that anyone with access to such information can potentially use it for any purpose, including sending unsolicited\n    communications.")]),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("Your Choices")]),s("p",[e._v("You may ask to review, revise, correct or update any of your personal information by contacting us at the address below. You may also request changes in your e-mail preferences, such as letting us know that you do not\n    wish\n    to receive further email communications from Africam or if you wish to have your personal information removed from our e-mail mailing list. You may contact us with regard to these matters at\n    "),s("router-link",{attrs:{to:"/wildlife/contact-us",target:"_blank"}},[e._v("contact us")]),e._v("\n    .\n  ")],1),e._v("\n\n  Please be sure to provide us your exact name and address so that we can be sure to identify you correctly. If, due to human error, you continue to receive unwanted communications, please contact us again and we will make\n  every effort to correct the situation.\n\n  "),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("External Website Links")]),s("p",[e._v("Occasionally we provide links on the Site to our partners or other sites we think you will enjoy. These sites operate independently of Africam and have established their own privacy and security policies. Africam does\n    not\n    have any control over the privacy practices of these sites. For the best online experience, we strongly encourage you to review these policies at any site you visit.")]),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("Security")]),s("p",[e._v("It is our intent to protect against the loss, misuse, or alteration of information that we have collected from you. We employ reasonable security measures to protect the security of the information you submit to us.\n    We\n    limit\n    the information we provide to outside companies with whom we contract to only what they need to carry out their responsibilities. When you request product information or create an account on the Site, your\n    transactional\n    information is transmitted in an encrypted format. We maintain the data you provide, along with a record of your purchases, in a secure database. We cannot however guarantee the security of user account information\n    and\n    other\n    Personally Identifiable Information at all times. Unauthorized entry or use, hardware or software failure, accidental disclosure and other factors may compromise the security of user information at any time. You\n    provide\n    all\n    information to Africam at your own risk.")]),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("Changes to Policy")]),s("p",[e._v("If we make changes to any terms or conditions of our Privacy Policy, the changes will be posted on this portion of the Site so that you will always know what information we gather, how we might use that information,\n    to\n    whom\n    we may disclose it and what choices you have. Please be sure to check this page each time you visit the Site as you are bound by the version of our policies that exist on the day you visit.")]),s("h2",{staticClass:"text-h4 text-weight-bold:"},[e._v("Questions or Comments?")]),s("p",[e._v("For questions, comments or assistance, we invite you to\n    "),s("router-link",{attrs:{to:"/wildlife/contact-us",target:"_blank"}},[e._v("contact us")]),e._v("\n    .\n  ")],1)],1)},$o=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ul",[s("li",[e._v("Register as a member by creating a profile;")]),s("li",[e._v("Comment on the Live Chat of the Site;")]),s("li",[e._v("Take a Snap-Shot;")]),s("li",[e._v("Participate in a marketing survey, promotion or event either online or offline;")]),s("li",[e._v("Share media via email;")]),s("li",[e._v("Correspond with us (e.g., Feedback);")]),s("li",[e._v("Sign up for our newsletters or other communications")]),s("li",[e._v("Otherwise volunteer information to us.")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;
1return s("ul",[s("li",[e._v("Process and track your request for our newsletters;")]),s("li",[e._v("Send you content or information we believe will be of interest to you;")]),s("li",[e._v("Customize our communications to you; and")]),s("li",[e._v("Improve the Site and visitor service.")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("p",[e._v("We may allow third-party companies to serve ads and collect certain anonymous information when you visit the Site. These companies may use non-personally identifiable information (e.g. click stream information, web\n    browser type, time and date, subject of advertisements clicked or scrolled over) during your visits to the Site and other websites in order to provide advertisements about goods and services likely to be of interest\n    to\n    you.\n    These companies typically use a cookie to collect this information. Our systems do not recognize browser “Do Not Track” signals, but several of our service providers who utilize these cookies on our Site enable you\n    to\n    opt out\n    of targeted advertising practices. To learn more about these advertising practices or to opt out of this type of advertising, you can visit\n    "),s("a",{attrs:{href:"www.networkadvertising.org",target:"_blank"}},[e._v("www.networkadvertising.org")]),e._v("\n    or "),s("a",{attrs:{href:"www.aboutads.info/choices/",target:"_blank"}},[e._v("www.aboutads.info/choices/")]),e._v(" or\n    "),s("a",{attrs:{href:"https://optout.networkadvertising.org/?c=1",target:"_blank"}},[e._v("optout.networkadvertising.org")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ul",[s("li",[e._v("To comply with legal process such as a search warrant, subpoena or court order;")]),s("li",[e._v("To protect the rights and property of the Site")]),s("li",[e._v("To investigate reports of fraud or of users sending material using a false e-mail address or users sending harassing, threatening, or abusive messages;")]),s("li",[e._v("To protect against misuse or unauthorized use of the Site; or")]),s("li",[e._v("During emergencies, such as when we believe someone’s physical safety is at risk.")])])}],Eo={name:"PrivacyPolicyComponent"},Ro=Eo,No=Object(Ee["a"])(Ro,Io,$o,!1,null,null,null),Oo=No.exports,Lo=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("page-title",{attrs:{title:"Terms of Service"}}),s("p",[e._v("Effective and revised as of Mar 03, 2021")]),s("p",[e._v("PLEASE\n    READ THESE TERMS OF USE CAREFULLY AS THEY CONTAIN IMPORTANT\n    INFORMATION REGARDING YOUR LEGAL RIGHTS, REMEDIES AND OBLIGATIONS,\n    INCLUDING VARIOUS LIMITATIONS AND EXCLUSIONS.")]),s("p",[e._v("Copyright © "+e._s(e.year)+", Africam - CLP Investments PTY Ltd")]),s("p",[e._v('Africam\n    and its corporate affiliates (collectively referred to as "Africam")\n    provide you access to, and use of the websites found at\n    www.africam.com and any other\n    Africam website, mobile application, or application programming\n    interface displaying these Terms of Use and each of their components\n    and subdomains and mobile versions if any, and the services, products\n    and networks found at or related thereto (collectively referred to as\n    the "Site") subject to your compliance with, and agreement\n    to, these terms of use (the "Terms of Use"). These Terms of\n    Use are a legal agreement between you and Africam.')]),s("p",[e._v("By\n    accessing or using the Site, you signify that you have read,\n    understand and agree to be bound by the Terms of Use, whether you are\n    simply browsing the Site or are a registered user of the Site. The\n    Terms of Use also includes, and by accessing or using the Site you\n    are agreeing to be bound by, the Privacy Policy found at\n    "),s("A",{attrs:{HREF:"https://www.africam.com/wildlife/privacy-policy",target:"_blank"}},[e._v(" Privacy Policy")]),e._v(",\n    and any other legal notices posted on the Site and applicable to the\n    Site which are all incorporated herein by this reference. Some of\n    Africam’s services have additional terms and conditions\n    (“Additional Terms”). Where Additional Terms apply to a\n    service, Africam will make them available for you to read through\n    your use of that service. By using that service, you agree to the\n    Additional Terms.")],1),s("p",[e._v("We\n    may change or modify the Terms of Use at any time without further\n    notice and such changes or modifications will come into effect upon\n    being posted on the Site. We will indicate at the top of this page\n    the date the Terms of Use were last revised. Your continued use of\n    the Site after any change or modification constitutes your acceptance\n    of the new Terms of Use. If you do not agree to abide by these or any\n    future versions of the Terms of Use, do not use or access (or\n    continue to use or access) the Site. It is y
1our responsibility to\n    regularly check the Site to determine if there have been changes to\n    the Terms of Use and to review such changes.")]),s("p",[e._v('OWNERSHIP.\n    The Site is owned and operated by and, other than Submissions (as\n    defined below), is the copyrighted property of Africam.\n    Notwithstanding the foregoing, portions of the content found on the\n    Site may be owned by third-parties and is the copyrighted work of\n    that third-party. In addition, the trademarks, logos and service\n    marks displayed on the Site (collectively, the "Trademarks")\n    are the registered and common law trademarks of Africam, its parent,\n    affiliates, and various third parties. Nothing contained on the Site\n    should be construed as granting, by implication, estoppel, or\n    otherwise, any license or right to use any of the Trademarks without\n    the written permission of Africam or such other party that may own\n    the Trademark. All rights not expressly granted herein are reserved\n    by Africam.')]),s("p",[e._v("ELIGIBILITY.\n    You represent that you are at least 13 years old and you are fully\n    able to create binding legal obligations for any liability you may\n    incur as a result of the use of the Site. Any registration by, use of\n    or access to the Site by anyone under 13 is unauthorized, unlicensed\n    and in violation of these Terms of Use. Your membership may be\n    terminated and any profiles you have created may be deleted if we\n    believe you are less than 13 years of age.")]),s("p",[e._v("REGISTRATION.\n    In order to use certain portion of the Site, you must become a\n    registered user of the Site. If you elect to become a registered user\n    to utilize the Site and/or participate in any Africam promotions, you\n    will be asked to provide your first and last name, email address, and\n    you will need to select a username and password. Alternatively,\n    Africam allows you to become a registered user by using an account\n    you already hold at a third-party website, such a social media\n    website, and importing you existing account information at such\n    third-party website to register you as an Africam registered user.")]),s("p",[e._v("Whether\n    you register for Africam on the Site or through a third-party\n    website, you agree that the username used to log-in to Africam is the\n    property of Africam, and we reserve the right, in our sole\n    discretion, to change, remove or replace any user name for any\n    reason. We may refuse to grant you, and you may 
1not use, an Africam\n    user name that is already being used by someone else; that may be\n    construed as impersonating another person; that belongs to another\n    person; that violates the intellectual property or other rights of\n    any person; that is offensive; or that we reject for any other reason\n    in our sole discretion. Please note that your user name may be viewed\n    by the public, so you should not choose a user name that personally\n    identifies you.")]),s("p",[e._v('You\n    are solely responsible for maintaining the confidentiality of any\n    password you may use to access the Site, and agree not to transfer\n    your user name or password, or lend or otherwise transfer your use of\n    or access to the Site, to any third party. You are fully responsible\n    for all activity that occurs in connection with your user name or\n    password. You agree to immediately notify us of any unauthorized use\n    of your user name or password or any other breach of security related\n    to your account, and to ensure that you "log off"/exit from\n    your account (if applicable) at the end of each session. We are not\n    liable for any loss or damage arising from your failure to comply\n    with any of the foregoing obligations or otherwise.')]),s("p",[e._v('When\n    becoming a registered user, you agree to: (a) provide true, accurate,\n    current and complete information about yourself as prompted by the\n    Africam registration form (such information being the "Registration\n    Data") and (b) maintain and promptly update the Registration\n    Data to keep it accurate. If you provide any information that is\n    untrue, inaccurate, or incomplete, or Africam has reasonable grounds\n    to suspect that such is the case, Africam has the right to suspend or\n    terminate your account and refuse any and all current or future use\n    of the Africam Site and/or services thereon (or any portion thereof).')]),s("p",[e._v("CHILDREN’S\n    INFORMATION. We believe every precaution must be taken to protect\n    children online. In accordance with the Federal Children's Online\n    Privacy Protection Act of 1998 (COPPA), we do not knowingly ask\n    children for any information, nor do we knowingly collect personally\n    identifiable information from children.")]),s("p",[e._v("PROFILE\n    PAGE. When you register for an account with the Site, a profile page\n    will automatically be created for you and certain Registration Data\n    will automatically be pre-populated in your profile page, including\n    user name, the date you registered as an Africam user, and last log\n    on date. You may choose to add information (such as interests, quotes\n    and keyword tags) to or delete certain information from your profile\n    page, but your user name, the date you registered as an Africam user\n    and your last log on date are required information for your profile\n    page. Your profile page will also automatically display the materials\n    you have uploaded or otherwise submitted via the Site. We may also\n    ask you a series of questions, many of which are optional, regarding\n    your interests that will allow other users to search for people with\n    common interests. Please note that your profile page (including any\n    messages that may have been left for you) may be viewed by other\n    users, so you should not include any information in your profile page\n    that you do not want others to see.")]),s("p",[e._v('\n    USE OF SITE AND CONTENT; SUBMISSIONS. You may only use the Site as permitted by the Site to browse the content, make inquiries of Africam, post content including without limitation comments on the content of the Site, blog, post images and snapshots, embed videos, post links on social media sites, send a link from the Site to a friend and make other Submissions (as defined below), sign-up for Africam\'s newsletters or other communications from Africam, and contact and donate to Africam featured non-profit organizations when the contact information is provided. The Site and the content provided through the Site may not be copied, reproduced, republished, uploaded, posted, transmitted or distributed without the written permission of Africam or its third-party providers, except that you may download, display and print one copy of the materials presented on the Site on a single computer for your personal, non-commercial use only. You may not without Africam\'s permission obtained in writing "deep-link" to our video content and photography and "embed" or use analogous technology to include our content in your content. You may not without Africam\'s permission obtained in writing (a) download videos or (b) download our photography as wallpaper or (c) embed our Africam-branded player on your website or within your blog. Should you obtain permission and when you exercise these rights, you must not violate applicable copyright, trademark or other intellectual property laws or other laws. When you make your personal copy, or other copies using these technologies, you must retain all copyright and trademark notices, and any other proprietary notices, contained in the materials. Except as permitted above, the use of such materials in any other manner is prohibited. The term "Submissions" means all comments, blog posts, forums, comments, threads, feedback, suggestions, photos, videos, e-mail and similar information or materials that you submit to Africam. Submissions will not be confidential. Each user is solely responsible for any Submissions made using his or her account. You may not post, transmit, or share any Submissions that would infringe or violate the rights of third-parties. In furtherance of the foregoing, you represent and warrant that by submitting your Submission, you will not be infringing on any other person’s copyright, trademark, trade secret or other proprietary or intellectual property rights, including privacy and publicity rights.\n  ')]),s("p",[e._v("\n  You understand and agree that Africam may, but is not obligated to, review the Site and may delete or remove (with or without notice) any Submission in its sole discretion, for any reason or no reason, including without limitation Submission that in the sole judgment of Africam violates the Terms of Use or which might be offensive, illegal, or that might violate the rights, harm, or threaten the safety of users or others. You are solely responsible at your sole cost and expense for creating backup copies and replacing any Submission you post or store on the Site or provide to Africam.\n  ")]),s("p",[e._v('You\n    shall retain all ownership rights in and to your Submission. By\n    posting a Submission to any part of the Site, you automatically\n    grant, and you represent and warrant that you have the right to\n    grant, to Africam a worldwide, non-exclusive, royalty-free,\n    sublicenseable, perpetual, irrevocable and transferable license to\n    use, reproduce, distribute, prepare derivative works of, display, and\n    perform the Submission in connection with the Site, including without\n    limitation for promoting and redistributing part or all of the Site\n    (and derivative works thereof) in any media formats and through any\n    media channels. You also hereby grant each user a non-exclusive\n    license to access your Submission through the Site, and to use,\n    reproduce, distribute, display and perform such Submission as\n    permitted through the functionality of the Site and under the Terms\n    of Use. In addition, you warrant that all so-called "moral\n    rights" in those materials have been waived.')]),s("p",[e._v('Africam\n    does not control the Submissions posted to the Site and, as such,\n    does not guarantee the accuracy, integrity or quality of any\n    Submission. Africam does not endorse any Submission or any opinion,\n    recommendation, or advice expressed therein, and Africam expressly\n    disclaims any and all liability in connection with any Submission.\n    You understand that by accessing the Site and using the Service, you\n    may be exposed to Submissions that are offensive, indecent or\n    objectionable. Africam does not permit copyright infringing\n    activities and infringement of intellectual property rights on the\n    Site. All Submission are made available "AS IS" and may not\n    be copied, reproduced, distributed, or otherwise exploited in any\n    manner other than as intended by the normal functionality of the Site\n    and these Terms of Use.')]),s("p",[e._v("You\n    should consider all Submissions to be public and not private\n    communications. Although Africam reserves the right to remove without\n    notice any posting for any reason, we have no obligation to delete\n    content that you may find objectionable or offensive. Africam\n    reserves the right to monitor some, all, or no areas of the Site,\n    including without limitation forums, blogs or any other community\n    commenting area, for adherence to these Terms of Use, the Community\n    Guidelines or other rules that may be published from time to time.\n    You acknowledge that by providing you with the ability to distribute\n    content, Africam is acting as a passive conduit for such distribution\n    and Africam is not undertaking any obligation or liability relating\
1n    to any content or activities in any forum.")]),s("p",[e._v('THIRD-PARTY WEBSITES AND CONTENT. Any links from the Site to other websites are\n    provided for your information and convenience only. Africam does not\n    assume any responsibility or liability with respect to any website\n    linked from the Site (or any website linking to the Site), including\n    its content and operation. Africam does not review or monitor such\n    links. A link from the Site to another website (or a link from\n    another website to the Site) does not constitute a referral,\n    endorsement, approval, advertising, offer or solicitation with\n    respect to such website, its contents, or any products or services\n    advertised or distributed through that website. While the Site may\n    contain "links" to other sites, Africam is not responsible\n    for the content or the privacy practices employed by other sites. You\n    acknowledge and agree that all such websites shall be governed by the\n    terms of use and other rules established by the owners, operators or\n    providers of such websites and not these Terms of Use.')]),s("p",[e._v('\n    COMMUNITY\n    STANDARDS AND USER CONDUCT. You acknowledge that each Submission,\n    whether publicly posted or privately transmitted, is the sole\n    responsibility of the person from whose account such Submission\n    originated. This means that you are entirely responsible for any\n    Submission that you or anyone using your account post, email, or\n    otherwise transmit to or via the Site. You agree to not use the Site\n    to: Upload, post, email or otherwise transmit any Submission that is\n    unlawful, harmful, threatening, abusive, harassing, tortious,\n    defamatory, vulgar, obscene, libelous, invasive of another\'s privacy,\n    hateful, or racially, ethnically or otherwise objectionable any\n    material that c
1ould constitute or encourage conduct that would be\n    considered a criminal offense, give rise to civil liability, or\n    otherwise violate any law; Harm minors in any way; Impersonate any\n    person or entity, including, but not limited to, an Africam staff\n    person, forum or blog leader, guide, or host, or falsely state or\n    otherwise misrepresent your affiliation with a person or entity;\n    Forge headers or otherwise manipulate identifiers in order to\n    disguise the origin of any Submission transmitted through the Site;\n    Solicit other users of the Site to join or become members of any\n    online or other service; Upload, post, email or otherwise transmit\n    any Submission that you do not have a right to transmit under any law\n    or under contractual or fiduciary relationships (such as inside\n    information, proprietary and confidential information learned or\n    disclosed as part of employment relationships or under nondisclosure\n    agreements); upload, post, email or otherwise transmit any Submission\n    that infringes any patent, trademark, trade secret, copyright or\n    other proprietary rights of any party; Upload, post, email or\n    otherwise transmit any unsolicited or unauthorized advertising,\n    promotional materials, "junk mail," "spam,"\n    "chain letters," "pyramid schemes," or any other\n    form of solicitation, except in those areas that are designated for\n    such purpose; Upload, post, email or otherwise transmit any material\n    that contains software viruses or any other computer code, files, or\n    programs designed to interrupt, destroy, or limit the functionality\n    of any computer software or hardware or telecommunications equipment;\n    Disrupt the normal flow of dialogue, cause a screen to "scroll"\n    faster than other users of the Site are able to type, or otherwise\n    act in a manner that negatively affects other users\' ability to\n    engage in real-time exchanges; Interfere with or disrupt the Site or\n    the services offered on the Site or servers or networks connected to\n    the Site, or disobey any requirements, procedures, policies, or\n    regulations of networks or third-party providers connected to the\n    Site, or providing any services on or to the Site; "Stalk"\n    or otherwise harass another member or user of the Site; or Collect or\n    store personal data about other users.')]),s("p",[e._v("In\n    addition, you agree that you will not use any device, software or\n    other instrumentality to interfere or attempt to interfere with the\n    proper working of the Site, and that you will not take any action\n    that imposes an unreasonable or disproportionately large load on our\n    infrastructure. In addition, you agree that you will not use any\n    robot, spider, other automatic device, or manual process to monitor\n    or copy our web pages or the content contained herein, without the\n    prior written consent of Africam. Such consent is deemed given for\n    standard search engine technology employed by Internet search web\n    sites to direct Internet users to this site. We may ban a user that\n    is offensive or problematic in their use of the site.")]),s("p",[e._v("Subscription")]),s("p",[e._v("The\n    following services are defined:")]),s("p",[e._v("Africam\n    Premium characterised as follows:")]),s("p",[e._v("Advertising-Free\n    Viewing: The Africam video player will not include any in-stream\n    advertising units (as inserted by Africam) in the form of pre-rolls,\n    mid-rolls, post-rolls, overlays, lower 1/3 banners being placed,\n    inserted and/or streamed within the Africam Player. The Africam\n    Premium subscription is the ability for you to view, play, and watch\n    Africam content and programs without any video advertising either\n    prior to, during or any time within the broadcast and stream of the\n    Content.")]),s("p",[e._v("Additional\n    Services and Features: From time to time, Africam may offer\n    additional services and features to the Africam Premium service,\n    which will be subject to the same Terms.")]),s("p",[e._v("Fees:\n    The Africam Premium packages are $3.25 (+VAT) per month or $29.40 (+VAT) per year . The Africam\n    Premium service can be purchased via our payment portal service. Billing occurs at the time you subscribe\n    for the Africam Premium service or shortly thereafter (following the\n    14 day money back guarantee period)")]),s("p",[e._v("Billing:\n    The Subscription Service fee will be billed to you monthly after your\n    registration of the service and for every month thereafter on a\n    continuous monthly basis until you cancel your Subscription Service\n    via Subscription Management under your profile on the website.")]),s("p",[e._v("All\n    Subscription Service fees are non-refundable. You agree to pay the\n    owners for all charges at the prices then in effect for use of the\n    services by you or other persons (including your agents) using your\n    Subscription Service account, and you hereby authorize the owners to\n    collect fees by charging the credit card ,via PayPal, that you\n    provide to the owners as part of your Subscription Service account\n    information or otherwise, either directly or indirectly.")]),s("p",[e._v("The\n    Subscription Service fee may include sales tax based on the bill-to\n    address and the sales tax rate in effect at the time your transaction\n    is completed. You will be responsible for, and will promptly pay, all\n    taxes and duties of any kind (including but not limited to sales, use\n    and withholding taxes) associated with your receipt or use of the\n    Subscription Service.")]),s("p",[e._v("Termination\n    or Suspension of the Site or Premium Services & Modification of\n    these Premium Terms:")]),s("p",[e._v("The\n    owner reserves the right in its sole discretion, at any time, to\n    modify, discontinue or terminate the Subscription Service service or\n    to modify or terminate these terms without advance notice.")]),s("p",[e._v("Without\n    limiting other remedies, the owner may at any time suspend or\n    terminate your Subscription Service account and refuse to provide\n    access to the websites or Subscription Service. The Websites and the\n    Subscription Service are not available to temporarily or indefinitely\n    suspended subscribers. In addition, the owner may notify authorities\n    or take any actions it deems appropriate, without notice to you, if\n    the owner suspects or determines, in its own discretion, that you may\n    have or there is a significant risk that you have (i) failed to\n    comply with any provision of these terms or any policies or rules\n    established by the owner; or (ii) engaged in actions relating to or\n    in the course of using the websites or Subscription Service that may\n    be illegal or cause liability, harm, embarrassment, harassment, abuse\n    or disruption for you, subscribers, the owner or any other third\n    parties or the Websites or Subscription Service")]),s("p",[e._v("You\n    may terminate your Subscription Service account at any time and for\n    any reason. In the event\n    you terminate your Subscription Service account in the middle of the\n    billing cycle, the owner will not refund a prorated or partial\n    payment of the fee, and you will c
1ontinue to receive the Subscription\n    Service until the end of your monthly billing cycle, where the\n    Subscription Service shall terminate at such time.\n  ")]),s("p",[e._v("Your\n    FREE Africam account will revert back to its benefits and settings\n    until you terminate your Africam account. By terminating your\n    Subscription Service account, the owner will cease from billing the\n    Subscription Service fee in the next monthly billing cycle. If you\n    have an outstanding account balance at the time of cancellation, the\n    owner reserves the right to continue billing until this account\n    balance has been paid.")]),s("p",[e._v("If\n    a Subscription Service is cancelled, postponed, interrupted,\n    significantly changed, and/or contains a failure or error as\n    determined by the owner, no refund (full or partial) for the\n    Subscription Service will be issued to you from the owner. The owner\n    will at all times to the best of its abilities deliver the\n    Subscription Service but due to many external factors out of the\n    control of the owners no refunds will be given.")]),s("p",[s("B",[e._v("Africam\n    Refund Policy")])],1),s("p",[e._v("The\n    Company offers a fourteen (14) day, 100% Money Back, and Satisfaction\n    Guarantee to all subscribers. The fourteen (14) days, 100% Money Back\n    Guarantee, starts from the date of purchase, includes weekends, and\n    only applies to the initial purchase of an Africam Premium monthly\n    subscription package. If a subscriber is dissatisfied with the\n    service for any reason, the subscriber may receive a refund within\n    fourteen (14) days of the subscriber's initial purchase, for a full\n    refund of the first-month subscription purchased price. All other\n    warranties and guarantees are disclaimed. After fourteen (14) days,\n    your purchase will no longer be refundable. Please email\n    [email protected] to cancel your account.\n  ")]),s("p",[e._v("PRIVACY.\n    You represent that you have read the Africam Privacy Policy\n    "),s("A",{attrs:{HREF:"https://www.africam.com/wildlife/privacy-policy",target:"_blank"}},[e._v("www.africam.com/wildlife/privacy-policy")]),e._v(",\n    the terms of which are incorporated herein, and agree that the terms\n    of such policy are reasonable. You consent to the use of any\n    information submitted to Africam by Africam and its third-party\n    providers in accordance with the terms of and for the purposes set\n    forth in the Africam Privacy Policy.")],1),s("p",[e._v("DIGITAL\n    MILLENNIUM COPYRIGHT ACT AGENT. Africam respects the intellectual\n    property rights of others, and requires that the people who use the\n    Site do the same. In accordance with the Digital Millennium Copyright\n    Act, Africam will terminate, in appropriate circumstances and in\n    Africam’s sole discretion, users who Africam finds to\n    repeatedly infringe on the copyrights of others.")]),s("p",[e._v("If\n    you believe that your work has been copied in a way that constitutes\n    copyright infringement, please forward the following information to\n    the Africam named below:")]),e._m(0),s("p",[e._v("Africam\n    Copyright Agent - Unit 109, Old Castle Brewery, 6 Beach Road, Cape\n    Town")]),s("p",[e._v("Email:\n    "),s("A",{attrs:{HREF:"mailto:[email protected]"}},[s("U",[e._v("[email protected]")])],1),e._v(",")],1),s("p",[e._v("For\n    clarity, only copyright infringement notices should go to our\n    Copyright Agent. You acknowledge that if you fail to comply with all\n    of the requirements of this section your notice may not be valid.")]),s("p",[e._v("Counter\n    notice: If you believe the content that was removed (or to which\n    access was disabled) is not infringing, or that you have the\n    authorization from the copyright owner, the copyright owner's agent,\n    or pursuant to the law, to post and use such content, you may submit\n    a counter-notice to the address listed above containing the following\n    information:")]),e._m(1),s("p",[e._v("After\n    we receive your counter-notification, we will forward it to the party\n    who submitted the original claim of copyright infringement. Please\n    note that when we forward the counter-notification, it includes your\n    personal information. By submitting a counter-notification, you\n    consent to having your information revealed in this way. We will not\n    forward the counter-notification to any party other than the original\n    claimant.")]),s("p",[e._v("After\n    we send out the counter-notification, the claimant must then notify\n    us within 10 days that he or she has filed an action seeking a court\n    order to restrain you from engaging in infringing activity relating\
1n    to the content that was removed or disabled. If we receive such\n    notification we will be unable to restore the material. If we do not\n    receive such notification, we may reinstate the material.")]),s("p",[e._v("SPECIALS,\n    PROMOTIONS, SWEEPSTAKES, CONTESTS, POLLS AND SURVEYS. When available,\n    please read the official rules that accompany each special offer,\n    coupon, discount, contest and sweepstakes that we may offer or\n    conduct. These official rules supersede any rules stated in\n    Africam.org's general Terms of Use to the extent of any conflict. In\n    addition, please follow the instructions if you want to participate\n    in our online polls or surveys.")]),s("p",[e._v('EXCLUSION\n    OF WARRANTY. Africam AND ANY THIRD-PARTY PROVIDERS MAKE NO WARRANTY\n    OF ANY KIND REGARDING THIS SITE OR ANY MATERIALS PROVIDED ON THIS\n    SITE, ALL OF WHICH ARE PROVIDED ON AN "AS IS" AND “AS\n    AVAILABLE” BASIS. Africam AND ANY THIRD-PARTY PROVIDERS DO NOT\n    WARRANT THAT THE SITE WILL BE FREE OF DEFECTS, VIRUS OR OTHER HARMFUL\n    ITEMS. Africam WILL NOT BE LIABLE FOR ANY DAMAGES OR LOSS THAT MAY\n    RESULT FROM HACKING OR OTHER INFILTRATION OF THE SITE OR THE Africam\n    COMPUTER SYSTEM. THE ACCURACY, COMPLETENESS, CURRENCY OR RELIABILITY\n    OF ANY OF THE CONTENT OR DATA FOUND ON THIS SITE AND SUCH PARTIES\n    EXPRESSLY DISCLAIM ALL WARRANTIES AND CONDITIONS, INCLUDING IMPLIED\n    WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n    NON-INFRINGEMENT, AN
1D THOSE ARISING BY STATUTE OR OTHERWISE IN LAW OR\n    FROM A COURSE OF DEALING OR USAGE OF TRADE. Although we strive to\n    provide on the Site the latest developments relating to our content\n    and other information about Africam, we do not warrant the accuracy,\n    effectiveness and suitability of any information contained in the\n    Site. Each person assumes full responsibility and all risks arising\n    from use of the Site or from the passage of data across the Internet\n    which is not secure and which is subject to impairments of service\n    and delays. The information is presented "AS IS" and may\n    include technical inaccuracies or typographical errors. Africam may\n    make additions, deletions, or modifications to the Information at any\n    time without any prior notification.')]),s("p",[e._v("LIMITATION\n    OF LIABILITY. Africam ASSUMES NO RESPONSIBILITY, AND SHALL NOT BE\n    LIABLE FOR, ANY DAMAGES TO, OR VIRUSES THAT MAY INFECT YOUR COMPUTER\n    EQUIPMENT OR OTHER PROPERTY DUE TO YOUR ACCESS TO, USE OF, OR\n    BROWSING IN THE SITE OR YOUR DOWNLOADING OF ANY MATERIALS, SOFTWARE,\n    DATA, TEXT, IMAGES, VIDEO, AUDIO OR OTHER MATERIAL FROM THE SITE. IN\n    NO EVENT SHALL Africam OR ANY THIRD-PARTY PROVIDERS BE LIABLE FOR ANY\n    INJURY, LOSS, CLAIM, DAMAGE, OR ANY SPECIAL, EXEMPLARY, PUNITIVE,\n    INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND (INCLUDING,\n    BUT NOT LIMITED TO LOST PROFITS, LOST DATA OR LOST SAVINGS), WHETHER\n    BASED IN CONTRACT, TORT, STRICT LIABILITY, OR OTHERWISE, THAT ARISES\n    OUT OF OR IS IN ANY WAY CONNECTED WITH (i) ANY USE OF THE SITE OR\n    CONTENT FOUND HEREIN, (ii) ANY FAILURE OR DELAY, OR (iii) THE\n    PERFORMANCE OR NON-PERFORMANCE BY Africam OR ANY THIRD-PARTY\n    PROVIDERS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\n    DAMAGES TO SUCH PARTIES OR ANY OTHER PARTY.")]),s("p",[e._v("INDEMNIFICATION.\n    You shall defend and indemnify Africam and any third-party providers\n    and their officers, directors, employees and agents from and against\n    any claim, cause of action or demand, including without limitation\n    reasonable legal and accounting fees, brought by third parties as a\n    result of your use of the Site.")]),s("p",[e._v("RELATIONSHIP.\n    Your use of the Site is independent of Africam and not as an\n    employee, agent, partner, or joint venturer with Africam for any\n    purpose. Except as expressly stated and agreed upon in advance by\n    Africam, no confidential relationship is established if any user of\n    the Site should make any oral, written or electronic communication to\n    Africam (such as feedback, questions, comments, suggestions, ideas,\n    etc.). If Africam requires or requests that such information be\n    provided, and that such information contains personal identifying\n    information (e.g., name, address, phone number), Africam will obtain,\n    use and maintain it in a manner consistent with our\n    "),s("A",{attrs:{HREF:"https://www.africam.com/wildlife/privacy-policy",target:"_blank"}},[e._v(" Privacy Policy")]),e._v("\n    . Otherwise, such communication and any information\n    submitted therewith are considered non-confidential, and Africam is\n    free to reproduce, publish or otherwise use such information for any\n    purposes whatsoever including, without limitation, the research,\n    development, manufacture, use or sale of products incorporating such\n    information. The sender of any information to Africam is fully\n    responsible for its content, including its truthfulness and accuracy\n    and its non-infringement of any other person's proprietary or privacy\n    rights.\n  ")],1),s("p",[e._v("GOVERNING\n    LAW. You agree that all matters governing your use of the websites\n    shall be governed by South African law. You also agree that all\n    claims arising out of the use of the websites will be heard in South\n    Africa and you consent to the jurisdiction of the South African\n    courts.")]),s("p",[e._v("If\n    you have accessed these websites from outside of South Africa it is\n    your responsibility to ensure that you comply with the relevant laws\n    of your jurisdiction and you warrant that you are familiar with such\n    laws.")]),s("p",[e._v("ASSIGNMENT.\n    You may not assign, convey, subcontract or delegate your rights,\n    duties or obligations hereunder.")]),s("p",[e._v("ADDITIONAL\n    TERMS. Additional terms and conditions may apply to various uses of\n    portions of the Site, and you agree to abide by such other terms and\n    conditions.")]),s("p",[e._v("SEVERABILITY.\n    These terms and conditions shall be deemed severable. If any\n    provision is determined to be unenforceable or invalid, such\n    provision shall nonetheless be enforced to the fullest extent\n    permitted by applicable law, and such determination shall not affect\n    the validity and enforceability of any other remaining provisions.")]),s("p",[e._v("HEADINGS.\n    The heading used in these Terms and Conditions are included by\n    convenience only and will not limit or otherwise affect these Terms\n    and Conditions.")]),s("p",[e._v("ENTIRE\n    AGREEMENT. These terms and conditions, together with those\n    incorporated herein or referred to herein constitute the entire\n    agreement between us relating to the subject matter hereof, and\n    supersedes any prior understandings or agreements (whether oral or\n    written) regarding the subject matter, and may not be amended or\n    modified except in writing or by making such amendments or\n    modifications available on the Site.")]),s("p",[e._v("HOW\n    TO CONTACT US. If you have any comments or questions, please do not\n    hesitate to contact us at [email protected], at the phone number above\n    or write us at the address provided.")]),s("p",{staticClass:"q-mt-lg text-center text-weight-medium"}
1,[e._v("\n    Copyright © "+e._s(e.year)+", Africam - CLP Investments PTY Ltd\n  ")])],1)},Do=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ul",[s("li",[e._v("Your\n      address, telephone number, and email address.\n    ")]),s("li",[e._v("A\n      description of the copyrighted work that you claim has been\n      infringed.\n    ")]),s("li",[e._v("A\n      description of where the alleged infringing material is located.\n    ")]),s("li",[e._v("A\n      statement by you that you have a good faith belief that the disputed\n      use is not authorized by you, the copyright owner, its agent, or the\n      law.\n    ")]),s("li",[e._v("An\n      electronic or physical signature of the person authorized to act on\n      behalf of the owner of the copyright interest.\n    ")]),s("li",[e._v("A\n      statement by you, made under penalty of perjury, that the above\n      information is accurate and that you are the copyright owner or\n      authorized to act on behalf of the copyright owner.\n    ")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ul",[s("li",[e._v("Your\n      physical or electronic signature;\n    ")]),s("li",[e._v("Identification\n      of the content that has been removed or to which access has been\n      disabled and the location at which the content appeared before it\n      was removed or disabled;\n    ")]),s("li",[e._v("A\n      statement that you have a good faith belief that the content was\n      removed or disabled as a result of mistake or a misidentification of\n      the content; and\n    ")]),s("li",[e._v("Your\n      name, physical address, telephone number, and e-mail address, a\n      statement that you consent to the jurisdiction of the federal court\n      in Los Angeles, California, and a statement that you will accept\n      service of process from the person who provided notification of the\n      alleged infringement.\n    ")])])}],Vo={name:"TermsOfServiceComponent",computed:{year(){return(new Date).getFullYear()}}},zo=Vo,Mo=Object(Ee["a"])(zo,Lo,Do,!1,null,null,null),jo=Mo.exports,Qo={name:"ContactUsPage",components:{privacyPolicy:Oo,termsOfService:jo},data(){return{form:{comments:"",email:"",name:"",subject:"",browser:navigator.userAgent||"Undefined"},serverValidation:{comments:"",email:"",name:"",subject:""},showPrivacy:!1,showTerms:!1,showTermsPrivacy:!1,submitting:!1}},methods:{closeDialog(){this.showTerms=!1,this.showPrivacy=!1,this.showTermsPrivacy=!1},onSubmit(){var e=this,t=this;t.$refs.contactForm.validate().then((function(s){s&&(t.$set(t,"submitting",!0),t.$axios.post("/api/contact",t.form).then((function(s){t.form.comments="",t.form.email="",t.form.name="",t.form.subject="",e.$refs.contactForm.resetValidation()})).finally((function(){t.$set(t,"submitting",!1)})))})).catch((function(){e.$q.notify({color:"light-baise",textColor:"dark-green",message:"Please correct the errors in your enquiry and try again."})}))},showPrivacyPolicy(){this.showTerms=!1,this.showPrivacy=!0,this.showTermsPrivacy=!0},showTermsOfService(){this.showPrivacy=!1,this.showTerms=!0,this.showTermsPrivacy=!0},termsPrivacyClosed(){this.showTermsPrivacy=!1,this.showPrivacy=!1,this.showTerms=!1},validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):!!_.isEmpty(e)||(!!this.isValidEmail(e)||"The format of your email is incorrect format.")}},mixins:[hi,mi,Po],mounted(){}},Uo=Qo,Fo=s("0378"),Bo=s("27f9"),Ho=s("e669"),Go=s("eb85"),Wo=Object(Ee["a"])(Uo,ko,To,!1,null,null,null),Yo=Wo.exports;ze()(Wo,"components",{QPage:Ci["a"],QCard:Ne["a"],QCardSection:Oe["a"],QForm:Fo["a"],QInput:Bo["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"],QImg:yi["a"],QDialog:Re["a"],QSeparator:Go["a"],QCardActions:Le["a"]}),ze()(Wo,"directives",{ClosePopup:Y["a"]});var Ko=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl q-mt-lg"},[s("div",{staticClass:"col-12",staticStyle:{"max-width":"1600px"}},[s("page-heading",{attrs:{heading:"Lodge Partners",subheading:"Let's start the conversation."}}),s("div",{staticClass:"text-caption"},[e._v("\n          If you have any concerns, please read our complete "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showPrivacyPolicy}},[e._v("Privacy Policy")])]),s("div",{staticClass:"row q-mt-lg q-col-gutter-xl"},[s("div",{staticClass:"col-xs-12 col-md-6 q-mb-md",attrs:{id:"c
1ontact-form"}},[s("q-card",[s("q-card-section",[s("p",{staticClass:"text-h4 q-mb-xl"},[e._v(" Contact Form ")]),s("q-form",{ref:"contactForm",staticClass:"q-gutter-md",class:e.$q.screen.width>400?"q-ma-md":"q-ma-xs",on:{submit:e.onSubmit}},[s("q-input",{ref:"name",attrs:{"error-message":e.serverValidation.name,error:!!e.hasServerError("name"),rules:[function(e){return!!e||"Your name is required"}],"bottom-slots":"",color:"brand-orange","input-class":"text-body2",label:"Your Name","lazy-rules":"",maxlength:"100",type:"text"},on:{focus:function(t){return e.clearInputValidation("name")}},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}}),s("q-input",{ref:"website",attrs:{"error-message":e.serverValidation.website,error:!!e.hasServerError("website"),"bottom-slots":"",color:"brand-orange","input-class":"text-body2",label:"Lodge Website","lazy-rules":"",maxlength:"190",type:"text"},on:{focus:function(t){return e.clearInputValidation("website")}},model:{value:e.form.website,callback:function(t){e.$set(e.form,"website",t)},expression:"form.website"}}),s("q-input",{ref:"name",attrs:{"error-message":e.serverValidation.email,error:!!e.hasServerError("email"),rules:[e.validateEmail],"bottom-slots":"",color:"brand-orange","input-class":"text-body2",label:"Email Address","lazy-rules":"",maxlength:"100",type:"email"},on:{focus:function(t){return e.clearInputValidation("email")}},model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}}),s("q-input",{ref:"comments",attrs:{"error-message":e.serverValidation.comments,error:!!e.hasServerError("comments"),rules:[function(e){return!!e||"Please type your comments"}],"bottom-slots":"",color:"brand-orange","input-class":"text-body2",label:"Comments","lazy-rules":"",maxlength:"1000",type:"textarea"},on:{focus:function(t){return e.clearInputValidation("comments")}},model:{value:e.form.comments,callback:function(t){e.$set(e.form,"comments",t)},expression:"form.comments"}}),s("div",{staticClass:"col-12 q-mt-xl text-normal text-caption text-center"},[s("p",[e._v("By continuing to contact Africam you agree to our "),s("br"),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showPrivacyPolicy}},[e._v("Privacy Policy ")]),e._v("\n                      &\n                      "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showTermsOfService}},[e._v("Terms of Service")])])]),s("div",{staticClass:"q-mt-xl text-center"},[s("q-btn",{staticClass:"text-shadow",staticStyle:{"min-width":"250px"},attrs:{loading:e.submitting,color:"brand-orange",type:"submit",size:"lg"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"}),e._v("\n                        Sending\n                      ")]},proxy:!0}])},[e.submitting?e._e():s("span",[e._v("Send Message")])])],1)],1)],1)],1)],1),s("div",{staticClass:"col-xs-12 col-md-6 q-mb-md"})])],1)]),s("q-dialog",{on:{hide:e.termsPrivacyClosed},model:{value:e.showTermsPrivacy,callback:function(t){e.showTermsPrivacy=t},expression:"showTermsPrivacy"}},[s("q-card",{staticStyle:{"min-height":"80vh",width:"80vw","max-width":"1200px"}},[s("q-card-section",{staticClass:"scroll",staticStyle:{"max-height":"calc(80vh - 52px)"}},[e.showPrivacy?s("privacy-policy"):e._e(),e.showTerms?s("terms-of-service"):e._e()],1),s("q-separator"),s("q-card-actions",{staticClass:"bg-light-baise",staticStyle:{"min-height":"52px"},attrs:{align:"right"}},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{color:"brand-orange",flat:"",label:"CLOSE"}})],1)],1)],1)],1),s("site-footer")],1)},Zo=[],Jo={name:"ContactUsPage",components:{privacyPolicy:Oo,termsOfService:jo},data(){return{form:{comments:"",email:"",name:"",subject:"Lodge Website Enquiry",website:"",browser:navigator.userAgent||"Undefined"},serverValidation:{comments:"",email:"",name:"",subject:"",website:""},showPrivacy:!1,showTerms:!1,showTermsPrivacy:!1,submitting:!1}},methods:{closeDialog(){this.showTerms=!1,this.showPrivacy=!1,this.showTermsPrivacy=!1},onSubmit(){var e=this,t=this;
1t.$refs.contactForm.validate().then((function(s){s&&(t.$set(t,"submitting",!0),t.$axios.post("/api/contact",t.form).then((function(s){t.form.comments="",t.form.email="",t.form.name="",t.form.subject="",t.form.website="",e.$refs.contactForm.resetValidation()})).finally((function(){t.$set(t,"submitting",!1)})))})).catch((function(){e.$q.notify({color:"light-baise",textColor:"dark-green",message:"Please correct the errors in your enquiry and try again."})}))},showPrivacyPolicy(){this.showTerms=!1,this.showPrivacy=!0,this.showTermsPrivacy=!0},showTermsOfService(){this.showPrivacy=!1,this.showTerms=!0,this.showTermsPrivacy=!0},termsPrivacyClosed(){this.showTermsPrivacy=!1,this.showPrivacy=!1,this.showTerms=!1},validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):!!_.isEmpty(e)||(!!this.isValidEmail(e)||"The format of your email is incorrect format.")}},mixins:[hi,mi,Po],mounted(){}},Xo=Jo,er=Object(Ee["a"])(Xo,Ko,Zo,!1,null,null,null);er.exports;ze()(er,"components",{QPage:Ci["a"],QCard:Ne["a"],QCardSection:Oe["a"],QForm:Fo["a"],QInput:Bo["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"],QDialog:Re["a"],QSeparator:Go["a"],QCardActions:Le["a"]}),ze()(er,"directives",{ClosePopup:Y["a"]});var tr=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl q-mt-lg"},[s("div",{staticClass:"col-12",staticStyle:{"max-width":"1600px"}},[s("page-heading",{attrs:{heading:"Campaign Partners",subheading:"Let's make a difference."}}),s("div",{staticClass:"text-caption"},[e._v("\n          If you have any concerns, please read our complete "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showPrivacyPolicy}},[e._v("Privacy Policy")])]),s("div",{staticClass:"row q-mt-lg q-col-gutter-xl"},[s("div",{staticClass:"col-xs-12 col-md-6 q-mb-md",attrs:{id:"contact-form"}},[s("q-card",[s("q-card-section",[s("p",{staticClass:"text-h4 q-mb-xl"},[e._v(" Contact Form ")]),s("q-form",{ref:"contactForm",staticClass:"q-gutter-md",class:e.$q.screen.width>400?"q-ma-md":"q-ma-xs",on:{submit:e.onSubmit}},[s("q-input",{ref:"name",attrs:{"error-message":e.serverValidation.name,error:!!e.hasServerError("name"),rules:[function(e){return!!e||"Your name is required"}],"bottom-slots":"",color:"brand-orange","input-class":"text-body2",label:"Your Name","lazy-rules":"",maxlength:"100",type:"text"},on:{focus:function(t){return e.clearInputValidation("name")}}
1,model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}}),s("q-input",{ref:"website",attrs:{"error-message":e.serverValidation.website,error:!!e.hasServerError("website"),"bottom-slots":"",color:"brand-orange","input-class":"text-body2",label:"Company Website","lazy-rules":"",maxlength:"190",type:"text"},on:{focus:function(t){return e.clearInputValidation("website")}},model:{value:e.form.website,callback:function(t){e.$set(e.form,"website",t)},expression:"form.website"}}),s("q-input",{ref:"name",attrs:{"error-message":e.serverValidation.email,error:!!e.hasServerError("email"),rules:[e.validateEmail],"bottom-slots":"",color:"brand-orange","input-class":"text-body2",label:"Email Address","lazy-rules":"",maxlength:"100",type:"email"},on:{focus:function(t){return e.clearInputValidation("email")}},model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}}),s("q-input",{ref:"comments",attrs:{"error-message":e.serverValidation.comments,error:!!e.hasServerError("comments"),rules:[function(e){return!!e||"Please type your comments"}],"bottom-slots":"",color:"brand-orange","input-class":"text-body2",label:"Comments","lazy-rules":"",maxlength:"1000",type:"textarea"},on:{focus:function(t){return e.clearInputValidation("comments")}},model:{value:e.form.comments,callback:function(t){e.$set(e.form,"comments",t)},expression:"form.comments"}}),s("div",{staticClass:"col-12 q-mt-xl text-normal text-caption text-center"},[s("p",[e._v("By continuing to contact Africam you agree to our "),s("br"),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showPrivacyPolicy}},[e._v("Privacy Policy ")]),e._v("\n                      &\n                      "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showTermsOfService}},[e._v("Terms of Service")])])]),s("div",{staticClass:"q-mt-xl text-center"},[s("q-btn",{staticClass:"text-shadow",staticStyle:{"min-width":"250px"},attrs:{loading:e.submitting,color:"brand-orange",type:"submit",size:"lg"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"}),e._v("\n                        Sending\n                      ")]},proxy:!0}])},[e.submitting?e._e():s("span",[e._v("Send Message")])])],1)],1)],1)],1)],1),s("div",{staticClass:"col-xs-12 col-md-6 q-mb-md"})])],1)]),s("q-dialog",{on:{hide:e.termsPrivacyClosed},model:{value:e.showTermsPrivacy,callback:function(t){e.showTermsPrivacy=t},expression:"showTermsPrivacy"}},[s("q-card",{staticStyle:{"min-height":"80vh",width:"80vw","max-width":"1200px"}},[s("q-card-section",{staticClass:"scroll",staticStyle:{"max-height":"calc(80vh - 52px)"}},[e.showPrivacy?s("privacy-policy"):e._e(),e.showTerms?s("terms-of-service"):e._e()],1),s("q-separator"),s("q-card-actions",{staticClass:"bg-light-baise",staticStyle:{"min-height":"52px"},attrs:{align:"right"}},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{color:"brand-orange",flat:"",label:"CLOSE"}})],1)],1)],1)],1),s("site-footer")],1)},sr=[],ar={name:"ContactUsPage",components:{privacyPolicy:Oo,termsOfService:jo},data(){return{form:{comments:"",email:"",name:"",subject:"Campaign Website Enquiry",website:"",browser:navigator.userAgent||"Undefined"},serverValidation:{comments:"",email:"",name:"",subject:"",website:""},showPrivacy:!1,showTerms:!1,showTermsPrivacy:!1,submitting:!1}},methods:{closeDialog(){this.showTerms=!1,this.showPrivacy=!1,this.showTermsPrivacy=!1},onSubmit(){var e=this,t=this;t.$refs.contactForm.validate().then((function(s){s&&(t.$set(t,"submitting",!0),t.$axios.post("/api/contact",t.form).then((function(s){t.form.comments="",t.form.email="",t.form.name="",t.form.subject="",t.form.website="",e.$refs.contactForm.resetValidation()})).finally((function(){t.$set(t,"submitting",!1)})))})).catch((function(){e.$q.notify({color:"light-baise",textColor:"dark-green",message:"Please correct the errors in your enquiry and try again."})}))},showPrivacyPolicy(){this.showTerms=!1,this.showPrivacy=!0,this.showTermsPrivacy=!0},showTermsOfService(){this.showPrivacy=!1,this.showTerms=!0,this.showTermsPrivacy=!0},termsPrivacyClosed(){this.showTermsPrivacy=!1,this.showPrivacy=!1,this.showTerms=!1}
1,validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):!!_.isEmpty(e)||(!!this.isValidEmail(e)||"The format of your email is incorrect format.")}},mixins:[hi,mi,Po],mounted(){}},ir=ar,or=Object(Ee["a"])(ir,tr,sr,!1,null,null,null);or.exports;ze()(or,"components",{QPage:Ci["a"],QCard:Ne["a"],QCardSection:Oe["a"],QForm:Fo["a"],QInput:Bo["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"],QDialog:Re["a"],QSeparator:Go["a"],QCardActions:Le["a"]}),ze()(or,"directives",{ClosePopup:Y["a"]});var rr=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{staticClass:"q-ma-sm"},[s("div",{staticClass:"row justify-between"},[s("div",{staticClass:"q-pt-md col-5 bg-white"},[s("q-toolbar",{staticClass:"bg-brand-orange text-white text-shadow text-uppercase shadow-2"},[s("q-toolbar-title",[e._v("Available Questions")])],1),s("q-scroll-area",{style:{height:"70vh"}},[s("q-list",{attrs:{separator:""}},e._l(e.questions,(function(t){return s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],key:t.uid,staticClass:"q-pa-lg",attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""},on:{click:function(s){return e.addSelectedQuestion(t)}}},[e.selectedQuestionExists(t)?e._e():s("q-btn",{attrs:{color:"orange-8",size:"sm",flat:"",label:"Queue"}})],1),s("q-item-section",[s("div",{staticClass:"text-caption text-uppercase text-bold"},[s("span",{domProps:{textContent:e._s(t.author||"unknown")}}),e._v(" asked:")]),s("div",{domProps:{textContent:e._s(t.question)}})]),s("q-item-section",{attrs:{side:""}},[e.selectedQuestionExists(t)?s("q-btn",{attrs:{color:"orange-8",size:"sm",flat:"",label:"remove"},on:{click:function(s){return e.deleteSelectedQuestion(t)}}}):e._e()],1)],1)})),1)],1)],1),s("div",{staticClass:"q-pt-md col-5 bg-white"},[s("q-scroll-area",{style:{height:"80vh"}},[s("q-list",{attrs:{separator:""}},e._l(e.selectedQuestions,(function(t){return s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],key:t.uid,attrs:{clickable:""},on:{click:function(s){return e.deleteSelectedQuestion(t)}}},[s("q-item-section",[s("div",{staticClass:"text-caption text-uppercase text-bold"},[s("span",{domProps:{textContent:e._s(t.author||"unknown")}}),e._v(" asked:")]),s("div",{domProps:{textContent:e._s(t.question)}})])],1)})),1)],1)],1)])])],1)},nr=[],lr=Object(ce["a"])("content"),cr=lr.mapGetters,dr={name:"ControllerPage",computed:ne()(ne()({},cr(["streams"])),{},{videoSource(){return _.get(this,"currentStream",null)}}),created(){var e=this;e.$firebaseDB.collection("show-questions").orderBy("sent_at","desc").onSnapshot((function(t){t.docChanges().forEac
1h((function(t){var s=t.doc.data();"added"===t.type&&e.addQuestion(s),"removed"===t.type&&e.deleteQuestion(s)}))})),e.$log("WATCHING QUESTIONS")},data(){return{currentStream:null,questions:[],refresh:15,selectedQuestions:[]}},methods:{addQuestion(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||this.questions.unshift(e)},addSelectedQuestion(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||this.selectedQuestions.indexOf(e)<0&&this.selectedQuestions.unshift(e)},deleteQuestion(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||this.questions.splice(this.questions.indexOf(e),1)},deleteSelectedQuestion(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||this.selectedQuestions.splice(this.selectedQuestions.indexOf(e),1)},selectedQuestionExists(e){return this.selectedQuestions.indexOf(e)>=0},setCamera(e){this.$log("SET CAMERA:",e),this.currentStream=`https://www.youtube.com/embed/live_stream?enablejsapi=1&channel=${e.youtube_id}&rel=0&modestbranding=1&fs=1&autoplay=1&playsinline=1`}},mixins:[hi,mi]},ur=dr,hr=s("65c6"),mr=s("6ac5"),pr=s("4983"),gr=s("1c1c"),vr=s("66e5"),fr=s("4074"),br=s("0170"),wr=Object(Ee["a"])(ur,rr,nr,!1,null,null,null),yr=wr.exports;ze()(wr,"components",{QPage:Ci["a"],QToolbar:hr["a"],QToolbarTitle:mr["a"],QScrollArea:pr["a"],QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"],QBtn:De["a"],QResponsive:Oi["a"],QIcon:Ai["a"],QItemLabel:br["a"]}),ze()(wr,"directives",{Ripple:K["a"]});var xr=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",[a("q-page",{class:[t.appPadding]},[t.getIsSubscriber?t._e():a("ad-leaderboard"),a("div",{staticClass:"row justify-center",class:t.getIsSubscriber?"q-my-xl":"q-mb-xl"},[a("div",{staticClass:"app-width col-12"},[a("page-title",{attrs:{title:"Live Streams"}}),a("p",[t._v("\n          Click on a stream to start watching.\n        ")]),a("div",{staticClass:"row q-mb-sm"},[a("div",{staticClass:"text-right col-xs-12 text-smaller text-grey-5"},[t._v("\n            Streams Per Row\n            "),a("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:t.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:t.perRow,callback:function(e){t.perRow=e},expression:"perRow"}})],1)]),a("div",{staticClass:"row q-col-gutter-sm q-mt-sm"},[t._l(t.finalStreams,(function(e,s){return[t.injectAdvert(s)&&!t.getIsSubscriber?a("div",{staticClass:"col-xs-12 q-py-md text-center"},[t.adsOn?a("ad-horizontal-long",{attrs:{"slot-size":t.slotSize}}):t._e(),a("q-resize-observer",{attrs:{debounce:"250"},on:{resize:t.adSlotResize}})],1):t._e(),a("div",{class:t.columnClasses},[a("div",{staticClass:"cursor-pointer",class:e.subscriber_only&&!t.getIsSubscriber?"stream-preview-overlay":"",on:{click:function(s){return t.goToStream(e)}}},[a("stream-preview",{attrs:{"card-classes":"bg-transparent",ratio:16/9,"show-preview":!1,stream:e,refresh:t.getIsSubscriber?160:0,basic:"",overlay:""},on:{click:function(s){return t.goToStream(e)}}}),e.subscriber_only&&!t.getIsSubscriber?a("div",{staticClass:"stream-preview-caption"},[t._v("\n                  PREMIUM ONLY\n                ")]):t._e()],1)])]}))],2),a("div",{staticClass:"q-mt-md q-mr-sm"},[a("q-card",[a("q-card-section",[a("p",{staticClass:"text-weight-bold text-h6 q-mt-sm"},[t._v("\n                CAMERA STATUS UPDATES\n              ")]),t.checkStreamsStatus?t._e():a("div",{staticClass:"text-subtitle2"},[t._v("\n                No issues currently\n              ")]),t._l(t.offlineStreams,(function(e,s){return e.status_update?[a("div",[a("q-badge",{staticClass:"text-h7 text-uppercase",attrs:{color:"brand-orange","text-color":"white"},domProps:{textContent:t._s(e.name)}}),a("span",{staticClass:"q-my-none"},[t._v(" : ")]),a("span",{staticClass:"text-subtitle1"},[t._v("\n                    "+t._s(e.status_update)+"\n                  ")])],1)]:t._e()}))],2)],1)],1),t.getIsSubscriber?t._e():a("div",{staticClass:"q-my-xl"},[t.adsOn?a("ad-horizontal-long",{attrs:{"slot-size":t.slotSize}}):a("kids-course-horizontal-long",{attrs:{"slot-size":t.slotSize}})],1)],1)]),a("upgrade-prompt",{attrs:{action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}})],1),a("site-footer")],1)},qr=[],_r=(s("4e82"),Object(ce["a"])("content")),Sr=_r.mapGetters,Cr=Object(ce["a"])("user"),Ar=Cr.mapActions,kr=Cr.mapGetters,Tr={
1name:"LiveStreamsPage",computed:ne()(ne()(ne()({},Sr(["streams"])),kr(["getAuthenticated","getIsSubscriber"])),{},{columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},currentStreams(){return this.streams.filter((function(e){return e.active}))},offlineStreams(){return this.streams.filter((function(e){return!e.active}))},statusStreams(){return this.streams.filter((function(e){return e.status_update}))},weightedStreams(){return this.currentStreams.sort((function(e,t){return e.weight-t.weight}))},finalStreams(){return this.weightedStreams.filter((function(e){return!e.status_update}))},checkStreamsStatus(){return this.statusStreams.length>0}}),data(){return{perRow:3,refresh:30,slotSize:0,adsOn:!1,upgradeAction:{},upgradeCTA:"",upgradeMessage:"",showUpgradePrompt:!1}},methods:ne()(ne()({},Ar(["fetchUser"])),{},{adSlotResize(e){this.slotSize=e.width},goToStream(e){if(!_.isNil(e))return e.subscriber_only?this.getIsSubscriber?void le["a"].$emit("routeTo",{name:"stream",params:{slug:`${e.slug}`}}):(this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="This Live stream is only available on Africam Premium. Subscribe now and enjoy ads free live streams and subscriber exclusive content, and help promote wildlife conservation.",void(this.showUpgradePrompt=!0)):void le["a"].$emit("routeTo",{name:"stream",params:{slug:`${e.slug}`}})},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%this.perRow===0}}),mixins:[hi,mi],mounted(){this.perRow=this.sensibleRowsPerPage(3,"streamsViewPerRow"),this.fetchUser()},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("streamsViewPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("streamsViewPerRow"))&&void 0!==t?t:3)}}},Pr=Tr,Ir=(s("0565"),s("58a8")),$r=Object(Ee["a"])(Pr,xr,qr,!1,null,null,null),Er=$r.exports;ze()($r,"components",{QPage:Ci["a"],QBtnToggle:So["a"],QResizeObserver:ho["a"],QCard:Ne["a"],QCardSection:Oe["a"],QBadge:Ir["a"]});var Rr=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",[s("div",{staticClass:"row justify-center bg-dark-green"},[s("div",{staticClass:"col-12",staticStyle:{"max-width":"1600px"}},[s("div",{staticClass:"row justify-between q-ma-xl q-mb-lg",style:{minHeight:e.$q.screen.width>1440?"500px":""}},[s("div",{class:e.headerClassesLeft},[s("div",{staticClass:"q-pa-md",class:e.$q.screen.width<1024?"":"text-left"},[s("div",{staticClass:"text-white",style:e.pageTitleStyles},[e._v("\n                The fun, informative wildlife course for kids\n              ")]),s("p",{staticClass:"text-white text-weight-light q-mt-lg"},[e._v("\n                Join Phill for the 6-week introductory Africam junior ranger course. It’s free, it’s fun, it’s safe\n                and it will be packed with wonderful facts about Africa’s animals.\n              ")]),s("div",{class:e.$q.screen.width<1024?"text-center q-my-lg":"text-left q-mt-md"},[s("div",{staticClass:"text-dark-baise text-italic"},[e._v(" Course registrations are currently closed, but please check back in a few weeks for our next set of dates.")]),e._e()],1)])]),s("div",{class:[e.headerClassesRight,e.$q.screen.width>949?"relative-position":""]},[s("div",{staticClass:"inline rounded-borders bg-red"},[s("youtube",{attrs:{"aspect-ratio":"16:9",previewImageSize:"hqdefault",src:"https://www.youtube.com/embed/X2gr1SSp4iM?rel=0&autoplay=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"}})],1)])])])]),s("div",{staticClass:"row justify-center text-white bg-light q-pa-lg",staticStyle:{"background-color":"#7DAFF0"}},[s("div",{staticClass:"col-12 ",staticStyle:{"max-width":"1600px"}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-sm-6 text-center"},[s("q-img",{attrs:{ratio:.9,src:"/images/kids/week1.jpg"}})],1),s("div",{staticClass:"col-xs-12 col-sm-6",class:e.$q.screen.width>900?"relative-position":""},[s("div",{class:e.$q.screen.width>900?"absolute-center":"",staticStyle:{width:"90%"}},[s("div",{class:e.sectionHeaderClasses},[s("div",{class:e.$q.screen.width<600?"text-center":""},[s("div",{staticClass:"text-subtitle1"},[s("span",{staticClass:"text-weight-bold"},[e._v("Week 1")]),e._v("\n                    - Mon 7th June\n                  ")]),s("div",{staticClass:"text-weight-bold"},[e._v("\n                    Introduction to Africam's Ecosystems and Animals\n                  ")])])]),s("div",{class:e.sectionCopyClasses},[e._v("\n                When do Lions hunt? Do Giraffes sleep standing up, where do Hyaenas Live?\n                All will be revealed in the first fun show to kick off our junior ranger show.\n              ")])])])])])]),s("div",{staticClass:"row justify-center bg-light q-pa-lg",staticStyle:{"background-color":"#D4ED68"}},[s("div",{staticClass:"col-12 ",staticStyle:{"max-width":"1600px"}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-sm-6 ",class:e.$q.screen.width>900?"relative-position":""},[s("div",{class:e.$q.screen.width>900?"absolute-center":"",staticStyle:{width:"90%"}},[s("div",{class:e.sectionHeaderClasses},[s("div",{class:e.$q.screen.width<600?"text-center":""},[s("div",{staticClass:"text-subtitle1 text-dark-green"},[s("span",{staticClass:"text-weight-bold"},[e._v("Week 2")]),e._v("\n                    - Mon 14th June\n                  ")]),s("div",{staticClass:"text-weight-bold"},[e._v("\n                    The Cats of Africam & Africa\n                  ")])])]),s("div",{class:e.sectionCopyClasses},[e._v("\n                Spot the difference? In week 2 Phill covers all the big cats and s
1ome small ones to. Don't miss out on\n                this Predator special.\n              ")])])]),s("div",{staticClass:"col-xs-12 col-sm-6",class:e.$q.screen.width<600?"order-first":"order-last"},[s("q-img",{attrs:{ratio:.9,src:"/images/kids/week2.jpg"}})],1)])])]),s("div",{staticClass:"row justify-center text-white bg-light q-pa-lg",staticStyle:{"background-color":"#ED5F51"}},[s("div",{staticClass:"col-12 ",staticStyle:{"max-width":"1600px"}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-sm-6 text-center"},[s("q-img",{attrs:{ratio:.9,src:"/images/kids/week3.jpg"}})],1),s("div",{staticClass:"col-xs-12 col-sm-6",class:e.$q.screen.width>900?"relative-position":""},[s("div",{class:e.$q.screen.width>900?"absolute-center":"",staticStyle:{width:"90%"}},[s("div",{class:e.sectionHeaderClasses},[s("div",{class:e.$q.screen.width<600?"text-center":""},[s("div",{staticClass:"text-subtitle1"},[s("span",{staticClass:"text-weight-bold"},[e._v("Week 3")]),e._v("\n                    - Mon 21st June\n                  ")]),s("div",{staticClass:"text-weight-bold"},[e._v("\n                    Identifying animal tracks, signs & sounds\n                  ")])])]),s("div",{class:e.sectionCopyClasses},[e._v("\n                Test your junior ranger skills as Phill brings all his experience from the bush live to your classroom\n                .\n                Learn how to indentify tracks, pick up signs and listen to the sounds of the bush.\n              ")])])])])])]),s("div",{staticClass:"row justify-center bg-light q-pa-lg",staticStyle:{"background-color":"#A3635C"}},[s("div",{staticClass:"col-12 ",staticStyle:{"max-width":"1600px"}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-sm-6 ",class:e.$q.screen.width>900?"relative-position":""},[s("div",{class:e.$q.screen.width>900?"absolute-center":"",staticStyle:{width:"90%"}},[s("div",{class:e.sectionHeaderClasses},[s("div",{class:e.$q.screen.width<600?"text-center":""},[s("div",{staticClass:"text-subtitle1 text-dark-green"},[s("span",{staticClass:"text-weight-bold"},[e._v("Week 4")]),e._v("\n                    - Mon 26th June\n                  ")]),s("div",{staticClass:"text-weight-bold"},[e._v("\n                    The Small Critters - The Unusual & Bizarre\n                  ")])])]),s("div",{class:e.sectionCopyClasses},[e._v("\n                Everyone's heard of the Big 5. What about the small 5?\n                This entertaining show is focussed on the amazing small creatures we seldom see.\n              ")])])]),s("div",{staticClass:"col-xs-12 col-sm-6",class:e.$q.screen.width<600?"order-first":"order-last"},[s("q-img",{attrs:{ratio:.9,src:"/images/kids/week4.jpg"}})],1)])])]),s("div",{staticClass:"row justify-center text-white bg-light q-pa-lg",staticStyle:{"background-color":"#7DAFF0"}},[s("div",{staticClass:"col-12 ",staticStyle:{"max-width":"1600px"}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-sm-6 text-center"},[s("q-img",{attrs:{ratio:.9,src:"/images/kids/week5.jpg"}})],1),s("div",{staticClass:"col-xs-12 col-sm-6",class:e.$q.screen.width>900?"relative-position":""},[s("div",{class:e.$q.screen.width>900?"absolute-center":"",staticStyle:{width:"90%"}},[s("div",{class:e.sectionHeaderClasses},[s("div",{class:e.$q.screen.width<600?"text-center":""},[s("div",{staticClass:"text-subtitle1"},[s("span",{staticClass:"text-weight-bold"},[e._v("Week 5")]),e._v("\n                    - Mon 5th July\n                  ")]),s("div",{staticClass:"text-weight-bold"},[e._v("\n                    Majestic Elephants\n                  ")])])]),s("div",{class:e.sectionCopyClasses},[e._v("\n                What do you call the mom of the Herd? What is a big tusker and how many are left?\n                Phill answers these questions and many more in the Elephant Show in week 5.\n              ")])])])])])]),s("div",{staticClass:"row justify-center bg-light q-pa-lg",staticStyle:{"background-color":"#D4ED68"}},[s("div",{staticClass:"col-12 ",staticStyle:{"max-width":"1600px"}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-sm-6 ",class:e.$q.screen.width>900?"relative-position":""},[s("div",{class:e.$q.screen.width>900?"absolute-center":"",staticStyle:{width:"90%"}},[s("div",{class:e.sectionHeaderClasses},[s("div",{class:e.$q.screen.width<600?"text-center":""},[s("div",{staticClass:"text-subtitle1 text-dark-green"},[s("span",{staticClass:"text-weight-bold"},[e._v("Week 6")]),e._v("\n                    - Mon 12th July\n                  ")]),s("div",{staticClass:"text-weight-bold"},[e._v("\n                    Rhino's & Conservation\n                  ")])])]),s("div",{class:e.sectionCopyClasses},[e._v("\n                In Rhino and conservation, Phill talks about these magnificent animals and why they are worth saving.\n                We also visit the worlds biggest Rhino sanctuary to find out more about their efforts.\n              ")])])]),s("div",{staticClass:"col-xs-12 col-sm-6",class:e.$q.screen.width<600?"order-first":"order-last"},[s("q-img",{attrs:{ratio:.9,src:"/images/kids/week6.jpg"}})],1)])])]),s("div",{staticClass:"row justify-center bg-light q-pa-lg",staticStyle:{"background-color":"#ED5F51"}},[s("div",{staticClass:"col-12 ",staticStyle:{"max-width":"1600px"}},[s("div",{staticClass:"row q-mt-xl"},[s("div",{staticClass:"col-xs-12 col-md-6 relative-position",staticStyle:{"min-height":"250px"}},[s("div",{staticClass:"absolute-center",staticStyle:{width:"80%"}},[s("div",{class:e.sectionHeaderClasses},[e._v("\n                Frequently Asked Questions\n              ")]),s("div",{staticClass:"text-subtitle1 q-mt-lg"},[e._v("\n                Click on a question\n                "),e.$q.screen.width>1023?s("span",[e._v(" on the right ")]):s("span",[e._v(" below ")]),e._v("\n                to find out more.\n              ")])])]),s("div",{staticClass:"col-xs-12 col-md-6"},[s("q-list",[s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black","default-opened":"",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"Are the African4Kids shows safe?",popup:""}},[s("q-card",[s("q-card-section",{staticClass:"q-pa-lg"},[e._v("\n                    Yes. Our Rangers have worked at some of Africa’s most respected Lodges where their experience has\n                    included delivered modules which form part of the Kids programs.\n                    Africam will also ensure that no sensitive content will be featured. Furthermore, all participants\n                    will need to register prior to the course to interact and ask questions.\n                    All questions will be screened.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"How do I register for my class or my children and how does it work?",popup:""}},[s("q-card",[s("q-card-section",{staticClass:"q-pa-lg"},[e._v("\n                    Whether you are home-schooling or teaching children in a classroom, the registration is simple.\n                    Click on the registration button and please provide your email as the Educator.\n                    This will ensure that all updates and course information will be sent directly to you.\n                    During the registration process, we will also ask you for the age, number of the learners and what\n                    time best suits you for the course.\n                    This will help us pitch the course to the audience.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"Can my children ask the Ranger questions?",popup:""}},[s("q-card",[s("q-card-section",{staticClass:"q-pa-lg"},[e._v("\n                    Yes. Each course module will be broadcast live.\n                    The Ranger will be available to answer questions during the shows.\n                    Should we not be able to answer all the questions, we will provide an email and respond in writing\n                    to the questions not covered in the show.\n                    We have a simple input box below the video player.\n                    All we ask is that you include the child's name when asking the question so the Ranger can\n                    acknowledge them in his response.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"What time will the shows be scheduled and how long will they be?",popup:""}},[s("q-card",[s("q-card-section",{staticClass:"q-pa-lg"},[e._v("\n                    The proposed time for the Shows will be on a Monday at 2:00pm GMT.\n                    We will however take into account the time preferences that you specified in your registration and\n                    may change the show time based on what suits the audience best.\n                    The shows are scheduled to be 20 minutes.\n                    However, we may extend the show should there be engagement and questions from the audience.\n                    Furthermore, you will be able to access past shows for the duration of the program should you wish\n                    to re
1cap or should you have missed the Live show.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"Tell us more about the assignment at the end of the course?",popup:""}},[s("q-card",[s("q-card-section",{staticClass:"q-pa-lg"},[e._v("\n                    Upon course completion, we will provide a fun interactive online assignment for the kids to test\n                    their knowledge and showcase all the wonderful learnings that they have covered over the past 6\n                    weeks.\n                    Our intention is for the course and assignment to be rewarding and a super fun activity.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"What age group will the shows be aimed at?",popup:""}},[s("q-card",[s("q-card-section",{staticClass:"q-pa-lg"},[e._v("\n                    In the registration process, we will ask you for the children's age groups.\n                    This will enable us to pitch the show to that age group.\n                    However, we do expect the shows to be entertaining and full of facts and appeal to all children\n                    and most adults.\n                  ")])],1)],1)],1)],1)])])]),e._e()]),s("site-footer"),s("q-dialog",{on:{hide:e.termsPrivacyClosed},model:{value:e.showTermsPrivacy,callback:function(t){e.showTermsPrivacy=t},expression:"showTermsPrivacy"}},[s("q-card",{staticStyle:{"min-height":"80vh",width:"80vw","max-width":"1200px"}},[s("q-card-section",{staticClass:"scroll",staticStyle:{"max-height":"calc(80vh - 52px)"}},[e.showPrivacy?s("privacy-policy"):e._e(),e.showTerms?s("terms-of-service"):e._e()],1),s("q-separator"),s("q-card-actions",{staticClass:"bg-light-baise",staticStyle:{"min-height":"52px"},attrs:{align:"right"}},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{color:"brand-orange",flat:"",label:"CLOSE"}})],1)],1)],1)],1)},Nr=[],Or={name:"KidsCourse",components:{privacyPolicy:Oo,termsOfService:jo},computed:{introPlayerSize(){return this.$q.screen.width>1024?{width:"970px",maxWidth:"80vw"}:{width:"728px",maxWidth:"95vw"}},headerClassesLeft(){return this.$q.screen.width>1280||this.$q.screen.width>1024?"col-xs-5":"col-xs-12"},headerClassesRight(){return this.$q.screen.width>1280||this.$q.screen.width>1024?"col-xs-6":"col-xs-12 q-mt-lg"},pageTitleStyles(){return this.$q.screen.width>1280?{fontWeight:"600",fontSize:"2.5em"}:this.$q.screen.width>1024?{fontWeight:"600",fontSize:"2.2em"}:this.$q.screen.width>1024?{fontWeight:"600",fontSize:"2.6em"}:{fontWeight:"600",fontSize:"2.2em"}},scrollStyle(){return{height:this.cardHeight-53+"px"}},sectionCopyClasses(){return this.$q.screen.width>1023?"text-subtitle1 q-mt-lg":this.$q.screen.width>768?"q-mt-lg":"text-subtitle2 q-mt-lg"},sectionHeaderClasses(){return this.$q.screen.width>1280?"text-h3 text-weight-medium":this.$q.screen.width>768?"text-h4 text-weight-medium":"text-h5 text-weight-medium"}},data(){return{form:{name:"",email:"",school:"",number_of_kids:null,three_six:!1,seven_nine:!1,ten_twelve:!1,thirteen_plus:!1,preferred_time:0,fun_facts:!1},serverValidation:{name:"",email:"",school:"",number_of_kids:null,three_six:!1,seven_nine:!1,ten_twelve:!1,thirteen_plus:!1,preferred_time:0,fun_facts:!1},hourOptions:_.range(8,17),registered:!1,registering:!1,selected_time:null,showPrivacy:!1,showTerms:!1,showTermsPrivacy:!1}},methods:{register(){var e=this,t=this;t.$refs.registrationForm.validate().then((function(s){var a,i,o,r,n,l,c,d,u,h,m,p,g,v,f,b,w,y,x,q,S;console.log("Registering ..."),t.registering=!0,t.$axios.post("/api/kids-course/register",{name:null!==(a=null===t||void 0===t||null===(i=t.form)||void 0===i?void 0:i.name)&&void 0!==a?a:"",email:null!==(o=null===t||void 0===t||null===(r=t.form)||void 0===r?void 0:r.email)&&void 0!==o?o:"",school:null!==(n=null===t||void 0===t||null===(l=t.form)||void 0===l?void 0:l.school)&&void 0!==n?n:"",number_of_kids:null!==(c=null===t||void 0===t||null===(d=t.form)||void 0===d?void 0:d.number_of_kids)&&void 0!==c?c:0,three_six:null!==(u=null===t||void 0===t||null===(h=t.form)||void 0===h?void 0:h.three_six)&&void 0!==u&&u?1:0,seven_nine:null!==(m=null===t||void 0===t||null===(p=t.form)||void 0===p?void 0:p.seven_nine)&&void 0!==m&&m?1:0,ten_twelve:null!==(g=null===t||void 0===t||null===(v=t.form)||void 0===v?void 0:v.ten_twelve)&&void 0!==g&&g?1:0,thirteen_plus:null!==(f=null===t||void 0===t||null===(b=t.form)||void 0===b?void 0:b.thirteen_plus)&&void 0!==f&&f?1:0,fun_facts:null!==(w=null===t||void 0===t||null===(y=t.form)||void 0===y?void 0:y.fun_facts)&&void 0!==w&&w?1:0,preferred_time:null!==(x=null===t||void 0===t||null===(q=t.form)||void 0===q?void 0:q.preferred_time)&&void 0!==x?x:null,offset:null!==(S=t.$dayjs().format("Z"))&&void 0!==S?S:null}).then((function(e){t.registered=!0}
1)).catch((function(s){console.log("ERROR:",s),t.setServerErrorMessages(s);var a=[];if(_.isObject(s)){var i=_.get(s,"data.errors",[]);_.each(i,(function(e,t){var s=_.isArray(e)?e.join(", "):e;a.push(s)}))}else a.push(s);e.$q.notify({color:"light-baise",textColor:"dark-green",html:!0,message:"We have unfortunately experienced an error trying to register you. If you need assistance, please send the following error to <strong>[email protected]</strong> : <br><br>"+a.join(", "),timeout:3e4})})).finally((function(){t.registering=!1}))}))},scrollToRegister(){var e=this.$refs["register"],t=e.offsetTop;window.scrollTo(0,t)},showPrivacyPolicy(){this.showTerms=!1,this.showPrivacy=!0,this.showTermsPrivacy=!0},showTermsOfService(){this.showPrivacy=!1,this.showTerms=!0,this.showTermsPrivacy=!0},termsPrivacyClosed(){this.showTermsPrivacy=!1,this.showPrivacy=!1,this.showTerms=!1},validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):_.isEmpty(e)?(this.$q.notify({color:"light-baise",textColor:"dark-green",message:"Your email address is required.",timeout:7e3}),"Your email is required."):!!this.isValidEmail(e)||(this.$q.notify({color:"light-baise",textColor:"dark-green",message:"The format of your email is incorrect. It should look like e.g. [email protected] or [email protected]",timeout:7e3}),"The format of your email is incorrect.")}},mixins:[hi,mi,Po],watch:{selected_time(e){this.$set(this.form,"preferred_time",e)}}},Lr=Or,Dr=(s("ebe8"),s("3b73")),Vr=s("e359"),zr=s("ddd8"),Mr=s("8572"),jr=s("8f8e"),Qr=Object(Ee["a"])(Lr,Rr,Nr,!1,null,null,null),Ur=Qr.exports;ze()(Qr,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QList:gr["a"],QExpansionItem:Dr["a"],QHeader:Vr["a"],QCard:Ne["a"],QCardSection:Oe["a"],QForm:Fo["a"],QInput:Bo["a"],QIcon:Ai["a"],QSelect:zr["a"],QItem:vr["a"],QItemSection:fr["a"],QItemLabel:br["a"],QField:Mr["a"],QCheckbox:jr["a"],QSpinnerFacebook:Ho["a"],QDialog:Re["a"],QSeparator:Go["a"],QCardActions:Le["a"]}),ze()(Qr,"directives",{ClosePopup:Y["a"]});var Fr=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-layout",{attrs:{view:"hHh lpR fFf"}},[s("header-bar"),s("q-drawer",{attrs:{"no-swipe-open":"","no-swipe-backdrop":"",side:"left",elevated:""},model:{value:e.left,callback:function(t){e.left=t},expression:"left"}},[s("left-nav",{attrs:{showing:e.left}})],1),s("q-drawer",{attrs:{width:e.chatWidth,behavior:"desktop",elevated:e.$q.screen.width<1024,overlay:e.$q.screen.width<1024,side:"right"},model:{value:e.showChat,callback:function(t){e.showChat=t},expression:"showChat"}},[s("chat",{attrs:{chat:e.currentChat,height:e.chatHeight,"is-flyout":""}}),s("q-resize-observer",{attrs:{debounce:"100"},on:{resize:e.onChatResize}})],1),s("q-page-container",[s("transition",{attrs:{"enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut",appear:"",duration:350}},[s("router-view")],1),s("scroll-to-top")],1)],1)},Br=[],Hr=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"fit",staticStyle:{"background-color":"#ECECEC"}},[s("div",{staticClass:"row relative-position bg-black"},[s("div",{staticClass:"col-12",staticStyle:{"min-height":"50px","padding-left":"57px"}},[e.showing?s("q-img",{staticStyle:{"margin-top":"12px"},attrs:{ratio:563/139,"no-default-spinner":"",transition:"fade",width:"100px",src:"logos/logo-white-on-trans.svg"},on:{click:e.closeNav}}):e._e(),s("q-icon",{staticClass:"absolute-top-right q-ma-md",attrs:{color:"brand-orange",name:"fas fa-times",size:"xs"},on:{click:e.closeNav}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12"},[s("q-list",{attrs:{separator:""}},[e.getIsSubscriber?e._e():s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"home"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}},[s("q-item-section",[e._v("HOME")])],1),e.getIsSubscriber?e._e():s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"premium"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}},[s("q-item-section",[e._v("SIGN UP")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"streams"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}},[s("q-item-section",[e._v("LIVE")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"shows"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}},[s("q-item-section",[e._v("WATCH")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"learn"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}},[s("q-item-section",[e._v("LEARN")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"video-highlights"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}},[s("q-item-section",[e._v("LATEST SIGHTINGS")])],1),e.getIsSubscriber?s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"the-boma"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}}
1,[s("q-item-section",[e._v("MULTICAM")])],1):e._e(),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"leaderboard"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}},[s("q-item-section",[e._v("PLAY")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"shop"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}},[s("q-item-section",[e._v("SHOP")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"black"},expression:"{ color: 'black' }"}],attrs:{clickable:"",to:{name:"contact-us"},exact:"","exact-active-class":"text-grey bg-darker-green"},on:{click:e.closeNav}},[s("q-item-section",[e._v("CONTACT US")])],1)],1)],1)])])},Gr=[],Wr=Object(ce["a"])("user"),Yr=Wr.mapGetters,Kr={name:"LeftNavigation",computed:ne()({},Yr(["getIsSubscriber"])),methods:{closeNav(){le["a"].$emit("showLeftNav",!1)}},props:{showing:{default:!1,required:!0,type:Boolean}}},Zr=Kr,Jr=Object(Ee["a"])(Zr,Hr,Gr,!1,null,null,null),Xr=Jr.exports;ze()(Jr,"components",{QImg:yi["a"],QIcon:Ai["a"],QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"]}),ze()(Jr,"directives",{Ripple:K["a"]});var en=Object(ce["a"])("chat"),tn=en.mapGetters,sn=en.mapMutations,an=Object(ce["a"])("user"),on=an.mapGetters,rn={components:{"left-nav":Xr},computed:ne()(ne()(ne()({},tn(["getChatVisible"])),on(["getIsSubscriber","getAuthenticated"])),{},{chatWidth(){return.8*this.$q.screen.width<450?.8*this.$q.screen.width:450},currentChat(){return _.get(this,"chat","chat-general")}}),data(){return{chat:"chat-general",chatHeight:this.$q.screen.height-40,left:!1,showChat:!1}},methods:ne()(ne()({},sn(["setChatVisibility"])),{},{onChatResize(e){this.chatHeight=e.height,console.log(e)},toggleChat(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.showChat=!!e},toggleLeftNav(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.left=!!e}}),mounted(){var e=this;le["a"].$on("showLeftNav",e.toggleLeftNav),le["a"].$on("showChat",e.toggleChat)},watch:{showChat(e){this.setChatVisibility(e)}}},nn=rn,ln=s("4d5a"),cn=s("9404"),dn=s("09e3"),un=Object(Ee["a"])(nn,Fr,Br,!1,null,null,null),hn=un.exports;ze()(un,"components",{QLayout:ln["a"],QDrawer:cn["a"],QResizeObserver:ho["a"],QPageContainer:dn["a"]});var mn=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-layout",{attrs:{view:"hHh lpR fFf"}},[s("q-page-container",[s("transition",{attrs:{"enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut",appear:"",duration:350}},[s("router-view")],1)],1)],1)},pn=[],gn={},vn=Object(Ee["a"])(gn,mn,pn,!1,null,null,null),fn=vn.exports;ze()(vn,"components",{QLayout:ln["a"],QPageContainer:dn["a"]});var bn=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-layout",{attrs:{view:"hHh lpR fFf"}},[s("q-page-container",[s("transition",{attrs:{"enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut",appear:"",duration:350}},[s("router-view")],1)],1)],1)},wn=[],yn={},xn=Object(Ee["a"])(yn,bn,wn,!1,null,null,null),qn=xn.exports;ze()(xn,"components",{QLayout:ln["a"],QPageContainer:dn["a"]});var _n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-layout",{attrs:{view:"hHh lpR fFf"}},[s("logo-header-bar"),s("q-page-container",[s("transition",{attrs:{"enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut",appear:"",duration:350}},[s("router-view")],1)],1)],1)},Sn=[],Cn={},An=Object(Ee["a"])(Cn,_n,Sn,!1,null,null,null),kn=An.exports;ze()(An,"components",{QLayout:ln["a"],QPageContainer:dn["a"]});var Tn=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"row justify-center"},[s("div",{staticClass:"col-xs-11 q-mt-xl"},[s("q-form",{ref:"showForm",on:{submit:function(t){return t.preventDefault(),e.updateShows(t)}}},[s("div",{staticClass:"row q-col-gutter-xl q-pa-lg q-mt-sm q-mb-lg"},[s("div",{staticClass:"col-xs-12 col-sm-6 bg-grey-1 q-pa-lg"},[s("div",{staticClass:"q-mb-lg"},[s("div",{staticClass:"text-h4"},[e._v("Current Show")]),s("div",{staticClass:"subtitle-2"},[e._v("\n                      Content for the currently active show.\n                    ")])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-md-6 col-lg-8"},[s("q-select",{attrs:{rules:[function(e){return!!e||"Field is required"}],options:e.showOptions,label:"Show Type"},model:{value:e.form.current_show_type,callback:function(t){e.$set(e.form,"current_show_type",t)},expression:"form.current_show_type"}})],1),s("div",{staticClass:"q-pt-sm col-xs-12 col-md-6 col-lg-4 text-center text-caption"},[s("q-toggle",{attrs:{"checked-icon":"fas fa-check",color:"green",label:"Public Show","unchecked-icon":"far fa-eye-slash"},model:{value:e.form.current_show_is_public,callback:function(t){e.$set(e.form,"current_show_is_public",t)},expression:"form.current_show_is_public"}})],1)]),s("q-input",{ref:"current_show_supertitle",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.current_show_supertitle,error:!!e.hasServerError("current_show_supertitle"),rules:[function(e){return!!e||"Field is required"}],"bottom-slots":"",color:"brand-orange",counter:"",hint:"The orange super text above the main show man on the page.","input-class":"text-body2",label:"Current Show Super Title","lazy-rules":"",maxlength:"50",type:"text"},on:{focus:function(t){return e.clearInputValidation("current_show_supertitle")}},model:{value:e.form.current_show_supertitle,callback:function(t){e.$set(e.form,"current_show_supertitle",t)},expression:"form.current_show_supertitle"}}),s("q-input",{ref:"current_title",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.current_title,error:!!e.hasServerError("current_title"),rules:[function(e){return!!e||"Field is required"}],"bottom-slots":"",color:"brand-orange",counter:"",hint:"The main show name top left of the page.","input-class":"text-body2",label:"Show Title","lazy-rules":"",maxlength:"50",type:"text"},on:{focus:function(t){return e.clearInputValidation("current_title")}},model:{value:e.form.current_title,callback:function(t){e.$set(e.form,"current_title",t)},expression:"form.current_title"}}),s("q-input",{ref:"current_summary",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.current_summary,error:!!e.hasServerError("current_summary"),"bottom-slots":"",color:"brand-orange",counter:"",hint:"The short summary for the show.","input-class":"text-body2",label:"Show Summary",maxlength:"190",type:"text"},on:{focus:function(t){return e.clearInputValidation("current_summary")}
1},model:{value:e.form.current_summary,callback:function(t){e.$set(e.form,"current_summary",t)},expression:"form.current_summary"}}),s("q-input",{ref:"current_show_cover",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.current_show_cover,error:!!e.hasServerError("current_show_cover"),"bottom-slots":"",color:"brand-orange",counter:"",hint:"New cover S3 url for show else will default NB must be 16:9.","input-class":"text-body2",label:"Custom Cover",maxlength:"190",type:"text"},on:{focus:function(t){return e.clearInputValidation("current_show_cover")}},model:{value:e.form.current_show_cover,callback:function(t){e.$set(e.form,"current_show_cover",t)},expression:"form.current_show_cover"}}),s("div",{staticClass:"q-mt-lg q-gutter-md row items-start"},[s("q-date",{attrs:{mask:"YYYY-MM-DD HH:mm",color:"brand-orange"},model:{value:e.form.current_show_date_time,callback:function(t){e.$set(e.form,"current_show_date_time",t)},expression:"form.current_show_date_time"}}),s("q-time",{attrs:{mask:"YYYY-MM-DD HH:mm",color:"brand-orange"},model:{value:e.form.current_show_date_time,callback:function(t){e.$set(e.form,"current_show_date_time",t)},expression:"form.current_show_date_time"}})],1),s("q-input",{ref:"current_show_stream_url",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.current_show_stream_url,error:!!e.hasServerError("current_show_stream_url"),"bottom-slots":"",color:"brand-orange",counter:"",hint:"The Full URL to the show stream.","input-class":"text-body2",label:"Current Show Stream URL",maxlength:"250",type:"text"},on:{focus:function(t){return e.clearInputValidation("current_show_stream_url")}},model:{value:e.form.current_show_stream_url,callback:function(t){e.$set(e.form,"current_show_stream_url",t)},expression:"form.current_show_stream_url"}}),e.form.current_show_is_public?s("q-input",{ref:"current_show_youtube_id",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.current_show_youtube_id,error:!!e.hasServerError("current_show_youtube_id"),"bottom-slots":"",color:"brand-orange",counter:"",hint:"The Youtube ID if a public show.","input-class":"text-body2",label:"Current Show Youtube ID",maxlength:"30",type:"text"},on:{focus:function(t){return e.clearInputValidation("current_show_youtube_id")}},model:{value:e.form.current_show_youtube_id,callback:function(t){e.$set(e.form,"current_show_youtube_id",t)},expression:"form.current_show_youtube_id"}}):e._e()],1),s("div",{staticClass:"col-xs-12 col-sm-6 q-pa-lg"},[s("div",{staticClass:"q-mb-lg"},[s("div",{staticClass:"text-h4"},[e._v("Next Show")]),s("div",{staticClass:"subtitle-2"},[e._v("\n                      The one after the current advertised one.\n                    ")])]),s("q-select",{attrs:{rules:[function(e){return!!e||"Field is required"}],options:e.showOptions,label:"Show Type"},model:{value:e.form.next_show_type,callback:function(t){e.$set(e.form,"
1next_show_type",t)},expression:"form.next_show_type"}}),s("q-input",{ref:"next_show_supertitle",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.next_show_supertitle,error:!!e.hasServerError("next_show_supertitle"),rules:[function(e){return!!e||"Field is required"}],"bottom-slots":"",color:"brand-orange",counter:"",hint:"The orange super text above the main show man on the page.","input-class":"text-body2",label:"Next Show Super Title","lazy-rules":"",maxlength:"50",type:"text"},on:{focus:function(t){return e.clearInputValidation("next_show_supertitle")}},model:{value:e.form.next_show_supertitle,callback:function(t){e.$set(e.form,"next_show_supertitle",t)},expression:"form.next_show_supertitle"}}),s("q-input",{ref:"next_title",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.next_title,error:!!e.hasServerError("next_title"),rules:[function(e){return!!e||"Field is required"}],"bottom-slots":"",color:"brand-orange",counter:"",hint:"The main show name top left of the page.","input-class":"text-body2",label:"Show Title","lazy-rules":"",maxlength:"50",type:"text"},on:{focus:function(t){return e.clearInputValidation("next_title")}},model:{value:e.form.next_title,callback:function(t){e.$set(e.form,"
1next_title",t)},expression:"form.next_title"}}),s("q-input",{ref:"next_summary",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.next_summary,error:!!e.hasServerError("next_summary"),"bottom-slots":"",color:"brand-orange",counter:"",hint:"The short summary for the show.","input-class":"text-body2",label:"Show Summary",maxlength:"190",type:"text"},on:{focus:function(t){return e.clearInputValidation("next_summary")}},model:{value:e.form.next_summary,callback:function(t){e.$set(e.form,"next_summary",t)},expression:"form.next_summary"}}),s("q-input",{ref:"next_show_cover",staticClass:"q-my-lg",attrs:{"error-message":e.serverValidation.next_show_cover,error:!!e.hasServerError("next_show_cover"),"bottom-slots":"",color:"brand-orange",counter:"",hint:"New cover S3 url for show else will default NB must be 16:9.","input-class":"text-body2",label:"Custom Cover",maxlength:"190",type:"text"},on:{focus:function(t){return e.clearInputValidation("next_show_cover")}},model:{value:e.form.next_show_cover,callback:function(t){e.$set(e.form,"
1next_show_cover",t)},expression:"form.next_show_cover"}}),s("div",{staticClass:"q-mt-lg q-gutter-md row items-start"},[s("q-date",{attrs:{mask:"YYYY-MM-DD HH:mm",color:"brand-orange"},model:{value:e.form.next_show_date_time,callback:function(t){e.$set(e.form,"next_show_date_time",t)},expression:"form.next_show_date_time"}}),s("q-time",{attrs:{mask:"YYYY-MM-DD HH:mm",color:"brand-orange"},model:{value:e.form.next_show_date_time,callback:function(t){e.$set(e.form,"next_show_date_time",t)},expression:"form.next_show_date_time"}})],1)],1)]),s("div",{staticClass:"q-mt-xl text-center"},[s("q-btn",{staticStyle:{"min-width":"200px"},attrs:{color:"brand-orange",label:"Push Live",size:"lg",type:"submit"}})],1)])],1)])])])]),s("site-footer")],1)},Pn=[],In={name:"ManageShowPage",computed:{},data(){return{form:{current_show_is_public:!1,current_show_cover:null,current_show_supertitle:null,current_title:null,current_summary:null,current_show_date_time:null,current_show_type:null,current_show_stream_url:null,current_show_youtube_id:null,next_show_cover:null,next_show_supertitle:null,next_title:null,next_summary:null,next_show_date_time:null,next_show_type:null},serverValidation:{current_show_cover:"",current_show_supertitle:"",current_title:"",current_summary:"",current_show_date_time:"",current_show_type:"",current_show_stream_url:"",current_show_youtube_id:"",next_show_cover:"",next_show_supertitle:"",next_title:"",next_summary:"",next_show_date_time:"",next_show_type:""},showOptions:[{label:"The Hide",value:"the-hide"},{label:"The Morning Show",value:"morning-show"}]}},methods:{updateShows(){var e=this;if(_.isNil(this.form.current_show_date_time)||_.isEmpty(this.form.current_show_date_time))return e.$q.notify({message:"Please select the current show's date & time.",type:"warning"}),!1;e.$refs.showForm.validate().then((function(t){e.$axios.post("/api/update-show-settings",e.form).then((function(e){console.log("RESPONSE:",e)}))}))}},mixins:[hi,mi,Po],watch:{"form.current_show_is_public"(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||e||(this.form.current_show_youtube_id=null)}}},$n=In,En=s("9564"),Rn=s("52ee"),Nn=s("ca78"),On=Object(Ee["a"])($n,Tn,Pn,!1,null,null,null),Ln=On.exports;ze()(On,"components",{QPage:Ci["a"],QForm:Fo["a"],QSelect:zr["a"],QToggle:En["a"],QInput:Bo["a"],QDate:Rn["a"],QTime:Nn["a"],QBtn:De["a"]});var Dn=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.getIsSubscriber?e._e():s("ad-leaderboard"),e.getIsSubscriber?s("div",{staticClass:"row q-mb-lg q-mt-lg"},[s("div",{staticClass:"text-right col-xs-12 text-smaller text-grey-5"},[e._v("\n        Streams Per Row\n        "),s("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:e.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:e.perRow,callback:function(t){e.perRow=t},expression:"perRow"}})],1)]):e._e(),e.getIsSubscriber?e._e():s("div",{staticClass:"col-12"},[s("div",{staticClass:"flex flex-center q-my-lg q-pt-xl"},[s("q-badge",{attrs:{color:"red","text-color":"white",label:"Premium Only"}})],1),s("div",{staticClass:"text-h5 text-center q-mt-md q-mr-md q-ml-md"},[e._v("\n                  The multiview feature is only available to premium subscribers. Subscribe now for access to multiview and Africam's premium content.\n            ")]),s("div",{staticClass:"flex flex-center q-my-lg"},[s("q-btn",{attrs:{to:{name:"subscribe"},size:"md",color:"brand-orange"}},[e._v("Subscribe")])],1)]),e.getIsSubscriber?s("div",{staticClass:"row q-col-gutter-md"},[e._l(e.currentStreams,(function(t,a){return e.checkStream(t)?[e.injectAdvert(a)?s("div",{staticClass:"col-xs-12 q-py-md text-center"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}}),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}})],1):e._e(),s("div",{class:e.columnClasses},[s("q-responsive",{staticClass:"rounded-borders",attrs:{ratio:16/9}},[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:!0,previewImageSize:"hqdefault",src:e.videoSource(t)}})],1),s("div",{staticClass:"row text-caption"},[s("div",{staticClass:"col-12"},[s("span",{domProps:{textContent:e._s(t.name)}}
1)])])],1)]:e._e()}))],2):e._e(),s("div",{staticClass:"row q-mt-xl"},[s("div",{staticClass:"text-brand-orange text-center text-caption text-weight-light col-xs-12"},[s("span",{staticClass:"text-weight-bold"},[e._v("N.B.")]),e._v(" Playing multiple streams at the same time can cause your machine to\n        lag and feel slow. "),s("br"),e._v(" If you are experiencing a slowdown, please stop a few of the players.\n      ")])]),s("div",{staticClass:"q-my-xl"},[e.getIsSubscriber?s("kids-course-horizontal-long",{attrs:{"slot-size":e.slotSize}}):s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}})],1)],1),s("site-footer")],1)},Vn=[],zn=Object(ce["a"])("content"),Mn=zn.mapGetters,jn=Object(ce["a"])("user"),Qn=jn.mapGetters,Un={name:"MultiViewPage",computed:ne()(ne()(ne()({},Mn(["streams"])),Qn(["getAuthenticated","getIsSubscriber"])),{},{currentStreams(){return this.streams.filter((function(e){return e.active}))},columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}}}),data(){return{currentlyPlaying:0,perRow:4,slotSize:0}},methods:{adSlotResize(e){this.slotSize=e.width},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>0&&e%this.perRow===0},videoSource(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!_.isNil(e)){var t=0;return this.currentlyPlaying<4&&(this.currentlyPlaying++,t=1),this.playerUrl(e.youtube_id,t)}return""},checkStream(e){return this.getIsSubscriber?e:this.getIsSubscriber?void 0:!e.subscriber_only}},mixins:[hi,mi],mounted(){this.perRow=this.sensibleRowsPerPage(3,"multiViewPerRow")},watch:{perRow(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("multiViewPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("multiViewPerRow"))&&void 0!==t?t:4)}}},Fn=Un,Bn=Object(Ee["a"])(Fn,Dn,Vn,!1,null,null,null),Hn=Bn.exports;ze()(Bn,"components",{QPage:Ci["a"],QBtnToggle:So["a"],QBadge:Ir["a"],QBtn:De["a"],QResizeObserver:ho["a"],QResponsive:Oi["a"]});var Gn=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl q-mt-lg"},[s("div",{staticClass:"app-width col-12"},[s("phills-bio")],1)])]),s("site-footer")],1)},Wn=[],Yn=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12"},[s("div",{staticClass:"q-mb-lg",class:e.$q.screen.width<700?"text-center":"inline-block float-left q-mr-lg"},[s("q-img",{attrs:{ratio:1,width:e.imageSize,src:"/images/rangers/phill.jpg"}},[s("div",{staticClass:"absolute-bottom text-center text-uppercase text-caption"},[s("div",{staticClass:"q-ma-sm"},[e._v(" Resident Ranger Phill Steffny ")])])])],1),s("page-title",{staticClass:"text-smaller",attrs:{title:"Phill Steffny"}}),s("div",{staticClass:"text-h5 q-mb-md"},[e._v("More about our Resident Ranger")]),s("p",[e._v("\n      Phill has spent most of his time in Nature. With over 23 years of wildlife experience working for some of Africa's most prestigious Travel companies, we are delighted to welcome Phill as part of the Africam\n      team where he can share his knowledge, passion and enthusiasm with the Africam viewer based on his wonderful experiences in the African bush.\n    ")]),s("page-subheading",{staticClass:"q-mt-xl",attrs:{heading:"What was your first job?"}}),s("p",[e._v("\n      At the age of 15, I was a river guide on some of the wildest rivers in South Africa and Zimbabwe. These included the mighty Zambezi, the Umkomaas and the Tugela. I loved the outdoor aspect of being in nature\n      and enjoyed sharing these beautiful ecosystems with guests. This set me up for my career in guiding.\n    ")]),s("page-subheading",{staticClass:"q-mt-xl",attrs:{heading:"Tell us a bit more about yourself?"}}),s("p",[e._v("\n      From as far back as I can remember, every holiday was spent in various parts of Africa on game reserves and national parks. I joined CC Africa in 1997 and was lucky enough to guide in South Africa, Botswana,\n      Zimbabwe, Zambia and Namibia. I currently live in Cape Town with my partner Dot and my daughter Zoe and am privileged to visit the African Bush regularly. I am still actively guiding for Safari Footprints, a\n      private safari company where I take guests all over Africa.\n    ")]),s("p",[e._v("\n      My special interests lie in all things wild but in particular animal behavior, birdlife, sounds of the wild and when out and about identifying and tracking wildlife on foot.\n    ")]),s("page-subheading",{staticClass:"q-mt-xl",attrs:{heading:"What excites you about Africam?"}}),s("p",[e._v("\n      For me Africam is like sitting in a hide/blind waiting in anticipation for any wildlife to come our way. It brings Africa,the bush into my home and I absolutely love the idea of sharing it with you.\n    ")]),s("page-subheading",{staticClass:"q-mt-xl",attrs:{heading:"If you could spend one night sleeping in the African Bush, where would it be?"}}),s("p",[e._v("\n      In the Namib Desert. It is the wildest place that you can be! Desolate and solitary under the stars, you feel like the only person on earth!\n    ")]),s("page-subheading",{staticClass:"q-mt-xl",attrs:{heading:"We are lucky enough to see a variety of animals on our cameras Live and unscripted. What rare sightings are you hoping to capture on Africam?"}}),s("p",[e._v("\n      Having guided in the bush for over 20 years, , there are a group of animals which are very difficult to get close to, some of which seasoned safari goers never get to see. They tend to be very shy, nocturnal\n      and very sensitive to any disturbance of any kind - be it a foreign scent, a noise or an out of the ordinary unnatural sight or movement.\n    ")]),s("p",[e._v("\n      The wonderful thing about our cameras is that they are placed in remote locations away from people. In most cases, the animals accept them as part and parcel of the landscape. This enables us to get really close.\n    ")]),s("p",[e._v("\n      I'm hoping to capture the rare Pangol
1in and Aardvark at night. It would also be wonderful to see the ultra shy Serval hunting in the long grass of Nkhoro …\n    ")]),s("p",[e._v("\n      That's the gold, the real sought after “diamond” live Africam sightings. We really don't know what to expect day after day and night after night. I enjoy identifying the animals through the sounds and calls in the background\n      and waiting for the next appearance - the true anticipation is what draws me to Africam.\n    ")]),e._m(0)],1)])},Kn=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("p",[s("em",[e._v("\n        Chat to you all soon & look forward to capturing these moments together.\n      ")])])}],Zn={name:"PhillsBioComponent",computed:{imageSize(){return this.$q.screen.width>1440?"700px":this.$q.screen.width>1024?"500px":this.$q.screen.width>480?"400px":"100%"}}},Jn=Zn,Xn=Object(Ee["a"])(Jn,Yn,Kn,!1,null,null,null),el=Xn.exports;ze()(Xn,"components",{QImg:yi["a"]});var tl={name:"RangerPhillBioPage",components:{phillsBio:el},mixins:[hi,mi],mounted(){}},sl=tl,al=Object(Ee["a"])(sl,Gn,Wn,!1,null,null,null),il=al.exports;ze()(al,"components",{QPage:Ci["a"]});var ol=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl q-mt-lg"},[s("div",{staticClass:"app-width col-12"},[s("james-bio")],1)])]),s("site-footer")],1)},rl=[],nl=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12"},[s("div",{staticClass:"q-mb-lg",class:e.$q.screen.width<700?"text-center":"inline-block float-left q-mr-lg"},[s("q-img",{attrs:{ratio:1,width:e.imageSize,src:"/images/rangers/james.jpg"}},[s("div",{staticClass:"absolute-bottom text-center text-uppercase text-caption"},[s("div",{staticClass:"q-ma-sm"},[e._v(" Resident Ranger James Hendry ")])])])],1),s("page-title",{staticClass:"text-smaller",attrs:{title:"James Hendry"}}),s("div",{staticClass:"text-h5 q-mb-md"},[e._v("More about our Resident Ranger")]),s("p",[e._v("\n      James has a masters in development studies from Cape Town University and an honours in wildlife science from the KwaZulu-Natal University. He has spent two decades working in African wilderness areas as a biologist, TV presenter, photographer, guide, guide trainer, voice-over artist, writer and producer. He has also written and co-written four published books.\n    ")])],1)])},ll=[],cl={name:"JamessBioComponent",computed:{imageSize(){return this.$q.screen.width>1440?"700px":this.$q.screen.width>1024?"500px":this.$q.screen.width>480?"400px":"100%"}}},dl=cl,ul=Object(Ee["a"])(dl,nl,ll,!1,null,null,null),hl=ul.exports;ze()(ul,"components",{QImg:yi["a"]});var ml={name:"RangerJamesBioPage",components:{jamesBio:hl},mixins:[hi,mi],mounted(){}},pl=ml,gl=Object(Ee["a"])(pl,ol,rl,!1,null,null,null),vl=gl.exports;ze()(gl,"components",{QPage:Ci["a"]});var fl=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.getIsSubscriber?e._e():s("ad-leaderboard"),s("div",{staticClass:"row justify-center",class:e.getIsSubscriber?"q-my-xl":"q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("page-heading",{attrs:{heading:"Latest Photo Highlights",subheading:"Click on any highlight to view it."}}),s("div",{staticClass:"row q-mb-sm"},[s("div",{staticClass:"text-right col-xs-12 text-smaller text-grey-5"},[e._v("\n            Photos Per Row\n            "),s("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:e.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:e.perRow,callback:function(t){e.perRow=t},expression:"perRow"}})],1)]),s("q-infinite-scroll",{ref:"photoScroller",staticClass:"row q-col-gutter-lg q-mt-md",attrs:{offset:2e3},on:{load:e.loadMorePhotos},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                    q-mr-sm\n                    text-weight-bold text-caption text-uppercase text-grey-6\n                  "},[e._v("Loading photos")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}])},[e._l(e.currentHighlights,(function(t,a){return[e.injectAdvert(a)?s("div",{staticClass:"col-xs-12 q-py-md text-center"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}}),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}}
1)],1):e._e(),s("div",{staticClass:"cursor-pointer",class:e.columnClasses},[s("photo-preview",{attrs:{photo:t}})],1)]}))],2),s("div",{staticClass:"row"},[e.allPhotosAreLoaded?s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                  q-mr-sm\n                  text-weight-bold text-caption text-uppercase text-grey-6\n                "},[e._v("\n                All Photo Highlights have been loaded.")])])]):e._e()])],1)]),e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.$q.screen.width}})],1),s("site-footer"),s("photo-preview",{staticClass:"hidden",attrs:{photo:e.focusedPhoto,"show-modal":e.showFocusedPhoto}})],1)},bl=[],wl=Object(ce["a"])("photos"),yl=(wl.mapGetters,wl.mapActions),xl=Object(ce["a"])("user"),ql=xl.mapGetters,_l={name:"PhotoHighlightsPage",computed:ne()(ne()({},ql(["getAuthenticated","getIsSubscriber"])),{},{columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},currentHighlights(){return this.photos}}),created(){_.get(this,"$route.params.id",!1)&&this.getFocusedPhoto()},data(){return{allPhotosAreLoaded:!1,fetchingPhotos:!1,focusedPhoto:{},lastPage:1,meta:{title:"Africam Photo Highlights from live cameras."},perRow:3,photos:[],showFocusedPhoto:!1,slotSize:0}},meta(){return{title:this.meta.title}},methods:ne()(ne()({},yl(["clearPhotos","fetchPhotos"])),{},{adSlotResize(e){this.slotSize=e.width},getFocusedPhoto(){var e=this;e.fetchPhotos({filters:{id:_.get(e,"$route.params.id",null)}}).then((function(t){var s=_.get(t,"data.data",[]);_.isArray(s)&&!_.isEmpty(s)&&(e.$set(e,"focusedPhoto",s[0]),e.$nextTick((function(){e.showFocusedPhoto=!0})),e.$log("FOCUSED PHOTO:",e.focusedPhoto))}))},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0},loadMorePhotos(e,t){var s=this;if(e>s.lastPage)return t(),void(s.allPhotosAreLoaded=!0);s.fetchPhotos({page:e,per_page:s.dbPageSize()}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.photos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",1)})).finally((function(){t()}))}}),mixins:[hi,mi],mounted(){var e=this;e.perRow=e.sensibleRowsPerPage(3,"highlightsPerRow"),e.clearPhotos(),e.$refs.photoScroller.trigger(),e.$log("PHOTO ID:",e.$route.params.id)},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)}}},Sl=_l,Cl=Object(Ee["a"])(Sl,fl,bl,!1,null,null,null),Al=Cl.exports;ze()(Cl,"components",{QPage:Ci["a"],QBtnToggle:So["a"],QInfiniteScroll:uo["a"],QResizeObserver:ho["a"],QSpinnerDots:mo["a"]});var kl=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.getIsSubscriber?e._e():s("ad-leaderboard"),e.rowSelected?s("div",{staticClass:"q-pa-md"},[s("div",{staticClass:"row"},[s("q-btn",{staticClass:"q-pr-sm",attrs:{outline:"",dense:"",color:"grey",label:"Back To Leaderboard",icon:"fas fa-chevron-left"},on:{click:function(t){e.rowSelected=!1,e.selectedUser=0}}})],1),s("div",{staticClass:"q-mt-md"},[s("UserTags",{key:e.selectedUserId,attrs:{fromLeaderboard:!0,userId:e.selectedUserId,userDisplayName:e.selectedUserName,category:e.leaderboardType,period:e.leaderboardPeriodRange,avatar:e.getUserAvatarUri(e.selectedUserId)}})],1)]):e._e(),s("div",{directives:[{name:"show",rawName:"v-show",value:!e.rowSelected,expression:"!rowSelected"}],staticClass:"row justify-center",class:e.getIsSubscriber?"q-my-xl":"q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-sm-8 col-md-10 text-h4 q-pl-md",class:e.$q.screen.width<500?"text-center":"text-left"},[s("q-img",{staticClass:"safari-snaps-logo",attrs:{"no-default-spinner":"",src:"/images/afritag-logo.svg"}})],1)]),s("div",{staticClass:"row justify-end"},[s("div",{staticClass:"col-xs-12 col-sm-12 col-md-4 text-h4 q-pl-md",class:e.$q.screen.width<500?"text-center":"text-right"},[s("div",{staticClass:"q-pa-xs"},[s("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:e.launchGuidelines}}
1,[s("span",{staticClass:"link-underline"},[e._v("Guidelines")])]),s("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:e.launchFaq}},[s("span",{staticClass:"link-underline"},[e._v("FAQ's")])])],1)])]),s("div",{staticClass:"row justify-center"},[s("div",{staticClass:"col-xs-12 col-sm-6 col-md-6 text-right text-h4 q-pl-lg q-pr-lg q-pt-md",class:e.$q.screen.width<500?"text-center q-pr-md":"text-right"},[s("q-img",{staticClass:"cursor-pointer",style:e.ctaWidth,attrs:{"no-default-spinner":"",src:"/images/safari-snaps-leaderboard-2025.jpg"},on:{click:e.launchLeaderboardVideo}})],1),s("div",{staticClass:"col-xs-12 col-sm-6 col-md-6 text-right text-h4 q-pl-lg q-pr-lg q-pt-md",class:e.$q.screen.width<500?"text-center q-pr-md":"text-right"},[s("q-img",{staticClass:"cursor-pointer",style:e.ctaWidth,attrs:{"no-default-spinner":"",src:"/images/safari-snaps-cta-2025.png"},on:{click:e.launchHowToVideo}})],1)]),e.leadersLoaded?s("div",{staticClass:"row q-pa-md"},[s("div",{staticClass:"col q-pa-md"},[s("div",{staticClass:"flex col-12 justify-end"},[s("q-radio",{attrs:{val:"species",label:"Species Leader",color:"brand-orange"},model:{value:e.selectedLeaderType,callback:function(t){e.selectedLeaderType=t},expression:"selectedLeaderType"}}),s("q-radio",{attrs:{val:"tags",label:"Tags Leader",color:"brand-orange"},model:{value:e.selectedLeaderType,callback:function(t){e.selectedLeaderType=t},expression:"selectedLeaderType"}})],1)]),s("div",{staticClass:"col-12"},[s("q-tabs",{staticClass:"bg-grey-3",attrs:{align:"justify"},on:{input:e.leaderboardToggledTabs},model:{value:e.selectedLeaderboardTab,callback:function(t){e.selectedLeaderboardTab=t},expression:"selectedLeaderboardTab"}},[s("q-tab",{attrs:{name:"monthly",label:"This Month"}}),s("q-tab",{attrs:{name:"yearly",label:"This Year"}})],1),s("q-tab-panels",{attrs:{animated:""},model:{value:e.selectedLeaderboardTab,callback:function(t){e.selectedLeaderboardTab=t},expression:"selectedLeaderboardTab"}},[s("q-tab-panel",{attrs:{name:"monthly"}},[s("div",{staticClass:"row wrap"},[s("div",{staticClass:"col-md-4 col-sm-12 col-xs-12 q-pa-lg"},[s("q-card",{staticClass:"safari-snaps-leader"},[s("q-card-section",{staticClass:"text-center"},[s("span",{staticClass:"text-h7"},[e._v(" SafariSnaps Leader ")]),s("div",{staticClass:"q-pt-sm row justify-center"},[e.topScorer?s("q-avatar",{attrs:{size:"100px"}},[s("img",{staticClass:"profile-photo",attrs:{src:e.getUserAvatarUri(e.topScorer.user_id),alt:"profile photo"}})]):e._e()],1),s("div",{staticClass:"q-pb-sm q-pl-md q-pr-md"},[s("span",{staticClass:"text-h7 text-bold",domProps:{textContent:e._s(e.africamLeaderLabel)}}),s("div",{staticClass:"text-h7"},[e._v("Africam Rank")]),e.africamLeaderRank?s("span",{staticClass:"text-h7 text-bold",domProps:{textContent:e._s(e.africamLeaderRank)}}):s("span",{staticClass:"text-h7 text-bold",domProps:{textContent:e._s("loading")}}),s("hr",{staticClass:"divider"}),s("q-chip",{attrs:{color:"brand-orange","text-color":"white",icon:"event"},domProps:{textContent:e._s(e.africamLeaderScore+" points")}})],1)])],1)],1),"species"===e.selectedLeaderType?[s("LeaderCard",{attrs:{heading:"Animal Species Leader",avatar:e.getUserAvatarUri(e.monthlyAnimalTopSpecie.user_id),playerNameLabel:e.monthlyAnimalTopSpecie.display_name,playerRank:e.monthlyAnimalTopSpecie.rank,playerScore:e.monthlyAnimalTopSpecie.total_unique_species,playerScoreLabel:"Species"}}),s("LeaderCard",{attrs:{heading:"Bird Species Leader",avatar:e.getUserAvatarUri(e.monthlyBirdTopSpecie.user_id),playerNameLabel:e.monthlyBirdTopSpecie.display_name,playerRank:e.monthlyBirdTopSpecie.rank,playerScore:e.monthlyBirdTopSpecie.total_unique_species,playerScoreLabel:"Species"}})]:[s("LeaderCard",{attrs:{heading:"Animal Tags Leader",avatar:e.getUserAvatarUri(e.monthlyAnimalTopTagger.user_id),playerNameLabel:e.monthlyAnimalTopTagger.display_name,playerRank:e.monthlyAnimalTopTagger.rank,playerScore:e.monthlyAnimalTopTagger.total_tags,playerScoreLabel:"Tags"}}),s("LeaderCard",{attrs:{heading:"Bird Tags Leader",avatar:e.getUserAvatarUri(e.monthlyBirdTopTagger.user_id),playerNameLabel:e.monthlyBirdTopTagger.display_name,playerRank:e.monthlyBirdTopTagger.rank,playerScore:e.monthlyBirdTopTagger.total_tags,playerScoreLabel:"Tags"}})]],2)]),s("q-tab-panel",{attrs:{name:"yearly"}},[s("div",{staticClass:"row wrap"},[s("div",{staticClass:"col-md-4 col-sm-12 col-xs-12 q-pa-lg"},[s("q-card",{staticClass:"safari-snaps-leader"},[s("q-card-section",{staticClass:"text-center"},[s("span",{staticClass:"text-h7"},[e._v(" SafariSnaps Leader ")]),s("div",{staticClass:"q-pt-sm row justify-center"},[e.topScorer?s("q-avatar",{attrs:{size:"100px"}},[s("img",{staticClass:"profile-photo",attrs:{src:e.getUserAvatarUri(e.topScorer.user_id),alt:"profile photo"}}
1)]):e._e()],1),s("div",{staticClass:"q-pb-sm q-pl-md q-pr-md"},[s("span",{staticClass:"text-h7 text-bold",domProps:{textContent:e._s(e.africamLeaderLabel)}}),s("div",{staticClass:"text-h7"},[e._v("Africam Rank")]),s("span",{staticClass:"text-h7 text-bold",domProps:{textContent:e._s(e.africamLeaderRank)}}),s("hr",{staticClass:"divider"}),s("q-chip",{attrs:{color:"brand-orange","text-color":"white",icon:"event"},domProps:{textContent:e._s(e.africamLeaderScore+" points")}})],1)])],1)],1),"species"===e.selectedLeaderType?[s("LeaderCard",{attrs:{heading:"Animal Species Leader",avatar:e.getUserAvatarUri(e.yearlyAnimalTopSpecie.user_id),playerNameLabel:e.yearlyAnimalTopSpecie.display_name,playerRank:e.yearlyAnimalTopSpecie.rank,playerScore:e.yearlyAnimalTopSpecie.total_unique_species,playerScoreLabel:"Species"}}),s("LeaderCard",{attrs:{heading:"Bird Species Leader",avatar:e.getUserAvatarUri(e.yearlyBirdTopSpecie.user_id),playerNameLabel:e.yearlyBirdTopSpecie.display_name,playerRank:e.yearlyBirdTopSpecie.rank,playerScore:e.yearlyBirdTopSpecie.total_unique_species,playerScoreLabel:"Species"}})]:[s("LeaderCard",{attrs:{heading:"Animal Tags Leader",avatar:e.getUserAvatarUri(e.yearlyAnimalTopTagger.user_id),playerNameLabel:e.yearlyAnimalTopTagger.display_name,playerRank:e.yearlyAnimalTopTagger.rank,playerScore:e.yearlyAnimalTopTagger.total_tags,playerScoreLabel:"Tags"}}),s("LeaderCard",{attrs:{heading:"Bird Tags Leader",avatar:e.getUserAvatarUri(e.yearlyBirdTopTagger.user_id),playerNameLabel:e.yearlyBirdTopTagger.display_name,playerRank:e.yearlyBirdTopTagger.rank,playerScore:e.yearlyBirdTopTagger.total_tags,playerScoreLabel:"Tags"}})]],2)])],1)],1)]):s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                  q-mr-sm\n                  text-weight-bold text-caption text-uppercase text-grey-6\n                "},[e._v("Loading Leaders")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)]),s("div",{staticClass:"row q-pa-md"},[s("div",{staticClass:"row col-md-6 col-sm-12 col-xs-12 leaderboard-button-block"},[s("span",{staticClass:"animals-toggle-text q-mr-md leaderboard-button-labels"},[e._v("Animals Leaderboard")]),s("q-btn-toggle",{staticClass:"col-lg-7 col-md-7 col-sm-12 col-xs-12 leaderboard-buttons",attrs:{push:"",spread:"","toggle-color":"brand-orange",options:e.leaderboardAnimalOptions},on:{input:e.leaderboardToggled},model:{value:e.selectedLeaderboard,callback:function(t){e.selectedLeaderboard=t},expression:"selectedLeaderboard"}})],1),s("div",{staticClass:"row col-md-6 col-sm-12 col-xs-12 leaderboard-button-block"},[s("span",{staticClass:"birds-toggle-text q-mr-md leaderboard-button-labels"},[e._v("Birds Leaderboard")]),s("q-btn-toggle",{staticClass:"col-lg-7 col-md-7 col-sm-12 col-xs-12 leaderboard-buttons",attrs:{push:"",spread:"","toggle-color":"brand-orange",options:e.leaderboardBirdOptions},on:{input:e.leaderboardToggled},model:{value:e.selectedLeaderboard,callback:function(t){e.selectedLeaderboard=t},expression:"selectedLeaderboard"}})],1)]),s("div",{staticClass:"q-pa-md col-3"}),s("q-table",{ref:"leaderTable",class:e.$q.screen.width<600?"afritag-table-mobile":"afritag-table",attrs:{title:"Leaderboard",columns:e.columns,data:e.data,separator:e.separator,flat:"","no-data-label":"Data loading...","rows-per-page-options":[25,50,100]},on:{"row-click":e.onRowClick},scopedSlots:e._u([{key:"top",fn:function(){return[s("div",{staticClass:"col-6 q-table__title text-uppercase"},[e._v(e._s(e.leaderboardHeading))]),s("q-space"),s("div",{class:e.$q.screen.width<600?"col-7":"col-3"},[e.hideSelect?s("q-select",{attrs:{filled:"",dense:"",options:e.sortOptions,label:"Sort By",placeholder:"Sort By"},on:{input:function(t){return e.sortTable(t)}},model:{value:e.sortModel,callback:function(t){e.sortModel=t},expression:"sortModel"}}):e._e()],1),s("q-space"),s("div",{class:e.$q.screen.width<600?"col-4":"col-2"},[e.hideSelect?s("q-btn-dropdown",{attrs:{size:"sm",label:"Sort By"}},[s("q-list",e._l(e.sortOptions,(function(t,a){return s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],key:"sortion-"+a,attrs:{size:"xs",clickable:""},on:{click:function(s){return e.sortTable(t)}}},[s("q-item-section",[s("q-item-label",{domProps:{textContent:e._s(t.label)}})],1)],1)}
1)),1)],1):e._e()],1)]},proxy:!0},{key:"body-cell-row-number",fn:function(t){return[s("q-td",[e._v(e._s(t.rowIndex+1)+" ")])]}}])}),s("div",{class:e.$q.screen.width<600?"col-12 text-h6 text-center q-pt-xl":"col-12 text-h4 text-center q-pt-xl"},[e._v("\n            Most Recent SafariSnaps\n          ")]),s("div",{staticClass:"row q-mb-sm q-mt-xl"},[s("div",{staticClass:"text-right col-xs-12 text-smaller text-grey-5"},[e._v("\n              Photos Per Row\n              "),s("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:e.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:e.perRow,callback:function(t){e.perRow=t},expression:"perRow"}})],1)]),s("q-infinite-scroll",{key:e.galleryComponent,ref:"photoScroller",staticClass:"row q-col-gutter-lg q-mt-md",attrs:{offset:2e3},on:{load:e.loadMorePhotos},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                      q-mr-sm\n                      text-weight-bold text-caption text-uppercase text-grey-6\n                    "},[e._v("Loading photos")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}])},[e._l(e.currentHighlights,(function(t,a){return[e.injectAdvert(a)&&!e.getIsSubscriber?s("div",{key:"scroll-ad"+a,staticClass:"col-xs-12 q-py-md text-center"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}}),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}})],1):e._e(),s("div",{key:"scroll-afritag-"+a,staticClass:"cursor-pointer",class:e.columnClasses},[s("afritag-preview",{attrs:{photo:t,index:a},on:{removed:e.reloadGallery}})],1)]}))],2),s("div",{staticClass:"row"},[e.allPhotosAreLoaded?s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                    q-mr-sm\n                    text-weight-bold text-caption text-uppercase text-grey-6\n                  "},[e._v("\n                  All Photo Highlights have been loaded.")])])]):e._e()])],1)]),e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.$q.screen.width}})],1),s("site-footer"),s("afritag-preview",{staticClass:"hidden",attrs:{photo:e.focusedPhoto,"show-modal":e.showFocusedPhoto}}),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showGuidelines=!1}},model:{value:e.showGuidelines,callback:function(t){e.showGuidelines=t},expression:"showGuidelines"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-guidelines")],1)],1)],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showFaq=!1}},model:{value:e.showFaq,callback:function(t){e.showFaq=t},expression:"showFaq"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-faq")],1)],1)],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.leaderboardVideo=!1}},model:{value:e.leaderboardVideo,callback:function(t){e.leaderboardVideo=t},expression:"leaderboardVideo"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidthVideo},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:e.autoplay,previewImageSize:"maxresdefault",src:"https://www.youtube.com/embed/EefqF9uxDq4?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"}})],1)],1)],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.aboutVideo=!1}},model:{value:e.aboutVideo,callback:function(t){e.aboutVideo=t},expression:"aboutVideo"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidthVideo},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:e.autoplay,previewImageSize:"maxresdefault",src:"https://www.youtube.com/embed/6g1QRs4HKtU?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"}})],1)],1)],1)],1)},Tl=[],Pl=s("6374"),Il=s.n(Pl),$l=(s("2ca0"),s("8a79"),s("1276"),s("ddb0"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"col-md-4 col-sm-12 col-xs-12 q-pa-lg"},[s("q-card",[s("q-card-section",{staticClass:"text-center"},[s("span",{staticClass:"text-h7"},[e._v(" "+e._s(e.heading)+" ")]),s("div",{staticClass:"q-pt-sm row justify-center"},[s("q-avatar",{attrs:{size:"100px"}},[s("img",{staticClass:"profile-photo",attrs:{src:e.avatar,alt:"profile photo"}})])],1),s("div",{staticClass:"q-pb-sm q-pl-md q-pr-md"},[s("span",{staticClass:"text-h7 text-bold",domProps:{textContent:e._s(e.playerNameLabel)}}),s("div",{staticClass:"text-h7"},[e._v("Africam Rank")]),s("span",{staticClass:"text-h7 text-bold",domProps:{textContent:e._s(e.playerRank)}}),s("hr",{staticClass:"divider"}),s("q-chip",{attrs:{color:"brand-orange","text-color":"white",icon:"event"},domProps:{textContent:e._s(e.playerScore+" "+e.playerScoreLabel)}})],1)])],1)],1)}),El=[],Rl={name:"LeaderCard",props:{heading:{required:!0,type:String},avatar:{required:!0,type:String},playerNameLabel:{default:"loading",required:!0,type:String},playerRank:{default:"loading",required:!0,type:String},playerScore:{default:0,required:!0,type:Number},playerScoreLabel:{required:!0,type:String}}},Nl=Rl,Ol=s("cb32"),Ll=s("b047"),Dl=Object(Ee["a"])(Nl,$l,El,!1,null,null,null),Vl=Dl.exports;ze()(Dl,"components",{QCard:Ne["a"],QCardSection:Oe["a"],QAvatar:Ol["a"],QChip:Ll["a"]});var zl=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",[t.selectedAnimal<=0?a("section",{staticClass:"general-tags"},[t._m(0),a("div",{staticClass:"row"},[t.notificationCategoriesAreEmpty?a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",[a("span",{staticClass:"\n              q-mr-sm\n              text-weight-bold text-caption text-uppercase text-grey-6\n            "},[t._v("Loading Your Tags")]),a("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)]):t._e()]),t.fromLeaderboard?t._e():a("div",{staticClass:"row"},[a("div",{staticClass:"col-xs-12 col-md-2"},[a("q-avatar",{attrs:{rounded:"",size:"100px"}},[a("img",{staticClass:"profile-photo",attrs:{src:t.getUser.avatar}})]),a("div",{staticClass:"text-subtitle",domProps:{textContent:t._s(t.currentUser.display_name)}})],1),a("div",{staticClass:"col-xs-12 col-sm-4"},[a("div",{staticClass:"text-bold link-underline text-caption q-pb-sm"},[t._v("\n          YOUR CURRENT SCORES\n        ")]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-6 text-caption self-center"},[t._v("\n            Ranking:\n          ")]),a("div",{staticClass:"col-6"},[a("q-badge",{attrs:{color:"teal",label:t.africamScoreRanking}}),a("br")],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-6 text-caption self-center"},[t._v("\n            Total Species:\n          ")]),a("div",{staticClass:"col-6"},[a("q-badge",{attrs:{color:"teal",label:t.totalSpeciesCount}}),a("br")],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-6 text-caption self-center"},[t._v("\n            Total Tags:\n          ")]),a("div",{staticClass:"col-6"},[a("q-badge",{attrs:{color:"teal",label:t.totalTagsCount}}),a("br")],1)])])]),t.fromLeaderboard?a("div",{staticClass:"row q-pa-xs justify-end"},[a("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:t.launchGuidelines}}
1,[a("span",{staticClass:"link-underline"},[t._v("Guidelines")])]),a("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:t.launchFaq}},[a("span",{staticClass:"link-underline"},[t._v("FAQ's")])]),a("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:t.goToLeaderBoard}},[a("span",{staticClass:"link-underline"},[t._v("Leaderboard")])])],1):t._e(),t.fromLeaderboard?a("div",{staticClass:"q-mt-xs"},[a("q-tabs",{staticClass:"bg-grey-3",attrs:{align:"justify"},on:{input:t.fetchTagSummary},model:{value:t.selectedLeaderboardTab,callback:function(e){t.selectedLeaderboardTab=e},expression:"selectedLeaderboardTab"}},[a("q-tab",{attrs:{name:"monthly",label:"This Month"}}),a("q-tab",{attrs:{name:"yearly",label:"This Year"}})],1),a("q-tab-panels",{attrs:{animated:""},model:{value:t.selectedLeaderboardTab,callback:function(e){t.selectedLeaderboardTab=e},expression:"selectedLeaderboardTab"}},[a("q-tab-panel",{attrs:{name:"monthly"}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xs-12 col-md-2"},[a("q-avatar",{attrs:{rounded:"",size:"100px"}},[a("img",{staticClass:"profile-photo",attrs:{src:t.avatar}})]),a("div",{staticClass:"text-subtitle",domProps:{textContent:t._s(t.userDisplayName)}})],1),a("div",{staticClass:"col-xs-12 col-md-10"},[a("div",{staticClass:"row justify-between"},[a("div",{staticClass:"col-9"},[a("div",{staticClass:"text-bold link-underline text-caption q-pb-sm"},[t._v("\n                    CURRENT PLAYER SCORES\n                  ")]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-2 text-caption"},[t._v("\n                      Ranking:\n                    ")]),a("div",{staticClass:"col-2"},[a("q-badge",{attrs:{color:"teal",label:t.playerRanking}}),a("br")],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-2 text-caption"},[t._v("\n                      Total Species:\n                    ")]),a("div",{staticClass:"col-2"},[a("q-badge",{attrs:{color:"teal",label:t.playerSpeciesCount}}),a("br")],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-2 text-caption"},[t._v("\n                      Total Tags:\n                    ")]),a("div",{staticClass:"col-2"},[a("q-badge",{attrs:{color:"teal",label:t.playerTags}}),a("br")],1)])]),a("div",{staticClass:"col-3 self-center"},[a("q-img",{attrs:{"no-default-spinner":"",src:"/images/afritag-logo.svg",width:"100%"}})],1)])])]),a("div",{staticClass:"row"},[a("div",{staticClass:"q-pt-md q-pb-xs"},["animal"===t.category?a("div",{staticClass:"row"},[a("span",[t._v("SafariSnaps Animals")])]):t._e(),"bird"===t.category?a("div",{staticClass:"row"},[a("span",[t._v("SafariSnaps Birds")])]):t._e()])]),t.loadingLeaderboard?a("div",{staticClass:"text-center"},[a("span",{staticClass:"\n                q-mr-sm\n                text-weight-bold text-caption text-uppercase text-grey-6\n              "},[t._v("Loading Tags")]),a("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1):a("div",{staticClass:"col-12 text-uppercase"},[a("q-table",{ref:"tagsTable",class:t.$q.screen.width<600?"afritag-table-mobile":"afritag-table",attrs:{columns:t.columns,data:t.data,"no-data-label":"No Animals Tagged, Get Tagging!",separator:t.separator,"rows-per-page-label":"Animals Per Page","rows-per-page-options":[50,100]},on:{"row-click":t.onRowClick},scopedSlots:t._u([{key:"top",fn:function(e){return[a("div",{class:t.$q.screen.width<600?"col-5":"col-9"},[t._v("\n                  YOUR TAGS\n                ")]),a("q-space"),a("div",{class:t.$q.screen.width<600?"col-7":"col-3"},[a("q-select",{attrs:{filled:"",dense:"",options:t.sortOptions,label:"Sort By",placeholder:"Sort By"},on:{input:function(e){return t.sortTable(e)}},model:{value:t.sortModel,callback:function(e){t.sortModel=e},expression:"sortModel"}})],1)]}}],null,!1,928460954)})],1)]),a("q-tab-panel",{attrs:{name:"yearly"}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xs-12 col-md-2"},[a("q-avatar",{attrs:{rounded:"",size:"100px"}},[a("img",{staticClass:"profile-photo",attrs:{src:t.avatar}})]),a("div",{staticClass:"text-subtitle",domProps:{textContent:t._s(t.userDisplayName)}})],1),a("div",{staticClass:"col-xs-12 col-md-10"},[a("div",{staticClass:"row justify-between"},[a("div",{staticClass:"col-9"},[a("div",{staticClass:"text-bold link-underline text-caption q-pb-sm"},[t._v("\n                    CURRENT PLAYER SCORES\n                  ")]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-2 text-caption"},[t._v("\n                      Ranking:\n                    ")]),a("div",{staticClass:"col-2"},[a("q-badge",{attrs:{color:"teal",label:t.playerRanking}}),a("br")],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-2 text-caption"},[t._v("\n                      Total Species:\n                    ")]),a("div",{staticClass:"col-2"},[a("q-badge",{attrs:{color:"teal",label:t.playerSpeciesCount}}),a("br")],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-2 text-caption"},[t._v("\n                      Total Tags:\n                    ")]),a("div",{staticClass:"col-2"},[a("q-badge",{attrs:{color:"teal",label:t.playerTags}}),a("br")],1)])]),a("div",{staticClass:"col-3 self-center"},[a("q-img",{attrs:{"no-default-spinner":"",src:"/images/afritag-logo.svg",width:"100%"}})],1)])])]),a("div",{staticClass:"row"},[a("div",{staticClass:"q-pt-md q-pb-xs"},["animal"===t.category?a("div",{staticClass:"row"},[a("span",[t._v("SafariSnaps Animals")])]):t._e(),"bird"===t.category?a("div",{staticClass:"row"},[a("span",[t._v("SafariSnaps Birds")])]):t._e()])]),t.loadingLeaderboard?a("div",{staticClass:"text-center"},[a("span",{staticClass:"\n                q-mr-sm\n                text-weight-bold text-caption text-uppercase text-grey-6\n              "},[t._v("Loading Tags")]),a("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1):a("div",{staticClass:"col-12 text-uppercase"},[a("q-table",{ref:"tagsTable",class:t.$q.screen.width<600?"afritag-table-mobile":"afritag-table",attrs:{columns:t.columns,data:t.data,"no-data-label":"No Animals Tagged, Get Tagging!",separator:t.separator,"rows-per-page-label":"Animals Per Page","rows-per-page-options":[50,100]},on:{"row-click":t.onRowClick},scopedSlots:t._u([{key:"top",fn:function(e){return[a("div",{class:t.$q.screen.width<600?"col-5":"col-9"},[t._v("\n                  YOUR TAGS\n                ")]),a("q-space"),a("div",{class:t.$q.screen.width<600?"col-7":"col-3"},[a("q-select",{attrs:{filled:"",dense:"",options:t.sortOptions,label:"Sort By",placeholder:"Sort By"},on:{input:function(e){return t.sortTable(e)}},model:{value:t.sortModel,callback:function(e){t.sortModel=e},expression:"sortModel"}})],1)]}}],null,!1,928460954)})],1)])],1)],1):t._e(),t.fromLeaderboard?t._e():a("div",{staticClass:"q-pa-xs"},[a("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:t.launchGuidelines}}
1,[a("span",{staticClass:"link-underline"},[t._v("SafariSnaps Guidelines")])]),a("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:t.launchFaq}},[a("span",{staticClass:"link-underline"},[t._v("SafariSnaps FAQ")])]),a("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:t.goToLeaderBoard}},[a("span",{staticClass:"link-underline"},[t._v("Leaderboard")])])],1),t.fromLeaderboard?t._e():a("div",{staticClass:"row"},[a("div",{staticClass:"col-12 text-uppercase"},[a("q-table",{ref:"tagsTable",class:t.$q.screen.width<600?"afritag-table-mobile":"afritag-table",attrs:{columns:t.columns,data:t.data,"no-data-label":"No Animals Tagged, Get Tagging!",separator:t.separator,"rows-per-page-label":"Animals Per Page","rows-per-page-options":[50,100]},on:{"row-click":t.onRowClick},scopedSlots:t._u([{key:"top",fn:function(e){return[a("div",{class:t.$q.screen.width<600?"col-5":"col-9"},[t._v("\n              YOUR TAGS\n            ")]),a("q-space"),a("div",{class:t.$q.screen.width<600?"col-7":"col-3"},[a("q-select",{attrs:{filled:"",dense:"",options:t.sortOptions,label:"Sort By",placeholder:"Sort By"},on:{input:function(e){return t.sortTable(e)}},model:{value:t.sortModel,callback:function(e){t.sortModel=e},expression:"sortModel"}})],1)]}}],null,!1,34695834)})],1)]),t.fromLeaderboard?t._e():a("div",{staticClass:"row"},[a("div",{class:t.$q.screen.width<600?"col-12 q-pa-md text-h7":"col-12 q-pa-md text-h5"},[a("selected-user-gallery",{attrs:{selectedUserId:t.currentUserId}})],1)])]):a("section",{staticClass:"tag-detail"},[t.fromLeaderboard?t._e():a("div",{staticClass:"q-pl-md"},[a("q-btn",{staticClass:"q-pr-sm",attrs:{outline:"",dense:"",color:"grey",label:"Back To Tags",icon:"fas fa-chevron-left"},on:{click:function(e){t.selectedAnimal=0}}})],1),a("div",{staticClass:"row q-mt-md"},[a("div",{staticClass:"text-center q-pb-md q-pr-md q-pl-md q-pt-none text-left",class:t.$q.screen.width<500?"col-12":"col-4"},[t.selectedAnimalData.avatar?a("q-img",{attrs:{src:t.selectedAnimalData.avatar},scopedSlots:t._u([{key:"loading",fn:function(){return[a("div",{staticClass:"text-subtitle1 text-white"},[t._v("Loading...")])]},proxy:!0}],null,!1,492058571)}):a("q-icon",{staticClass:"filter-brand-orange",attrs:{name:t.animalAvatarPath(t.animalAvatarIcon),size:"200px"}}),t.selectedAnimalData.avatar?a("router-link",{staticClass:"text-black text-underline text-caption",attrs:{to:{name:"animal",params:{id:t.selectedAnimalId,type:t.selectedAnimalType}}},domProps:{textContent:t._s(t.learnMoreLabel)}}):t._e()],1),a("div",{staticClass:"col-sm-12 col-md-8 q-pt-none",class:t.$q.screen.width<500?"q-pl-md":""},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-sm-12 col-md-10"},[a("p",{staticClass:"text-small text-grey-5 q-mb-none q-pt-none",domProps:{textContent:t._s(t.selectedAnimalScientificName)}}),a("h2",{staticClass:"\n                text-h5 text-weight-bold text-uppercase\n                q-mt-none q-my-sm\n              ",domProps:{innerHTML:t._s(t.selectedRow.name)}})]),t.fromLeaderboard?a("div",{staticClass:"col-sm-12 col-md-2"},[a("div",{staticClass:"q-pb-sm text-left q-pl-sm"},[a("q-avatar",{attrs:{size:"75px"}},[a("img",{staticClass:"profile-photo",attrs:{src:t.avatar}})]),a("div",{staticClass:"text-body2 q-pl-sm",domProps:{textContent:t._s(t.userDisplayName)}})],1)]):a("div",{staticClass:"col-sm-12 col-md-2"},[a("div",{staticClass:"q-pb-sm text-left q-pl-sm"},[a("q-avatar",{attrs:{size:"75px"}},[a("img",{staticClass:"profile-photo",attrs:{src:t.getUser.avatar}})]),a("div",{staticClass:"text-body2 q-pl-sm",domProps:{textContent:t._s(t.currentUser.display_name)}})],1)])]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-12"},[a("q-markup-table",{class:t.$q.screen.width<600?"afritag-table-mobile":"afritag-table",attrs:{separator:"vertical"}},[a("thead",[a("tr",[a("th",{staticClass:"text-left"},[t._v("Species")]),a("th",{staticClass:"text-left"},[t._v("Rarity Points")]),a("th",{staticClass:"text-left"},[t._v("Tags")]),a("th",{staticClass:"text-left"},[t._v("Score")])])]),a("tbody",[a("tr",[a("td",{staticClass:"text-left",domProps:{textContent:t._s(t.selectedRow.name)}}),a("td",{staticClass:"text-left",domProps:{textContent:t._s(t.selectedRow.rarity_value)}}),a("td",{staticClass:"text-left",domProps:{textContent:t._s(t.selectedRow.total_tags)}}),a("td",{staticClass:"text-left",domProps:{textContent:t._s(t.selectedRow.total_points)}}
1)])])])],1)])])]),t.fromLeaderboard?a("div",{staticClass:"row"},[a("div",{class:t.$q.screen.width<600?"col-12 q-pa-md text-h7":"col-12 q-pa-md text-h5"},[a("selected-user-gallery",{key:t.userId+"-"+t.selectedAnimalId,attrs:{selectedUserId:t.userId,selectedAnimalId:t.selectedAnimalId,fromLeaderboard:t.fromLeaderboard}})],1)]):a("div",{staticClass:"row"},[a("div",{class:t.$q.screen.width<600?"col-12 q-pa-md text-h7":"col-12 q-pa-md text-h5"},[a("selected-animal-gallery",{attrs:{animal:t.selectedAnimal,selectedRow:t.selectedRow,heading:"SafariSnaps you have captured of "+t.selectedRow.name}})],1)])]),a("upgrade-prompt",{attrs:{"premium-logo":"",action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}}),a("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(e){t.showGuidelines=!1}},model:{value:t.showGuidelines,callback:function(e){t.showGuidelines=e},expression:"showGuidelines"}},[a("q-card",{staticClass:"q-pa-md",style:t.imageWidth},[a("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),a("q-card-section",[a("afritag-guidelines")],1)],1)],1),a("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(e){t.showFaq=!1}},model:{value:t.showFaq,callback:function(e){t.showFaq=e},expression:"showFaq"}},[a("q-card",{staticClass:"q-pa-md",style:t.imageWidth},[a("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),a("q-card-section",[a("afritag-faq")],1)],1)],1)],1)},Ml=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row"},[s("div",{staticClass:"col-sm-12 col-md-6"})])}],jl=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("page-heading",{class:e.$q.screen.width<600?"text-h-8":"text-h5",attrs:{heading:e.headingLabel}}),s("div",{staticClass:"col-12",class:e.$q.screen.width<600?"text-h-8":"text-h6"},[e._v("\n  Click on a photo to view a larger version\n  ")]),s("q-infinite-scroll",{key:e.animalGalleryComponent,ref:"photoScroller",staticClass:"row q-col-gutter-md",attrs:{offset:1e3},on:{load:e.loadMorePhotos},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                q-mr-sm\n                text-weight-bold text-caption text-uppercase text-grey-6\n              "},[e._v("Loading photos")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])])]},proxy:!0}])},[e._l(e.photos,(function(t,a){return[e.adBreak(a)?s("div",{key:"selected-animal-gallery-ad-"+a,staticClass:"col-xs-12 q-py-md text-center"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}}),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}})],1):e._e(),s("div",{key:"selected-animal-gallery-photo-"+a,staticClass:"col-xs-12 col-sm-12 col-md-3 col-xl-3 cursor-pointer"},[s("afritag-preview",{attrs:{ratio:16/9,photo:t},on:{removed:function(t){return e.reloadAnimalGallery(a)}}})],1)]}))],2),e.allPhotosAreLoaded?s("div",{staticClass:"text-center"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("All your snapshots are loaded.")])]):e._e()],1)},Ql=[],Ul=Object(ce["a"])("photos"),Fl=(Ul.mapGetters,Ul.mapActions),Bl=Object(ce["a"])("user"),Hl=(Bl.mapActions,Bl.mapGetters),Gl={name:"UserAnimalGallery",computed:ne()(ne()({},Hl(["getAuthenticated","getIsSubscriber","getUser"])),{},{currentUser(){return this.getUser||{}},headingLabel(){var e;return null!==(e=this.heading)&&void 0!==e?e:this.$props.selectedRow.name}}),data(){return{allPhotosAreLoaded:!1,animalGalleryComponent:0,lastPage:1,photos:[],slotSize:0}},methods:ne()(ne()({},Fl(["clearPhotos","fetchPhotos"])),{},{adSlotResize(e){this.slotSize=e.width},reloadAnimalGallery(e){this.photos=this.photos.splice(this.photos.indexOf(e),0),this.animalGalleryComponent+=1},loadMorePhotos(e,t){var s=this;if(e>s.lastPage)return t(),s.$refs.photoScroller.stop(),void(s.allPhotosAreLoaded=!0);s.fetchPhotos({filters:{user:_.get(s,"currentUser.id",0),animal:_.get(s,"animal",0),is_afritag:!0},page:e,per_page:s.dbPageSize()}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.photos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){t()}))}}
1),mounted(){var e=this;e.clearPhotos(),e.$refs.photoScroller.trigger()},mixins:[hi],props:{animal:{type:Number,default:0,required:!0,deep:!0,immediate:!0},selectedRow:{type:Object,default:{}},heading:{type:String,required:!1,default:""}},watch:{animal:function(e,t){var s=this;console.log("ANIMAL PROP CHANGED"),console.log({newVal:e}),console.log({oldVal:t}),s.photos=[],s.clearPhotos(),s.loadMorePhotos(0,(function(){return console.log("Finished Updating Photos")}))}}},Wl=Gl,Yl=Object(Ee["a"])(Wl,jl,Ql,!1,null,null,null),Kl=Yl.exports;ze()(Yl,"components",{QInfiniteScroll:uo["a"],QResizeObserver:ho["a"],QSpinnerDots:mo["a"]});var Zl=Object(ce["a"])("notifications"),Jl=Zl.mapGetters,Xl=Zl.mapActions,ec=Object(ce["a"])("user"),tc=ec.mapGetters,sc=(ec.mapActions,Object(ce["a"])("photos")),ac=(sc.mapGetters,sc.mapActions),ic={name:"UserTags",mixins:[hi],props:{fromLeaderboard:{default:!1,type:Boolean},category:{default:"all",type:String},userId:{default:null,type:Number},period:{default:"monthly",type:String},avatar:{type:String},userDisplayName:{type:String}},components:{SelectedAnimalGallery:Kl,selectedUserGallery:go,afritagGuidelines:Yi,afritagFaq:to},computed:ne()(ne()(ne()({},Jl(["getCategories","getUpsertingNotificationCategories"])),tc(["getIsSubscriber","getUser"])),{},{currentUser(){return this.getUser},imageWidth(){var e=.7*this.$q.screen.width;this.$q.screen.height<500&&(e*=.65),this.$q.screen.height<300&&(e*=.8);var t=this.ratio;return this.$q.screen.width>1440?{minWidth:"1280px"}:{minHeight:e/t+52+"px",minWidth:e+"px"}},currentUserId(){return this.currentUser.id},animalAvatarIcon(){var e,t,s,a;return null!==(e=null===(t=this.$data)||void 0===t||null===(s=t.selectedAnimalData)||void 0===s||null===(a=s.name)||void 0===a?void 0:a.toLowerCase())&&void 0!==e?e:"fa-paw"},notificationCategories(){return this.getCategories},notificationCategoriesAreEmpty(){return _.isEmpty(this.getCategories)},totalTagsCount(){return _.sumBy(this.$data.data,(function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.total_tags)&&void 0!==t?t:0}))},totalSpeciesCount(){var e,t,s;return null!==(e=null===(t=this.$data)||void 0===t||null===(s=t.data)||void 0===s?void 0:s.length)&&void 0!==e?e:0},africamScoreLabel(){var e,t;return`${null===(e=this.$data.africamScore)||void 0===e?void 0:e.place} / ${null===(t=this.$data.africamScore)||void 0===t?void 0:t.total_players}`},africamScoreRanking(){var e,t,s;return null!==(e=null===(t=this.$data)||void 0===t||null===(s=t.africamScore)||void 0===s?void 0:s.place)&&void 0!==e?e:0},isUpserting(){return this.getUpsertingNotificationCategories},learnMoreLabel(){return`Learn More about ${this.$data.selectedAnimalData.name}`},selectedAnimalName(){return this.$data.selectedAnimalData.name},selectedAnimalId(){return this.$data.selectedAnimalData.id},selectedAnimalScientificName(){return this.$data.selectedAnimalData.scientific_name},selectedAnimalType(){return"bird"===this.$data.selectedAnimalData.animal_group?"birds":"animals"}}),data(){return{columns:[{name:"name",label:"SPECIES",required:!0,align:"left",style:"width:50%",field:function(e){return e.name},format:function(e){return`${e}`},sortable:!0},{name:"rarity_value",label:"RARITY POINTS",required:!0,align:"left",field:function(e){return e.rarity_value},format:function(e){return`${e}`},sortable:!0},{name:"total_tags",label:"TAGS",required:!0,align:"left",field:function(e){return e.total_tags},format:function(e){return`${e}`},sortable:!0},{name:"total_points",label:"SCORE",required:!0,align:"left",field:function(e){return e.total_points},format:function(e){return`${e}`},sortable:!0}],data:[],dense:!0,separator:"vertical",fitModes:["cover","fill","contain","none","scale-down"],africamScore:[],selectedAnimal:0,selectedUserId:"",selectedAnimalData:0,selectedRow:{},selectedLeaderboardTab:"monthly",loadingLeaderboard:!1,showGuidelines:!1,showFaq:!1,selected:[],notification_ids:[],showUpgradePrompt:!1,upgradeAction:{},upgradeCTA:"",upgradeMessage:"",sortModel:null,playerRanking:0,playerTags:0,playerSpeciesCount:0,sortOptions:[{label:"Rarity Value",value:"rarity_value",description:"Search engine",category:"1"},{label:"Tags",value:"total_tags",description:"Search engine",category:"1"},{label:"Score",value:"total_points",description:"Search engine",category:"1"}]}},methods:ne()(ne()(ne()({},ac(["clearPhotos","fetchPhotos"])),Xl(["upsertSelectedNotifications"])),{},{onRowClick(e,t,s){var a,i,o=this,r=e.srcElement.parentNode.parentElement.children,n=Il()(r);try{for(n.s();!(i=n.n()).done;){var l=i.value;l.classList.remove("selected")}}catch(c){n.e(c)}finally{n.f()}e.srcElement.parentNode.classList.add("selected"),this.$data.selectedAnimal=t.animal_id,this.$data.selectedRow=t,o.fetchAnimal(null!==(a=t.animal_id)&&void 0!==a?a:0),window.scrollTo({top:0,behavior:"smooth"})},goToLeaderBoard(){this.$router.push({name:"leaderboard"})},sortTable(e){console.log("SORT TABLE");var t=this.$refs.tagsTable;t.setPagination({sortBy:e.value,descending:!0,page:1}),this.$data.sortModel=e}
1,launchGuidelines(){this.showGuidelines=!0},launchFaq(){this.showFaq=!0},fetchTagSummary(){var e=this;switch(e.loadingLeaderboard=!0,e.playerRanking=0,e.playerSpeciesCount=0,e.playerTags=0,e.category){case"animal":e.$axios.get(`/api/user/${e.userId}/tags/${e.selectedLeaderboardTab}/animal`).then((function(t){e.$log("FETCH USER SCORE OK",t),e.$data.playerRanking=_.get(t,"data.data.leaderboard.position"),e.$data.playerSpeciesCount=_.get(t,"data.data.leaderboard.total_unique_species"),e.$data.playerTags=_.get(t,"data.data.leaderboard.total_tags")})),e.$axios.get(`/api/user/tags/summary-for-user/${e.userId}/${e.selectedLeaderboardTab}/animal`).then((function(t){e.$log("FETCH TAG SUMMARY OK",t),e.$data.data=_.get(t,"data.data.tags")})).then((function(){e.loadingLeaderboard=!1}));break;case"bird":e.$axios.get(`/api/user/${e.userId}/tags/${e.selectedLeaderboardTab}/bird`).then((function(t){e.$log("FETCH USER SCORE OK",t),e.$data.playerRanking=_.get(t,"data.data.leaderboard.position"),e.$data.playerSpeciesCount=_.get(t,"data.data.leaderboard.total_unique_species"),e.$data.playerTags=_.get(t,"data.data.leaderboard.total_tags")})),e.$axios.get(`/api/user/tags/summary-for-user/${e.userId}/${e.selectedLeaderboardTab}/bird`).then((function(t){e.$log("FETCH TAG SUMMARY OK",t),e.$data.data=_.get(t,"data.data.tags")})).then((function(){e.loadingLeaderboard=!1}));break;default:e.$axios.get("/api/user/tags/summary").then((function(t){e.$log("FETCH TAG SUMMARY OK",t),e.$data.data=_.get(t,"data.data.tags"),e.$data.africamScore=_.get(t,"data.data.africam_score")})).then((function(){e.loadingLeaderboard=!1}));break}},fetchAnimal(e){var t=this;t.$data.loadingAnimal=!0,t.$axios.get(`/api/animals/${e}`).then((function(e){t.$log("FETCH ANIMAL SUMMARY OK",e),t.$data.loadingAnimal=!1,t.$data.selectedAnimalData=_.get(e,"data.animal")})).catch((function(e){t.$q.notify({color:"dark-green",closeBtn:"dismiss",html:!0,message:"Error fetching animal",textColor:"white",timeout:3e4})}))},selectCategories(){var e=this,t=_.map(_.get(this,"getUser.notification_categories",[]),(function(e){return e.id}));_.isArray(t)&&e.$set(e,"notification_ids",t)},upsertCategories(){this.upsertSelectedNotifications({selected_categories:this.notification_ids,user_id:_.get(this,"getUser.id",0)})}}),mounted(){this.fromLeaderboard&&(this.selectedLeaderboardTab=this.period),this.fetchTagSummary()},watch:{}},oc=ic,rc=(s("e9f1"),s("429b")),nc=s("7460"),lc=s("adad"),cc=s("823b"),dc=s("eaac"),uc=s("2c91"),hc=s("2bb1"),mc=Object(Ee["a"])(oc,zl,Ml,!1,null,null,null),pc=mc.exports;ze()(mc,"components",{QSpinnerDots:mo["a"],QAvatar:Ol["a"],QBadge:Ir["a"],QBtn:De["a"],QTabs:rc["a"],QTab:nc["a"],QTabPanels:lc["a"],QTabPanel:cc["a"],QImg:yi["a"],QTable:dc["a"],QSpace:uc["a"],QSelect:zr["a"],QIcon:Ai["a"],QMarkupTable:hc["a"],QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"]}),ze()(mc,"directives",{ClosePopup:Y["a"]});var gc=Object(ce["a"])("photos"),vc=(gc.mapGetters,gc.mapActions),fc=Object(ce["a"])("user"),bc=fc.mapGetters,wc={components:{afritagGuidelines:Yi,afritagFaq:to,selectedUserGallery:go,LeaderCard:Vl,UserTags:pc},name:"LeaderBoardPage",computed:ne()(ne()({},bc(["getAuthenticated","getIsSubscriber"])),{},{columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},ctaWidth(){this.$q.screen.height},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio},imageWidthVideo(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}},currentHighlights(){return this.photos},africamLeaderLabel(){var e,t;return null!==(e=null===(t=this.$data.topScorer)||void 0===t?void 0:t.display_name)&&void 0!==e?e:"loading"},africamLeaderRank(){var e,t;return null!==(e=null===(t=this.$data.topScorer)||void 0===t?void 0:t.rank)&&void 0!==e?e:""},africamLeaderScore(){var e,t;return null!==(e=null===(t=this.$data.topScorer)||void 0===t?void 0:t.total_score)&&void 0!==e?e:"loading"},tagLeaderLabel(){var e,t;return null!==(e=null===(t=this.$data.topTagger)||void 0===t?void 0:t.display_name)&&void 0!==e?e:"loading"},tagLeaderRank(){var e,t;return null!==(e=null===(t=this.$data.topTagger)||void 0===t?void 0:t.rank)&&void 0!==e?e:""},tagLeaderScore(){var e,t;return null!==(e=null===(t=this.$data.topTagger)||void 0===t?void 0:t.total_tags)&&void 0!==e?e:"loading"},specieLeaderLabel(){var e,t;return null!==(e=null===(t=this.$data.topSpecie)||void 0===t?void 0:t.display_name)&&void 0!==e?e:"loading"},specieLeaderScore(){var e,t;return null!==(e=null===(t=this.$data.topSpecie)||void 0===t?void 0:t.total_unique_species)&&void 0!==e?e:"loading"},specieLeaderRank(){var e,t;return null!==(e=null===(t=this.$data.topSpecie)||void 0===t?void 0:t.rank)&&void 0!==e?e:""},leaderboardType(){return this.selectedLeaderboard.startsWith("animal")?"animal":this.selectedLeaderboard.startsWith("bird")?"bird":"all"},leaderboardPeriod(){return this.selectedLeaderboard.endsWith("monthly")?"month":this.selectedLeaderboard.endsWith("yearly")?"year":void 0},leaderboardPeriodRange(){return this.selectedLeaderboard.split("_")[1]},leaderboardHeading(){return`${this.leaderboardType}s leaderboard - this ${this.leaderboardPeriod}`}}),created(){_.get(this,"$route.params.id",!1)&&this.getFocusedPhoto()},data(){return{allPhotosAreLoaded:!1,showGuidelines:!1,hideSelect:!1,separator:"vertical",aboutVideo:!1,leaderboardVideo:!1,show
1Faq:!1,leaderBoardStats:[],galleryComponent:0,fetchingPhotos:!1,focusedPhoto:{},lastPage:1,meta:{title:"Africam Photo Highlights from live cameras."},topTagger:{},topScorer:{},topSpecie:{},monthlyTopScorer:{},yearlyTopScorer:{},monthlyAnimalTopSpecie:{},monthlyBirdTopSpecie:{},monthlyAnimalTopTagger:{},monthlyBirdTopTagger:{},yearlyAnimalTopSpecie:{},yearlyBirdTopSpecie:{},yearlyAnimalTopTagger:{},yearlyBirdTopTagger:{},selectedUserId:"",selectedUserName:"",leadersLoaded:!1,rowSelected:!1,perRow:3,photos:[],showFocusedPhoto:!1,slotSize:0,columns:[{name:"row-number",label:"#",required:!0,align:"left",style:"width:50%",sortable:!1},{name:"name",label:"User",required:!0,align:"left",style:"width:50%",field:function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.display_name)&&void 0!==t?t:"Africam User"},format:function(e){return`${e}`},sortable:!1},{name:"total_points",label:"SafariSnaps Score",required:!0,align:"left",field:function(e){return e.total_score},format:function(e){return`${e}`},sortable:!1},{name:"total_tags",label:"Animal Tags",required:!0,align:"left",field:function(e){return e.total_tags},format:function(e){return`${e}`},sortable:!1},{name:"total_unique_species",label:"Species Tags",required:!0,align:"left",field:function(e){return e.total_unique_species},format:function(e){return`${e}`},sortable:!1}],data:[],monthlyAnimals:[],monthlyBirds:[],yearlyAnimals:[],yearlyBirds:[],sortModel:null,sortDirection:!0,sortOptions:[{label:"SafariSnaps Score",value:"total_points",description:"Search engine",category:"1"},{label:"Animal Tags",value:"total_tags",description:"Search engine",category:"1"},{label:"Most Species",value:"total_unique_species",description:"Search engine",category:"1"}],selectedLeaderboardTab:"monthly",selectedLeaderboard:"animal_monthly",selectedLeaderType:"species",leaderboardAnimalOptions:[{label:"This Month",value:"animal_monthly"},{label:"This Year",value:"animal_yearly"}],leaderboardBirdOptions:[{label:"This Month",value:"bird_monthly"},{label:"This Year",value:"bird_yearly"}]}},meta(){return{title:this.meta.title}},methods:ne()(ne()({},vc(["clearPhotos","fetchPhotos"])),{},{deletePreviewItem(e){this.rerenderGallery()},getUserAvatarUri(e){return`https://live-api.africam.com/api/avatar/${e}`},reloadGallery(e){this.photos=this.photos.splice(this.photos.indexOf(e),0),this.galleryComponent+=1},adSlotResize(e){this.slotSize=e.width},launchGuidelines(){this.showGuidelines=!0},launchHowToVideo(){this.aboutVideo=!0},launchLeaderboardVideo(){this.leaderboardVideo=!0},launchFaq(){this.showFaq=!0},sortTable(e){console.log("SORT TABLE");var t=this.$refs.leaderTable;t.setPagination({sortBy:e.value,descending:!this.$data.sortDirection,page:1}),this.$data.sortModel=e,this.$data.sortDirection=!this.$data.sortDirection},getFocusedPhoto(){var e=this;e.fetchPhotos({filters:{id:_.get(e,"$route.params.id",null)}}).then((function(t){var s=_.get(t,"data.data",[]);_.isArray(s)&&!_.isEmpty(s)&&(e.$set(e,"focusedPhoto",s[0]),e.$nextTick((function(){e.showFocusedPhoto=!0})),e.$log("FOCUSED PHOTO:",e.focusedPhoto))}))},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0},loadMorePhotos(e,t){var s=this;if(e>s.lastPage)return t(),void(s.allPhotosAreLoaded=!0);s.fetchPhotos({filters:{is_afritag:!0},page:e,per_page:s.dbPageSize(),isAfritag:!0}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.photos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",1)})).finally((function(){t()}))},onRowClick(e,t,s){var a,i=e.srcElement.parentNode.parentElement.children,o=Il()(i);try{for(o.s();!(a=o.n()).done;){var r=a.value;r.classList.remove("selected")}}catch(n){o.e(n)}finally{o.f()}e.srcElement.parentNode.classList.add("selected"),this.$data.selectedAnimal=t.animal_id,this.$data.selectedRow=t,this.rowSelected=!0,self.window.scrollTo(0,0),this.selectedUserName=t.display_name,this.selectedUserAvatar=this.getUserAvatarUri(t.user_id),this.selectedUserAfritagScore=t.total_score,this.selectedUserAfritagPosition=t.position,this.selectedUserAnimalTags=t.total_tags,this.selectedUserSpeciesTags=t.total_unique_species,this.selectedUserRanking=t.rank,this.selectedUserId=t.user_id,c
1onsole.log("SELECTED USER ID"),console.log(this.selectedUserId)},fetchTagLeaderboard(){var e=this;e.$axios.get("/api/leaderboard").then((function(t){e.$log("FETCH TAG LEADERBOARD OK",t),e.$data.data=_.toArray(_.get(t,"data.data.leaderboard.leaderBoard")),e.$data.topTagger=_.get(t,"data.data.leaderboard.topTagger"),e.$data.topScorer=_.get(t,"data.data.leaderboard.topScorer"),e.$data.topSpecie=_.get(t,"data.data.leaderboard.topSpecies"),e.$data.leadersLoaded=!0}))},loadMonthlyAnimals(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,self.$axios.get("/api/leaderboard/monthly/animals");case 2:s=t.sent,e.monthlyAnimals=s.data.data.leaderboard;case 4:case"end":return t.stop()}}),t)})))()},loadMonthlyBirds(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,self.$axios.get("/api/leaderboard/monthly/birds");case 2:s=t.sent,e.monthlyBirds=s.data.data.leaderboard;case 4:case"end":return t.stop()}}),t)})))()},loadYearlyAnimals(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,self.$axios.get("/api/leaderboard/yearly/animals");case 2:s=t.sent,e.yearlyAnimals=s.data.data.leaderboard;case 4:case"end":return t.stop()}}),t)})))()},loadYearlyBirds(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,self.$axios.get("/api/leaderboard/yearly/birds");case 2:s=t.sent,e.yearlyBirds=s.data.data.leaderboard;case 4:case"end":return t.stop()}}),t)})))()},loadTopScorer(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,self.$axios.get("/api/leaderboard/topscorer");case 2:s=t.sent,e.monthlyTopScorer=s.data.data.monthly,e.yearlyTopScorer=s.data.data.yearly;case 5:case"end":return t.stop()}}),t)})))()},leaderboardToggledTabs(){switch(this.selectedLeaderboardTab){case"yearly":this.topScorer=ne()({},this.yearlyTopScorer);break;case"monthly":default:this.topScorer=ne()({},this.monthlyTopScorer);break}},leaderboardToggled(){switch(this.selectedLeaderboard){case"animal_yearly":this.data=this.yearlyAnimals.leaderBoard;break;case"bird_monthly":this.data=this.monthlyBirds.leaderBoard;break;case"bird_yearly":this.data=this.yearlyBirds.leaderBoard;break;case"animal_monthly":default:this.data=this.monthlyAnimals.leaderBoard;break}}}),mixins:[hi,mi],mounted(){var e=this,t=this;t.perRow=t.sensibleRowsPerPage(3,"highlightsPerRow"),t.clearPhotos(),t.$refs.photoScroller.trigger(),t.$log("PHOTO ID:",t.$route.params.id),Promise.all([t.loadMonthlyAnimals(),t.loadYearlyAnimals(),t.loadMonthlyBirds(),t.loadYearlyBirds(),t.loadTopScorer()]).then((function(){console.log("All leaderboard data loaded"),t.topScorer=e.monthlyTopScorer,e.yearlyAnimalTopTagger=ne()({},e.yearlyAnimals.topTagger),e.yearlyAnimalTopSpecie=ne()({},e.yearlyAnimals.topSpecies),e.yearlyBirdTopTagger=ne()({},e.yearlyBirds.topTagger),e.yearlyBirdTopSpecie=ne()({},e.yearlyBirds.topSpecies),e.monthlyAnimalTopTagger=ne()({},e.monthlyAnimals.topTagger),e.monthlyAnimalTopSpecie=ne()({},e.monthlyAnimals.topSpecies),e.monthlyBirdTopTagger=ne()({},e.monthlyBirds.topTagger),e.monthlyBirdTopSpecie=ne()({},e.monthlyBirds.topSpecies),t.data=e.monthlyAnimals.leaderBoard,t.leadersLoaded=!0}))},props:{autoplay:{default:!0,type:Boolean,required:!1}},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)}}},yc=wc,xc=(s("5a3e"),s("3786")),qc=s("f20b"),_c=s("db86"),Sc=Object(Ee["a"])(yc,kl,Tl,!1,null,null,null),Cc=Sc.exports;ze()(Sc,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QRadio:xc["a"],QTabs:r
1c["a"],QTab:nc["a"],QTabPanels:lc["a"],QTabPanel:cc["a"],QCard:Ne["a"],QCardSection:Oe["a"],QAvatar:Ol["a"],QChip:Ll["a"],QSpinnerDots:mo["a"],QBtnToggle:So["a"],QTable:dc["a"],QSpace:uc["a"],QSelect:zr["a"],QBtnDropdown:qc["a"],QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"],QItemLabel:br["a"],QTd:_c["a"],QInfiniteScroll:uo["a"],QResizeObserver:ho["a"],QDialog:Re["a"],QIcon:Ai["a"]}),ze()(Sc,"directives",{ClosePopup:Y["a"]});var Ac=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",[s("div",{staticClass:"q-pa-xl"},[s("div",{class:e.pagePadding},[s("div",{class:e.videoPadding},[s("div",[s("p",[e._v("\n               Sign up to \n             ")])]),s("div",{staticClass:"row q-pb-xl"},[s("div",{staticClass:"col-xs-12 col-md-6 q-pb-md"},[s("p",{class:e.headlineText},[e._v("\n               Watch, learn and play \n             ")]),s("p",{staticClass:"text-justify"},[e._v("\n                 Ad-free live streams, access to all our wildlife content and a\n                 sighting and scoring game – SafariSnaps. You also help us build\n                 and maintain our camera network and promote conservation.         \n             ")]),s("p",[e._v("    \n                 Try our two-week free trial.\n             ")]),s("p",[e._v("     \n                 Money back guarantee. Ad free. Cancel anytime.\n             ")]),s("div",{class:e.buttonCenter},[s("q-btn",{attrs:{to:{name:"subscribe"},size:"lg",color:"brand-orange"}},[e._v("START YOUR TWO-WEEK FREE TRIAL\n             ")])],1),s("p",{staticClass:"q-pt-lg"},[e._v("    \n                 Free two-week trial, then just $4.99 (+VAT) per month\n             ")])]),s("div",{staticClass:"col-xs-12 col-md-6",class:e.videoPadding},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/premium-new-1.jpg",ratio:16/9},on:{click:e.launchAboutVideo}})],1)]),s("div",{staticClass:"row q-pt-md q-pb-xl items-center"},[s("div",{staticClass:"col-xs-12 col-md-6 q-pb-lg q-pt-lg",class:e.listTextSize},[s("p",{class:e.headlineText},[e._v("\n               Live streams, ranger shows, ranger curated content, education, and\n               a wildlife game, ad-free! \n           ")]),s("q-list",{staticClass:"rounded-borders"},[s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Ad-free live streams")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Weekly ranger shows")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Daily sightings")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Animals A-Z")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Ranger insights")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Junior ranger interactive learning")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Safarisnaps sighting and scoring game")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Live alerts and sighting emails")])],1)],1)],1),s("div",{staticClass:"col-xs-12 col-md-6",class:e.videoPadding},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/premium-new-2.jpg",ratio:16/9},on:{click:e.launchFeaturesVideo}})],1)]),s("div",{staticClass:"row items-center q-pb-xl"},[e.isMobile?e._e():s("div",{staticClass:"col-xs-12 col-md-3 text-center q-pb-md",class:e.videoPadding},[s("q-img",{staticClass:"cursor-pointer",style:e.phoneMaxHeight,attrs:{src:"/images/premium-new-4.jpg"},on:{click:e.launchSnapsVideo}})],1),s("div",{staticClass:"col-xs-12 col-md-9 q-pb-md q-pt-xl"},[s("p",{class:e.headlineText},[e._v("\n               Live stream wildlife sighting and scoring game \n           ")]),s("p",{staticClass:"text-ju
1stify"},[e._v("\n                 Boast your wildlife knowledge with our sighting and scoring\n                 identification game. Watch the live streams, spot an animal, tag\n                 the animal correctly, get a rarity rating and climb your way to\n                 the top of the leaderboard.          \n             ")]),s("div",{staticClass:"q-pt-lg q-pb-lg",class:e.buttonCenter},[s("q-btn",{attrs:{to:{name:"subscribe"},size:"lg",color:"brand-orange"}},[e._v("START PLAYING")])],1),e.isMobile?s("div",{staticClass:"col-xs-12 col-md-3 text-center q-pb-md",class:e.videoPadding},[s("q-img",{staticClass:"cursor-pointer",style:e.phoneMaxHeight,attrs:{src:"/images/premium-new-4.jpg"},on:{click:e.launchSnapsVideo}})],1):e._e()])]),s("div",{staticClass:"row q-pt-md q-pb-xl items-center"},[s("div",{staticClass:"col-xs-12 col-md-6 q-pb-lg",class:e.listTextSize},[s("p",{class:e.headlineText},[e._v("\n               Ranger curated content from incredible live moments \n           ")]),s("q-list",{staticClass:"rounded-borders"},[s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Interactive live ranger shows")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Animals A-Z")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Ranger insights")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"brand-orange",size:e.listIconSize,name:"fas fa-circle"}})],1),s("q-item-section",[e._v("Interactive junior ranger courses")])],1)],1),s("div",{staticClass:"q-pt-lg q-pb-lg",class:e.buttonCenter},[s("q-btn",{attrs:{to:{name:"subscribe"},size:"lg",color:"brand-orange"}},[e._v("START LEARNING")])],1)],1),s("div",{staticClass:"col-xs-12 col-md-6",class:e.videoPadding},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/premium-new-3.jpg",ratio:16/9},on:{click:e.launchInsightVideo}})],1)])]),s("div",{staticClass:"row justify-center"},[s("div",{staticClass:"col-12 q-pt-sm"},[s("div",{staticClass:"row justify-center q-pt-xl",class:e.faqPadding},[s("div",{staticClass:"col-xs-12 col-md-5"},[s("div",[s("div",{staticClass:"text-weight-medium",class:e.headlineText},[e._v("\n                 Frequently Asked Questions\n               ")]),s("div",{staticClass:"text-subtitle1 q-mt-lg q-mb-lg"},[e._v("\n                 Click on a question\n                 "),e.$q.screen.width>1023?s("span",[e._v(" on the right ")]):s("span",[e._v(" below ")]),e._v("\n                 to find out more.\n               ")])])]),s("div",{staticClass:"col-xs-12 col-md-7 q-pb-xl",class:e.videoPadding},[s("q-list",[s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"Why Subscribe to Africam?"}},[s("q-card",[s("q-card-section",{staticClass:"q-pa-lg"},[e._v("\n                     Your contribution helps us grow our camera network – maintaining the sound and quality of the cameras and funding new camera installations in exciting locations. We offer daily\n                     sightings, custom sighting alerts, additional premium cameras, camera location information, live ranger shows, Track&Tag sighting and scoring game, Junior Ranger and AfriExpert\n                     wildlife education, multi-stream dashboard, daily sightings email, community chat, snapshot function, and we will continue to improve the website and experience for Premium\n                     users.\n                   ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"How do your ranger sessions differ from the other live shows available on the internet?"}},[s("q-card",[s("q-card-section",[e._v("\n                     A big part of the Africam proposition is the fact that our cameras are permanent and form part of the ecosystem that they operate within. The live sights and s
1ounds and animal\n                     sightings are unscripted. On most game drives, the onus is on the ranger to find the animals. With our cameras, the animals come to us. We have no idea who will be visiting us and\n                     when. The animals are undisturbed and perfectly at ease in their surroundings. It's this anticipation that keeps us hooked and you will hear the excitement in the rangers voice -\n                     Africa, live, raw and unexpected.\n                   ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"How much does it cost?"}},[s("q-card",[s("q-card-section",[e._v("\n                     The monthly subscription is $4.99 (+VAT) per month. No extra costs, no contracts and you can cancel anytime.\n                   ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"How does the 14 day 100% money back guarantee work?"}},[s("q-card",[s("q-card-section",[e._v("\n                     We will only bill you on the 15th day post your sign up to Africam Premium. Should you not be satisfied for any reason during the first 14 days of your subscription, you can cancel and\n                     we will not charge you.\n                   ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup","header-class":"q-pa-lg faq-header",label:"How do I cancel?"}},[s("q-card",[s("q-card-section",[e._v("\n                     Africam is flexible. There are no nasty long term contracts and no commitments. You can easily cancel your account online at any time with no cancellation fees. Simply go to your\n                     profile and select Subscription Management, from there you can cancel, pause or restart your subscription. You can still enjoy the remainder of your current subscription period and\n                     your Premium membership will only cancel on the last day.\n                   ")])],1)],1)],1)],1),s("div",{staticClass:"q-pt-xl col-12 text-center"},[s("p",{staticClass:"text-h5"},[e._v("\n       Join us for a two-week free trial.\n       ")]),s("q-btn",{attrs:{to:{name:"subscribe"},size:"lg",color:"brand-orange"}},[e._v("Subscribe")])],1)])])])])])]),s("site-footer"),s("direct-stream-player",{attrs:{"show-video":e.showVideoModal,video:e.currentVideo},on:{"modal-closed":e.directModalClosed}}),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showAboutVideo=!1}},model:{value:e.showAboutVideo,callback:function(t){e.showAboutVideo=t},expression:"showAboutVideo"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidthVideo},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:e.autoplay,previewImageSize:"maxresdefault",src:e.popupVideoSource}})],1)],1)],1)],1)},kc=[],Tc=(s("a4d3"),s("e01a"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row justify-around q-mb-xl"},[s("div",{staticClass:"col-12"},[e.$q.screen.width>1023?s("div",{staticClass:"row justify-around q-col-gutter-lg q-mb-xl"},[s("div",{staticClass:"col-xs-11 col-sm-6 col-md-4"},[s("pricing-item",{attrs:{features:e.features,target:e.visitorTarget,label:"Watch Now","sub-label":"For FREE",action:"Free",byline:"View Cameras. Limited Features.",description:"Free <strong>LIVE</strong> cams with advertising.",icon:"far fa-user",plan:"GUEST",superText:"Browse","user-type":"visitor"}})],1),s("div",{staticClass:"col-xs-11 col-sm-6 col-md-4"},[s("pricing-item",{attrs:{features:e.features,target:e.registeredTarget,action:"Register",byline:"Full community Access",description:"<strong>Register</strong> and enjoy all community based features. <span class='text-grey-5'>Ad sponsored.</span>",icon:"fas fa-user",plan:"AFRICAM MEMBER",superText:"Participate","user-type":"user"}})],1),s("div",{staticClass:"col-xs-11 col-sm-9 col-md-4"},[s("pricing-item",{attrs:{features:e.features,target:e.subscribeTarget,action:"Subscribe",byline:"Unlimited $4.99 (+VAT) per month",currency:"&dollar;",description:"Africam's full suite of features all Ads FREE.<div class='text-caption text-grey-5'>14 day money back guarantee</div>",emphasis:"","header-bg":"bg-black",icon:"fas fa-medal",plan:"PREMIUM SUBSCRIBER",superText:"Contribute","user-type":"subscriber"}})],1)]):s("div",{staticClass:"row justify-around q-mb-xl"},[s("div",{staticClass:"col-xs-11 col-sm-9 col-md-4"},[s("mobile-pricing-item",{attrs:{features:e.features,action:"Features",byline:"",currency:"&dollar;",description:"All features including a <strong>$2.00</strong> monthly donation to help uplift communities in need during COVID.",emphasis:"","header-bg":"bg-black",icon:"fas fa-medal",plan:"CHOOSE YOUR PLAN",superText:"Contribute","user-type":"subscriber"}})],1)])])])}),Pc=[],Ic=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"fit"},[s("q-card",{staticClass:"fit bg-white",staticStyle:{"border-radius":"20px"},attrs:{flat:""}},[s("q-card-section",[s("q-list",[s("q-item",[s("q-item-section",{attrs:{top:"",avatar:""}},[s("q-avatar",{attrs:{square:"",rounded:""}},[e.icon?s("q-icon",{attrs:{size:"md",name:e.icon}}
1):e._e()],1)],1),s("q-item-section",[s("q-item-label",{staticClass:"text-h6",domProps:{textContent:e._s(e.plan)}})],1)],1)],1)],1),s("q-card-section",{staticClass:"text-center"},[s("div",{staticClass:"flex justify-center"},[s("div",{staticClass:"inline-block text-uppercase text-h4",domProps:{textContent:e._s(e.action)}})]),s("div",{staticClass:"text-caption text-uppercase text-bold text-brand-orange q-mt-sm",domProps:{textContent:e._s(e.byline)}})]),s("q-card-section",[s("q-list",{attrs:{separator:""}},[s("q-item",[s("q-item-section",{staticStyle:{"max-width":"70px"}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[s("div",{staticClass:"rotate text-caption"},[e._v("Visitor")])]),s("div",{staticClass:"col"},[s("div",{staticClass:"rotate text-caption"},[e._v("Member")])]),s("div",{staticClass:"col"},[s("div",{staticClass:"rotate text-caption"},[e._v("Subscriber")])])])]),s("q-item-section",[e._v("\n               \n            ")]),s("q-item-section",{attrs:{avatar:""}})],1),e._l(e.currentFeatures,(function(t,a){return s("q-item",{key:a,staticClass:"text-left"},[s("q-item-section",{staticStyle:{"max-width":"70px"}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col"},[s("q-icon",{staticStyle:{"font-size":"0.8em"},attrs:{color:e.enabled(t,"visitor")?"brand-orange":"grey-4",name:e.enabled(t,"visitor")?"fas fa-check":"fa fa-times"}})],1),s("div",{staticClass:"col"},[s("q-icon",{staticStyle:{"font-size":"0.8em"},attrs:{color:e.enabled(t,"user")?"brand-orange":"grey-4",name:e.enabled(t,"user")?"fas fa-check":"fa fa-times"}})],1),s("div",{staticClass:"col"},[s("q-icon",{staticStyle:{"font-size":"0.8em"},attrs:{color:e.enabled(t,"subscriber")?"brand-orange":"grey-4",name:e.enabled(t,"subscriber")?"fas fa-check":"fa fa-times"}})],1)])]),s("q-item-section",[t.title?s("div",[s("span",{staticStyle:{"font-size":"0.8em"},domProps:{innerHTML:e._s(t.title)}})]):s("div",[s("span",{staticStyle:{"font-size":"0.8em"},domProps:{innerHTML:e._s(t[e.userType]||"")}})])]),s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{staticStyle:{cursor:"help",opacity:".5"},attrs:{color:"grey-6",size:"xs",name:"fa fa-info-circle"}},[s("q-tooltip",{attrs:{anchor:"center right",self:"center left","transition-show":"jump-right","transition-hide":"jump-left"}},[s("span",{domProps:{innerHTML:e._s(t.description)}})])],1)],1)],1)}))],2)],1),s("q-separator"),s("q-card-section",{staticClass:"q-pa-sm text-center"},[s("div",{staticClass:"row q-col-gutter-sm"},[s("div",{staticClass:"col"},[s("q-btn",{staticClass:"full-width q-py-sm text-shadow",attrs:{to:{name:"streams"},color:"brand-orange",label:"Watch","no-caps":"",size:"md","text-color":"white"}}),s("div",{staticClass:"text-caption q-mt-md text-grey-6"},[e._v("for Free")])],1),s("div",{staticClass:"col"},[e.getAuthenticated?s("q-btn",{staticClass:"full-width q-py-sm text-shadow",attrs:{to:{name:"streams"},color:"brand-orange",label:"Watch","no-caps":"",size:"md","text-color":"white"}}):s("q-btn",{staticClass:"full-width q-py-sm text-shadow",attrs:{to:{name:"register"},color:"brand-orange",label:"Register","no-caps":"",size:"md","text-color":"white"}}),s("div",{staticClass:"text-caption q-mt-md text-grey-6"},[e._v("for Free")])],1),s("div",{staticClass:"col"},[e.getAuthenticated?s("q-btn",{staticClass:"full-width q-py-sm text-shadow",attrs:{to:{name:"subscribe"},color:"brand-orange",label:"Subscribe","no-caps":"",size:"md","text-color":"white"}}):s("q-btn",{staticClass:"full-width q-py-sm text-shadow",attrs:{to:{name:"register"},color:"brand-orange",label:"Subscribe","no-caps":"",size:"md","text-color":"white"}}),s("div",{staticClass:"text-caption q-mt-md text-grey-6"},[e._v("$4.99 (+VAT) *")])],1),s("div",{staticClass:"col-12 text-caption text-center text-smaller text-grey-6"},[s("span",{staticClass:"text-smaller"},[e._v(" * Subscriptions offer a 14 day money back guarantee.")])])])])],1)],1)},$c=[],Ec=Object(ce["a"])("user"),Rc=Ec.mapGetters,Nc={name:"MobilePricingItem",computed:ne()(ne()({},Rc(["getAuthenticated","getIsSubscriber"])),{},{currentFeatures(){var e=_.clone(this.features);return _.map(e,(function(e){return e["over"]=!1,e}))}}),data(){return{}},methods:{enabled(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!_.includes(e.enabled,t)},toggleOver(e,t){this.$set(e,"over",t),console.log("Toggling",e)}},mixins:[hi],props:{action:{default:"",type:String},byline:{default:"",type:String},currency:{default:"",type:String},description:{default:"",type:String},emphasis:{default:!1,type:Boolean},features:{default(){return[]},type:Array},superText:{default:"Always",type:String},icon:{default:null,type:String},plan:{default:"",required:!0,type:String},target:{default(){return null},type:Object},userType:{default:"",type:String}}},Oc=Nc,Lc=s("05c0"),Dc=Object(Ee["a"])(Oc,Ic,$c,!1,null,null,null),Vc=Dc.exports;ze()(Dc,"components",{QCard:Ne["a"],QCardSection:Oe["a"],QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"],QAvatar:Ol["a"],QIcon:Ai["a"],QItemLabel:br["a"],QTooltip:Lc["a"],QSeparator:Go["a"],QBtn:De["a"]});var zc=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"fit"},[s("q-card",{staticClass:"fit bg-white",staticStyle:{"border-radius":"20px"},attrs:{flat:""}},[s("q-card-section",[s("q-list",[s("q-item",[s("q-item-section",{attrs:{top:"",avatar:""}},[s("q-avatar",{attrs:{square:"",rounded:""}},[e.icon?s("q-icon",{attrs:{size:"md",name:e.icon}}
1):e._e()],1)],1),s("q-item-section",[s("q-item-label",{staticClass:"text-h6",domProps:{textContent:e._s(e.plan)}})],1)],1)],1)],1),s("q-card-section",{staticClass:"q-py-none text-center text-bold"},[s("span",{staticClass:"text-caption text-grey-5",domProps:{textContent:e._s(e.superText)}})]),s("q-card-section",{staticClass:"text-center"},[s("div",{staticClass:"flex justify-center"},[s("div",{staticClass:"inline-block text-uppercase text-h4",domProps:{textContent:e._s(e.action)}})]),s("div",{staticClass:"text-caption text-uppercase text-bold text-brand-orange q-mt-sm",domProps:{textContent:e._s(e.byline)}})]),s("q-card-section",{staticClass:"q-pt-none q-pb-md text-center",staticStyle:{"min-height":"120px"}},[s("span",{domProps:{innerHTML:e._s(e.description)}})]),s("q-separator"),s("q-card-section",[s("q-list",{attrs:{separator:""}},e._l(e.currentFeatures,(function(t,a){return s("q-item",{key:a,staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:e.enabled(t)?"brand-orange":"grey-4",name:e.enabled(t)?"fas fa-check":"fa fa-times"}})],1),s("q-item-section",[t.title?s("div",[s("span",{class:e.enabled(t)?"semi-bold":"text-grey-5",domProps:{innerHTML:e._s(t.title)}})]):s("div",[s("span",{class:e.enabled(t)?"semi-bold":"text-grey-5",domProps:{innerHTML:e._s(t[e.userType]||"")}})])]),s("q-item-section",{attrs:{avatar:""}},[t.description&&e.enabled(t)?s("q-icon",{staticStyle:{cursor:"help",opacity:".5"},attrs:{color:"grey-6",size:"xs",name:"fa fa-info-circle"}},[s("q-tooltip",{attrs:{anchor:"center right",self:"center left","transition-show":"jump-right","transition-hide":"jump-left"}},[s("span",{domProps:{innerHTML:e._s(t.description)}})])],1):e._e()],1)],1)})),1)],1),s("q-separator"),s("q-card-section",{staticClass:"q-pa-xl text-center"},[s("q-btn",{staticClass:"q-px-md text-shadow",staticStyle:{width:"60%"},attrs:{label:e.get("target.label",""),color:"brand-orange","no-caps":"",size:"lg","text-color":"white"},on:{click:function(t){return e.runGoto(e.target.run)}}}),s("div",{staticClass:"text-caption q-mt-md text-grey-6",domProps:{textContent:e._s(e.get("target.subLabel",""))}})],1)],1)],1)},Mc=[],jc=Object(ce["a"])("user"),Qc=jc.mapGetters,Uc={name:"PricingItem",computed:ne()(ne()({},Qc(["getAuthenticated","getIsSubscriber"])),{},{currentFeatures(){var e=_.clone(this.features);return _.map(e,(function(e){return e["over"]=!1,e}))}}),data(){return{}},methods:{enabled(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!!_.includes(e.enabled,this.userType)},toggleOver(e,t){this.$set(e,"over",t),console.log("Toggling",e)},runGoto(e){switch(e){case"gotoStreams":this.$router.push({name:"streams"});break;case"gotoRegister":this.$router.push({name:"register"});break;case"gotoSubscribe":this.$router.push({name:"subscribe"});break}}},mixins:[hi],props:{action:{default:"",type:String},byline:{default:"",type:String},currency:{default:"",type:String},description:{default:"",type:String},emphasis:{default:!1,type:Boolean},features:{default(){return[]},type:Array},superText:{default:"Always",type:String},icon:{default:null,type:String},plan:{default:"",required:!0,type:String},target:{default(){return null},type:Object},userType:{default:"",type:String}}},Fc=Uc,Bc=Object(Ee["a"])(Fc,zc,Mc,!1,null,null,null),Hc=Bc.exports;ze()(Bc,"components",{QCard:Ne["a"],QCardSection:Oe["a"],QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"],QAvatar:Ol["a"],QIcon:Ai["a"],QItemLabel:br["a"],QSeparator:Go["a"],QTooltip:Lc["a"],QBtn:De["a"]});var Gc=Object(ce["a"])("user"),Wc=Gc.mapGetters,Yc={name:"PricingTable",components:{mobilePricingItem:Vc,pricingItem:Hc},computed:ne()(ne()({},Wc(["getAuthenticated","getIsSubscriber"])),{},{registeredTarget(){return this.getAuthenticated?{label:"WATCH NOW",subLabel:"for FREE",run:"gotoStreams"}:{label:"SIGN UP",subLabel:"for FREE",run:"gotoRegister"}},subscribeTarget(){return{label:"SUBSCRIBE",subLabel:"14 day money back guarantee",run:"gotoSubscribe"}},visitorTarget(){return{label:"WATCH NOW",subLabel:"for Free",run:"gotoStreams"}}}),data(){return{features:[{description:'Free accounts are Ad Sponsored.<br>Premium subscriptions <span class="text-weight-bolder">hide ALL</span> adverts site-wide.',enabled:["subscriber"],visitor:'<span class="text-brand-orange">Ad Sponsored</span>',user:'<span class="text-brand-orange">Ad Sponsored</span>',subscriber:'<span class="text-brand-orange"><strong>Ad Free</strong></span>'},{description:"Daily insights from our resident rangers.",enabled:["subscriber"],title:"Daily Ranger Insights"},{description:"Receive alerts from our Zoomies when they make a sighting. <br> Ensuring you don't miss anything.",enabled:["subscriber"],title:"Custom Sightings Alerts"},{description:"Access to premium only locations and camera angles",enabled:["subscriber"],title:"Extra Premium Cameras"},{description:"Daily emails with our favourite photo / video of the day.",enabled:["user","subscriber"],title:"Daily Highlights Email"},{description:'Have your say in the <span class="text-weight-bolder">LIVE</span> stream chats.',enabled:["user","subscriber"],title:"Community Chat"},{description:"Take a snapshot on our live streams.",enabled:["user","subscriber"],title:"Take Snapshots"},{description:"Access to our multi-stream viewer.",enabled:["visitor","user","subscriber"],title:"Multi-view"},{description:"Live streams without any video advertising",enabled:["visitor","user","subscriber"],visitor:'<span class="text"><strong>LIVE</strong> streams with ads</span>',user:'<span class="text"><strong>LIVE</strong> streams with ads</span>',subscriber:'<span class="text"><strong>LIVE</strong> streams with <strong>NO</strong> ads</span>'},{description:"Access to our live ranger shows.",enabled:["visitor","user","subscriber"],title:"<strong>LIVE</strong> Ranger Shows"}]}}},Kc=Yc,Zc=Object(Ee["a"])(Kc,Tc,Pc,!1,null,null,null),Jc=Zc.exports,Xc=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("span",[s("div",{class:e.$q.screen.width<800?"row q-col-gutter-md justify-center wide-margin":"row q-col-gutter-md justify-center q-pr-xl q-pl-xl wide-margin"},[s("div",{class:e.$q.screen.width<800?"col-12 col-md-6":"col-12 col-md-6 q-pr-xl q-pl-xl"},[s("q-card",{staticClass:"q-pa-xl bg-light package-card",attrs:{flat:"",bordered:"",rounded:""}},[s("q-card-section",{staticClass:"card-line-height"},[s("div",{staticClass:"text-h6 card-line-height"},[s("b",[e._v("Monthly")]),e._v(" Package")]),s("div",{staticClass:"text-subtitle2 text-grey"},[e._v("Billed monthly for only:")])]),s("q-card-section",[s("div",{staticClass:"text-h3 q-mb-sm"},[e._v("$3.25"),s("span",{staticClass:"text-caption text-grey"},[e._v(" +VAT")])]),s("q-separator",{staticClass:"q-my-sm q-mb-lg"}),s("ul",{staticClass:"q-pl-none q-mt-sm",staticStyle:{"list-style":"none"}},[s("li",{staticClass:"row items-center q-mb-xs q-pb-sm"},[s("q-icon",{staticClass:"marketing-orange q-mr-sm",attrs:{name:"fas fa-check"}}),s("span",[e._v("Ads-free Streaming")])],1),s("li",{staticClass:"row items-center q-mb-xs q-pb-sm"},[s("q-icon",{staticClass:"marketing-orange q-mr-sm",attrs:{name:"fas fa-check"}}),s("span",[e._v("SafariSnaps & Photos")])],1),s("li",{staticClass:"row items-center q-mb-xs q-pb-sm"},[s("q-icon",{staticClass:"marketing-orange q-mr-sm",attrs:{name:"fas fa-check"}}),s("span",[e._v("Wildlife App Alerts")])],1),s("li",{staticClass:"row items-center"},[s("q-icon",{staticClass:"marketing-orange q-mr-sm",attrs:{name:"fas fa-check"}}),s("span",[e._v("Membership Content")])],1)])],1),s("q-card-actions",{attrs:{align:"center"}},[s("div",[e.getAuthenticated&&!e.getHasSubscription&&!e.getIsSubscriber||!e.getAuthenticated||e.getHasInactiveSubscription?s("q-btn",{staticClass:"monthly-button",attrs:{loading:e.loadingSubscriptionStatus,color:"marketing-orange",size:"md","full-width":"",rounded:"",outline:""},on:{click:e.subscribeUserMonthly},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"})]},proxy:!0}],null,!1,2399270025)},[s("span",{staticClass:"q-px-lg text-smaller text-uppercase",domProps:{textContent:e._s(e.subscribeLabelMonthly)}}
1)]):e._e()],1)])],1)],1),s("div",{class:e.$q.screen.width<800?"col-12 col-md-6":"col-12 col-md-6 q-pr-xl q-pl-xl"},[s("q-card",{staticClass:"q-pa-xl bg-dark-marketing package-card",attrs:{flat:"",bordered:"",rounded:""}},[s("div",{staticClass:"absolute-top-right q-ma-sm"},[s("q-badge",{attrs:{rounded:"",size:"xl",color:"brown-3",label:"Popular"}})],1),s("q-card-section",{staticClass:"card-line-height"},[s("div",{staticClass:"text-h6 card-line-height"},[s("b",[e._v("Yearly")]),e._v(" Package "),s("span",{staticClass:"discount-text"},[e._v("(25% discount)")])]),s("div",{staticClass:"text-subtitle2 text-grey"},[e._v("Billed once yearly for only:")])]),s("q-card-section",[s("div",{staticClass:"text-h3 q-mb-sm"},[e._v("$29.40"),s("span",{staticClass:"text-caption text-grey"},[e._v(" +VAT")])]),s("q-separator",{staticClass:"q-my-sm q-mb-lg"}),s("ul",{staticClass:"q-pl-none q-mt-sm",staticStyle:{"list-style":"none"}},[s("li",{staticClass:"row items-center q-mb-xs q-pb-sm"},[s("q-icon",{staticClass:"marketing-orange q-mr-sm",attrs:{name:"fas fa-check"}}),s("span",[e._v("Ads-free Streaming")])],1),s("li",{staticClass:"row items-center q-mb-xs q-pb-sm"},[s("q-icon",{staticClass:"marketing-orange q-mr-sm",attrs:{name:"fas fa-check"}}),s("span",[e._v("SafariSnaps & Photos")])],1),s("li",{staticClass:"row items-center q-mb-xs q-pb-sm"},[s("q-icon",{staticClass:"marketing-orange q-mr-sm",attrs:{name:"fas fa-check"}}),s("span",[e._v("Wildlife App Alerts")])],1),s("li",{staticClass:"row items-center"},[s("q-icon",{staticClass:"marketing-orange q-mr-sm",attrs:{name:"fas fa-check"}}),s("span",[e._v("Membership Content")])],1)])],1),s("q-card-actions",{attrs:{align:"center"}},[s("div",[e.getAuthenticated&&!e.getHasSubscription&&!e.getIsSubscriber||!e.getAuthenticated||e.getHasInactiveSubscription?s("q-btn",{staticClass:"yearly-button",attrs:{loading:e.loadingSubscriptionStatus,rounded:"",flat:"","full-width":""},on:{click:e.subscribeUserYearly},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"})]},proxy:!0}],null,!1,2399270025)},[s("span",{staticClass:"q-px-lg text-smaller text-uppercase",domProps:{textContent:e._s(e.subscribeLabelYearly)}})]):e._e()],1)])],1)],1)])])},ed=[],td=Object(ce["a"])("user"),sd=td.mapActions,ad=td.mapGetters,id={name:"SubscriptionManagement",computed:ne()(ne()({},ad(["getAuthenticated","getHasSubscription","getHasInactiveSubscription","getIsFree","getIsSubscriber","getUser","getUserId"])),{},{actionLabel(){return this.getHasInactiveSubscription?"Re-Subscribe":"Manage Subscription"},userEmail(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.currentUser)||void 0===t?void 0:t.email)&&void 0!==e?e:""},userId(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.currentUser)||void 0===t?void 0:t.id)&&void 0!==e?e:0},userIsFree(){var e;return null!==(e=null===this||void 0===this?void 0:this.getIsFree)&&void 0!==e&&e},currentUser(){var e;return null!==(e=null===this||void 0===this?void 0:this.getUser)&&void 0!==e?e:{}}}),data(){return{loadingSubscriptionStatus:!1}},created(){var e=this;le["a"].$on("Checkout.Loaded",(function(t){console.log("CHECKOUT STARTED"),e.$trackCheckoutProcess({paddleEvent:"paddle_checkout_start_modal_launch",paddleCurrency:t.eventData.checkout.prices.customer.currency,paddleProductId:t.eventData.product.id})})),le["a"].$on("Checkout.Customer.Details",(function(t){console.log("LANDED ON CUSTOMER DETAILS"),e.$trackCheckoutProcess({paddleEvent:"paddle_checkout_customer_details",paddleCurrency:t.eventData.checkout.prices.customer.currency,paddleProductId:t.eventData.product.id})})),le["a"].$on("Checkout.Payment.Selection",(function(t){console.log("LANDED ON PAYMENT PAGE"),e.$trackCheckoutProcess({paddleEvent:"paddle_checkout_payment_selection",paddleCurrency:t.eventData.checkout.prices.customer.currency,paddleProductId:t.eventData.product.id})})),le["a"].$on("Checkout.Payment.Selected",(function(t){console.log("CHECKOUT PAYMENT METHOD BEING SELECTED"),e.$trackCheckoutProcess({paddleEvent:"paddle_add_payment_info",paddleCurrency:t.eventData.checkout.prices.customer.currency,paddleProductId:t.eventData.product.id,paddlePaymentType:t.eventData.payment_method})})),le["a"].$on("Checkout.Complete",(function(t){console.log("CHECKOUT PAYMENT COMPLETE"),e.$trackCheckoutProcess({paddleEvent:"paddle_purchase_successful",paddleCurrency:t.eventData.checkout.prices.customer.currency,paddleProductId:t.eventData.product.id,paddleTransactionId:t.eventData.checkout.id})})),le["a"].$on("Checkout.Error",(function(t){console.log("CHECKOUT PAYMENT ERROR"),e.$trackCheckoutProcess({paddleEvent:"paddle_checkout_error",paddleCurrency:t.eventData.checkout.prices.customer.currency,paddleProductId:t.eventData.product.id,paddleError:t.eventData.error,paddleErrorCode:t.eventData.error.code})})),le["a"].$on("Checkout.Close",(function(t){console.log("USER CLOSED CHECKOUT"),e.$trackCheckoutProcess({paddleEvent:"paddle_checkout_closed",paddleCurrency:t.eventData.checkout.prices.customer.currency,paddleProductId:t.eventData.product.id,paddleError:t.eventData.error})}))},methods:ne()(ne()({},sd(["fetchUser","setUserSubscribed"])),{},{subscribeUserMonthly(){this.$trackEvent({event:"select_monthly_package",interactionType:"CTA Click",interactionElementName:"Monthly package button click"});var e=this;this.$axios.get("/api/subscription/payment-link/monthly").then((function(t){var s,a;if(!_.isNil(null===t||void 0===t||null===(s=t.data)||void 0===s||null===(a=s.data)||void 0===a?void 0:a.link)){var i,o,r=null===t||void 0===t||null===(i=t.data)||void 0===i||null===(o=i.data)||void 0===o?void 0:o.link;Paddle.Checkout.open({override:`${r}`,successCallback:function(t){var s;!0===(null===t||void 0===t||null===(s=t.checkout)||void 0===s?void 0:s.completed)&&(e.$emit("success",!0),e.setUserSubscribed(),setTimeout((function(){e.fetchUser()}),11e3))}})}})).catch((function(e){console.log("PAYLINK ERRROR:",e)}))},subscribeUserYearly(){this.$trackEvent({event:"select_yearly_package",interactionType:"CTA Click",interactionElementName:"Yearly package button click"});var e=this;this.$axios.get("/api/subscription/payment-link/yearly").then((function(t){var s,a;if(!_.isNil(null===t||void 0===t||null===(s=t.data)||void 0===s||null===(a=s.data)||void 0===a?void 0:a.link)){var i,o,r=null===t||void 0===t||null===(i=t.data)||void 0===i||null===(o=i.data)||void 0===o?void 0:o.link;Paddle.Checkout.open({override:`${r}`,successCallback:function(t){var s;!0===(null===t||void 0===t||null===(s=t.checkout)||void 0===s?void 0:s.completed)&&(e.$emit("success",!0),e.setUserSubscribed(),setTimeout((function(){e.fetchUser()}),11e3))}})}})).catch((function(e){console.log("PAYLINK ERRROR:",e)}))},subscribeUser(){_.includes(["profile","subscribe"],this.$router.currentRoute.name)?this.subscribe():le["a"].$emit("routeTo",{name:"subscribe"})}}),mixins:[hi],props:{subscribeLabelMonthly:{type:String,default:"SELECT THIS PACKAGE"},subscribeLabelYearly:{type:String,default:"SELECT THIS PACKAGE"},choiceIsMonthly:{type:Boolean,default:!1},choiceIsYearly:{type:Boolean,default:!1}}},od=id,rd=(s("96c8"),Object(Ee["a"])(od,Xc,ed,!1,null,null,null)),nd=rd.exports;ze()(rd,"components",{QCard:Ne["a"],QCardSection:Oe["a"],QSeparator:Go["a"],QIcon:Ai["a"],QCardActions:Le["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"],QBadge:Ir["a"]});var ld=Object(ce["a"])("user"),cd=ld.mapGetters,dd={name:"PremiumPage",components:{africam4good:Di,phillsBio:el,pricingTable:Jc,shows:qi,subscriptionManagement:nd},created(){this.getIsSubscriber&&this.$router.push({name:"home"})},computed:ne()(ne()({},cd(["getAuthenticated","getHasInactiveSubscription","getIsSubscriber"])),{},{headerClassesLeft(){return this.$q.screen.width>1280||this.$q.screen.width>1024?"col-xs-6":"col-xs-12"},imageWidthVideo(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}},headerClassesRight(){return this.$q.screen.width>1280||this.$q.screen.width>1024?"col-xs-6":"col-xs-12 q-mt-lg"},videoPadding(){return this.$q.screen.width>1023?"q-pl-xl q-pr-xl":""},buttonCenter(){return this.$q.screen.width<600?"text-center":""},isMobile(){return this.$q.screen.width<1023},phoneMaxHeight(){return this.$q.screen.width>1023?"max-height: 720px":"max-width: 175px"},listTextSize(){return this.$q.screen.width>1500?"text-h5":"text-h6"},listIconSize(){return this.$q.screen.width>1500?"":"xs"},faqPadding(){return this.$q.screen.width>1023?"q-pl-xl q-pr-xl":""},pagePadding(){return this.$q.screen.width>1023?"q-pl-xl":""},headlineText(){return this.$q.screen.width>1300?"text-h3":"text-h4"},pageTitleStyles(){return this.$q.screen.width>1440?{fontWeight:"700",fontSize:"3.3em"}:this.$q.screen.width>1200?{fontWeight:"700",fontSize:"2.8em"}:this.$q.screen.width>1024?{fontWeight:"700",fontSize:"2.4em"}:{fontWeight:"700",fontSize:"3em"}},sectionCopyClasses(){return this.$q.screen.width>1023?"text-subtitle1 q-mt-lg":this.$q.screen.width>768?"q-mt-lg":"text-subtitle2 q-mt-lg"},sectionHeaderClasses(){return this.$q.screen.width>1280?"text-h3 text-weight-medium":this.$q.screen.width>768?"text-h4 text-weight-medium":"text-h5 text-weight-bolder"},scrollStyle(){return{height:this.cardHeight-53+"px"}}}),data(){return{cardHeight:0,currentVideo:{storage_reference:null,description:""},doSubscription:!1,showAfricam4Good:!1,popupVideoSource:"",showAboutVideo:!1,showDialog:!1,showPhill:!1,showShows:!1,showVideoModal:!1}},methods:{cardResize(e){this.cardHeight=e.height},launchAboutVideo(){this.popupVideoSource="https://www.youtube.com/embed/-crMqTdIvy8?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com",console.log(this.popupVideoSource),this.showAboutVideo=!0},launchFeaturesVideo(){this.popupVideoSource="https://www.youtube.com/embed/1C66-6ZA34k?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com",console.log(this.popupVideoSource),this.showAboutVideo=!0},launchInsightVideo(){this.popupVideoSource="https://www.youtube.com/embed/QRAqq_V2FtQ?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com",console.log(this.popupVideoSource),this.showAboutVideo=!0},launchSnapsVideo(){this.popupVideoSource="https://www.youtube.com/embed/Q1LqIwDfAt0?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com",console.log(this.popupVideoSource),this.showAboutVideo=!0},launchRangersVideo(){this.popupVideoSource="https://www.youtube.com/embed/U5thM7D4_rc?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com",console.log(this.popupVideoSource),this.showAboutVideo=!0},dialogClosed(){this.showDialog=!1,this.showAfricam4Good=!1,this.showPhill=!1,this.showShows=!1},directModalClosed(){this.showVideoModal=!1},scrollPageTo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!_.isNil(e)&&!_.isEmpty(e)){var t=_.replace(e,"#","");this.$refs[t].scrollIntoView()}},show4goodDetails(){var e,t;this.showAfricam4Good=!0,this.showDialog=!0;var s=null===(e=this.$router)||void 0===e||null===(t=e.currentRoute)||void 0===t?void 0:t.path;
1_.isEqual("/",s)&&(s="/home"),this.$trackPage({url:`${s}/africam4good-modal`,name:"premium - africam4good modal"})},showDemo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!_.isNil(e)){var s,a;this.currentVideo.storage_reference=e,this.currentVideo.description=t,this.showVideoModal=!0;var i=null===(s=this.$router)||void 0===s||null===(a=s.currentRoute)||void 0===a?void 0:a.path;_.isEqual("/",i)&&(i="/home"),this.$trackPage({url:`${i}/watch-phill-demo-modal`,name:"premium - watch phill demo modal"})}},showPhillsDetails(){var e,t,s=null===(e=this.$router)||void 0===e||null===(t=e.currentRoute)||void 0===t?void 0:t.path;_.isEqual("/",s)&&(s="/home"),this.$trackPage({url:`${s}/about-phill-modal`,name:"premium - about phill modal"}),this.showPhill=!0,this.showDialog=!0},showShowsDetails(){var e,t,s=null===(e=this.$router)||void 0===e||null===(t=e.currentRoute)||void 0===t?void 0:t.path;_.isEqual("/",s)&&(s="/home"),this.$trackPage({url:`${s}/shows-schedule-modal`,name:"premium - shows schedule modal"}),this.showShows=!0,this.showDialog=!0}},mixins:[hi,mi],props:{autoplay:{default:!0,type:Boolean,required:!1}},mounted(){var e=this;setTimeout((function(){e.scrollPageTo(_.get(e,"$route.hash",null))}),100)}},ud=dd,hd=(s("352b"),Object(Ee["a"])(ud,Ac,kc,!1,null,null,null)),md=hd.exports;ze()(hd,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"],QIcon:Ai["a"],QExpansionItem:Dr["a"],QHeader:Vr["a"],QCard:Ne["a"],QCardSection:Oe["a"],QDialog:Re["a"]}),ze()(hd,"directives",{Ripple:K["a"],ClosePopup:Y["a"]});var pd=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.getIsSubscriber?e._e():s("ad-leaderboard"),s("div",{staticClass:"row justify-center",class:e.getIsSubscriber?"q-my-xl":"q-mb-xl"},[s("div",{staticClass:"app-width col-12 q-pt-xl"},[s("privacy-policy")],1)])],1),s("site-footer")],1)},gd=[],vd=Object(ce["a"])("user"),fd=vd.mapGetters,bd={name:"PrivacyPolicyPage",components:{privacyPolicy:Oo},computed:ne()({},fd(["getAuthenticated","getIsSubscriber"])),mixins:[hi,mi],mounted(){}},wd=bd,yd=Object(Ee["a"])(wd,pd,gd,!1,null,null,null),xd=yd.exports;ze()(yd,"components",{QPage:Ci["a"]});var qd=[{path:"/wildlife",redirect:"/"},{path:"/kids-course",redirect:"/wildlife/kids-course"},{path:"/wildlife/index.php",redirect:"/"},{path:"/wildlife/ranger-show",redirect:"/wildlife/shows"},{path:"/wildlife/live-african-wildlife-safari-channels",redirect:"/wildlife/live-african-wildlife-safari-streams"},{path:"/wildlife/naledi-cat-eye-live-wildlife-channel",redirect:"/wildlife/stream/cat-eye-live "},{path:"/wildlife/kwa-maritane-live-wildlife-channel",redirect:"/wildlife/stream/kwa-maritane-live"},{path:"/wildlife/naledi_live_channel",redirect:"/wildlife/stream/naledi-dam-live"},{path:"/wildlife/nkorho_pan_webcam",redirect:"/wildlife/stream/nkorho-live"},{path:"/wildlife/stream/olifants-river-live",redirect:"/wildlife/stream/olifants-river-live"},{path:"/wildlife/stream/olifants-river-wildlife-channel",redirect:"/wildlife/stream/olifants-river-live"},{path:"/wildlife/olifants_river_live_channel",redirect:"/wildlife/stream/olifants-river-live"},{path:"/wildlife/rosies-pan-at-naledi-live-wildlife-channel",redirect:"/wildlife/stream/rosies-pan-live"},{path:"/wildlife/tau-live-wildlife-channel",redirect:"/wildlife/stream/tau-live"},{path:"/wildlife/tembe-live-wildlife-channel",redirect:"/wildlife/stream/tembe-live"},{path:"/wildlife/tembe_webcam",redirect:"/wildlife/stream/tembe-live"}],_d=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",[s("div",{staticClass:"row",staticStyle:{height:"100vh"},style:{minHeight:e.minFormHeight}},[s("div",{staticClass:"q-pa-md row justify-around",class:e.$q.screen.width<768?"col-12":"col-6"},[s("div",{staticClass:"col-10",class:e.$q.screen.height>e.minFormHeight?"column justify-center":"",staticStyle:{"max-width":"400px"}},[s("q-form",{ref:"signInForm",attrs:{"no-error-focus":"",onautocomplete:"off"},on:{submit:function(t){return t.preventDefault(),e.register(t)}}},[s("q-resize-observer",{on:{resize:e.formResize}}),s("div",{staticClass:"text-center"},[s("div",{staticClass:"text-h4 q-my-xs q-mb-sm text-center"},[e._v("Register")]),s("div",{staticClass:"text-subtitle2 text-grey-6"},[e._v("\n              Register and gain access our registered benefits.\n              Already registered with us?\n              "),s("router-link",{attrs:{to:{name:"sign-in"}}},[e._v("Sign in")])],1)]),s("div",{staticClass:"row q-mt-md q-pb-md"},[s("div",{staticClass:"col-xs-12"},[s("div",{staticClass:"row q-col-gutter-sm"},[s("div",{staticClass:"col-xs-12"},[s("q-input",{ref:"email",attrs:{"error-message":e.serverValidation.email,error:!!e.hasServerError("email"),"lazy-rules":!0,rules:[e.validateEmail],"bottom-slots":"","hide-hint":"",hint:"E.g. [email protected]",label:"Email Address",maxlength:"64",name:"email",type:"email"},on:{focus:function(t){return e.clearInputValidation("email")}},scopedSlots:e._u([{key:"prepend",fn:function(){return[s("q-icon",{staticClass:"q-ml-sm",attrs:{color:"grey-4",size:"xs",name:"fas fa-at"}})]},proxy:!0}]),model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}})],1),s("div",{staticClass:"col-xs-12"},[s("q-input",{ref:"password",attrs:{"error-message":e.serverValidation.password,error:!!e.hasServerError("password"),rules:[e.validatePassword],type:e.isPwd?"password":"text",autocomplete:"new-password","bottom-slots":"",color:"brand-orange","hide-hint":"",hint:"Your password must be at least 6 characters","input-class":"text-body2",label:"Password","lazy-rules":!0},scopedSlots:e._u([{key:"prepend",fn:function(){return[s("q-icon",{staticClass:"q-ml-sm",attrs:{color:"grey-4",size:"xs",name:"fas fa-key"}})]},proxy:!0},{key:"append",fn:function(){return[s("q-icon",{staticClass:"cursor-pointer",attrs:{color:"grey-4",size:"xs",name:e.isPwd?"far fa-eye":"far fa-eye-slash"},on:{click:function(t){e.isPwd=!e.isPwd}}},[s("q-tooltip",{attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Show my password\n                        ")])],1)]},proxy:!0}]),model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),s("div",{staticClass:"col-xs-12 q-mt-sm text-center"},[s("q-btn",{staticClass:"q-mb-sm",style:{minWidth:"250px",minHeight:"40px"},attrs:{loading:e.validatingEmail,color:"brand-orange",size:"md",type:"submit"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"})]},proxy:!0}])},[e.validatingEmail?e._e():s("div",{staticClass:"fit text-left"},[s("q-icon",{attrs:{name:"fas fa-at"}}),s("div",{staticClass:"inline-block",staticStyle:{padding:"4px 8px"}},[e._v("Register using Email")])],1)]),s("br")],1)])])]),s("div",{staticClass:"text-center"},[s("div",{staticClass:"q-my-lg"},[s("q-separator",{attrs:{color:"dark-green"}}),s("q-avatar",{staticStyle:{"margin-top":"-24px"},attrs:{color:"white","text-color":"dark-green",size:"24px"}},[e._v("OR")])],1)]),s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-xs-12"},[s("q-btn",{style:{minWidth:"250px"},attrs:{loading:e.validatingGoogle,color:"white",size:"md","text-color":"black"},on:{click:e.signInWithGoogle},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"}),e._v("\n                  Validating\n                ")]},proxy:!0}])},[e.validatingGoogle?e._e():s("div",{staticClass:"fit text-left"},[s("q-icon",{attrs:{name:"img:social/google_logo.svg"}}),s("div",{staticClass:"inline-block",staticStyle:{padding:"4px 8px"}},[e._v(" Register using Google")])],1)])],1)]),s("div",{staticClass:"col-12 q-my-xl text-normal text-caption text-center"},[s("p",[e._v("By continuing you agree to our "),s("br"),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showPrivacyPolicy}},[e._v("Privacy Policy ")]),e._v("\n              &\n              "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showTermsOfService}}
1,[e._v("Terms of Service")])])])],1)],1)]),e.$q.screen.width>767?s("div",{staticClass:"col-6"},[s("q-img",{staticClass:"fit",staticStyle:{"max-height":"calc(69vh - 50px)","object-fit":"contain"},attrs:{src:"/images/auth/Sign Up Page (Option 2) (4).jpg"}})],1):e._e()])]),s("q-dialog",{on:{hide:e.termsPrivacyClosed},model:{value:e.showTermsPrivacy,callback:function(t){e.showTermsPrivacy=t},expression:"showTermsPrivacy"}},[s("q-card",{staticStyle:{"min-height":"80vh",width:"80vw","max-width":"1200px"}},[s("q-card-section",{staticClass:"scroll",staticStyle:{"max-height":"calc(80vh - 52px)"}},[e.showPrivacy?s("privacy-policy"):e._e(),e.showTerms?s("terms-of-service"):e._e()],1),s("q-separator"),s("q-card-actions",{staticClass:"bg-light-baise",staticStyle:{"min-height":"52px"},attrs:{align:"right"}},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{color:"brand-orange",flat:"",label:"CLOSE"}})],1)],1)],1),s("site-footer")],1)},Sd=[],Cd=s("59ca"),Ad=s.n(Cd),kd=Object(ce["a"])("user"),Td=kd.mapMutations,Pd=kd.mapActions,Id={name:"RegisterPage",components:{privacyPolicy:Oo,termsOfService:jo},computed:{minFormHeight(){return`${(null===this||void 0===this?void 0:this.formHeight)||575}px`}},data(){return{form:{email:null,password:null},isPwd:!0,isSubscribing:!1,hasRegisterError:!1,formHeight:575,serverValidation:{email:"",password:""},showPrivacy:!1,showTerms:!1,showTermsPrivacy:!1,validatingEmail:!1,validatingGoogle:!1}},methods:ne()(ne()(ne()({},Pd(["serverLogin"])),Td(["setFirebaseToken"])),{},{formResize(e){this.formHeight=(null===e||void 0===e?void 0:e.height)||575},register(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s,a,i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e,s.hasRegisterError=!1,e.$trackEvent({event:"login",interactionType:"Email Register click",interactionElementName:"Register Email Button"},{"register-method":"Email"}),t.prev=3,s.validatingEmail=!0,t.next=7,Ad.a.auth().setPersistence(Ad.a.auth.Auth.Persistence.LOCAL);case 7:return a=null,t.next=10,s.$firebaseAuth.createUserWithEmailAndPassword(s.form.email,s.form.password).catch((function(e){switch(console.log("signInWithEmailAndPassword catch:",e),s.hasRegisterError=!0,s.signInError=e.message,e.code){case"auth/user-disabled":s.signInError="Your account is currently disabled, please contact us to assist you.";break;case"auth/user-not-found":s.signInError="You do not have an account with us, please use the register link to the top right of your screen.";break;case"auth/invalid-email":s.signInError="Your Email Address is invalid.",s.serverValidation.email=s.signInError;break;case"auth/wrong-password":s.signInError="The password you entered does not match the one we have for you on record. <br><br> <span class=\"text-caption\"> <strong>N.B.</strong> If you previously used the Google Sign in option and you would now like to use email/password verification, you will need to do a password reset using the link below the 'SIGN IN WITH EMAIL' button and assign yourself a password.</span>",s.serverValidation.password="Your password is incorrect or missing."}}));case 10:a=t.sent,a&&!s.hasRegisterError?(o=null===(i=a)||void 0===i?void 0:i.user,s.$log("USER RETURNED:",o),e.setTokenAndLoginToApi(o,"validatingEmail")):(s.$q.notify({color:"dark-green",closeBtn:"dismiss",html:!0,message:s.signInError,textColor:"white",timeout:3e4}),s.signingUp=!1,s.validatingEmail=!1),t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](3),console.log("signIn() E:",t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})))()},setTokenAndLoginToApi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=this;!_.isNil(e)&&_.isObject(e)&&(e?e.getIdToken().then((function(e){s.$log("GET USER TOKEN THEN"),_.isEmpty(e)||(s.$log("GOT TOKEN:",e),s.setFirebaseToken(e),s.serverLogin().then((function(e){console.log("SERVERLOGIN RESPONSE",e),le["a"].$emit("routeTo",{name:"profile",params:{section:"profile"}})})).finally((function(){!_.isNil(t)&&_.has(s,t)&&(s[t]=!1)})))})).catch((function(e){s.$log("GET USER TOKEN CATCH:",e),!_.isNil(t)&&_.has(s,t)&&(s[t]=!1)})):s.$log("USER/TOKEN MISSING:"))},showPrivacyPolicy(){this.showTerms=!1,this.showPrivacy=!0,this.showTermsPrivacy=!0},showTermsOfService(){this.showPrivacy=!1,this.showTerms=!0,this.showTermsPrivacy=!0},signInWithGoogle(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e,e.$trackEvent({event:"login",interactionType:"Google Register click",interactionElementName:"Register Google Button"},{"register-method":"Google"}),s.validatingGoogle=!0,t.next=5,Ad.a.auth().setPersistence(Ad.a.auth.Auth.Persistence.LOCAL);case 5:a=new Ad.a.auth.GoogleAuthProvider,s.$firebaseAuth.signInWithPopup(a).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=_.get(t,"user",null);console.log("USER",s),e.setTokenAndLoginToApi(s,"validatingGoogle")})).catch((function(e){e.code,e.message,e.email,e.credential;console.log("ERRRRRRRROR:",e)}));case 7:case"end":return t.stop()}}),t)})))()},termsPrivacyClosed(){this.showTermsPrivacy=!1,this.showPrivacy=!1,this.showTerms=!1}
1,validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):_.isEmpty(e)?"Your email is required.":!!this.isValidEmail(e)||"The format of your email is incorrect format."},validatePassword(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.password",!1)?this.getServerError("password"):_.isEmpty(e)?"Your password is required.":!(_.toString(e).length<6)||"Must be at least 6 characters."}}),mixins:[hi,mi,Po],mounted(){}},$d=Id,Ed=Object(Ee["a"])($d,_d,Sd,!1,null,null,null),Rd=Ed.exports;ze()(Ed,"components",{QPage:Ci["a"],QForm:Fo["a"],QResizeObserver:ho["a"],QInput:Bo["a"],QIcon:Ai["a"],QTooltip:Lc["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"],QSeparator:Go["a"],QAvatar:Ol["a"],QImg:yi["a"],QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QCardActions:Le["a"]}),ze()(Ed,"directives",{ClosePopup:Y["a"]});var Nd=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl q-mt-lg"},[s("div",{staticClass:"app-width col-12"},[s("russell-bio")],1)])]),s("site-footer")],1)},Od=[],Ld=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12"},[s("div",{staticClass:"q-mb-lg",class:e.$q.screen.width<700?"text-center":"inline-block float-left q-mr-lg"},[s("q-img",{attrs:{ratio:1,width:e.imageSize,src:"/images/rangers/russell.jpg"}},[s("div",{staticClass:"absolute-bottom text-center text-uppercase text-caption"},[s("div",{staticClass:"q-ma-sm"},[e._v("Resident Ranger Russell Gerber")])])])],1),s("page-title",{staticClass:"text-smaller",attrs:{title:"Russell Gerber"}}),s("div",{staticClass:"text-h5 q-mb-md"},[e._v("More about our Resident Ranger")]),s("p",[e._v("\n      Russell is a Professional Safari and Cultural Guide and a qualified PADI Scuba Instructor, registered with the Department Of Environmental Affairs and Tourism in South Africa. Born and raised in the Eastern Cape, South Africa, he has a deep passion for the conservation of both environmental and cultural diversity of Africa.\n    ")]),s("page-subheading",{staticClass:"q-mt-xl",attrs:{heading:"What did you study and tell us a bit more about your guiding career?"}}),s("p",[e._v("\n      After completing my degree in Zoology and African Vertebrate Biology followed by a Postgraduate Honours Degree in Marine Biology I was well set for a career in guiding.\n      I have hosted guests across the globe, on both marine and land-based safaris, in countries as diverse as South Africa, Botswana, Zimbabwe, Zambia, Mozambique, Thailand, The Bahamas and The United Arab Emirates.\n      I have also been fortunate enough to guide and manage safari camps in both South Africa and Botswana.\n      This is where I developed a remarkable understanding of the African bush and an in-depth knowledge of the functioning of remote safari camps in Africa.\n    ")]),s("page-subheading",{staticClass:"q-mt-xl",attrs:{heading:"What excites you about Africam?"}}),s("p",[e._v("\n      Even though I could be over 1000km’s away, Africam makes me feel as close to being in the bush as possible. It’s a true window into Africa and Africa's animals.\n      I also don’t know what to expect next. Anything can happen!\n    ")]),s("page-subheading",{staticClass:"q-mt-xl",attrs:{heading:"If you could spend one night sleeping in the African Bush, where would it be?"}}),s("p",[e._v("\n      I would definitely choose the Okavango Delta and Moremi – it's so remote and untouched.\n    ")]),s("page-subheading",{staticClass:"q-mt-xl",attrs:{heading:"We are lucky enough to see a variety of animals on our cameras Live and unscripted. What rare sightings are you hoping to capture on Africam?"}}),s("p",[e._v("\n      Leopards. Leopards, Leopards!!!  Extraordinary animals. If I had to choose, it would be amazing to see one at Rosie's Pan in hunting mode, stalking prey!\n    ")])],1)])},Dd=[],Vd={name:"RussellsBioComponent",computed:{imageSize(){return this.$q.screen.width>1440?"700px":this.$q.screen.width>1024?"500px":this.$q.screen.width>480?"400px":"100%"}}},zd=Vd,Md=Object(Ee["a"])(zd,Ld,Dd,!1,null,null,null),jd=Md.exports;ze()(Md,"components",{QImg:yi["a"]});var Qd={name:"RangerRussellBioPage",components:{RussellBio:jd},mixins:[hi,mi],mounted(){}},Ud=Qd,Fd=Object(Ee["a"])(Ud,Nd,Od,!1,null,null,null),Bd=Fd.exports;ze()(Fd,"components",{QPage:Ci["a"]});var Hd=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl q-mt-lg"},[s("div",{staticClass:"app-width col-12"},[s("trishala-bio")],1)])]),s("site-footer")],1)},Gd=[],Wd=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12"},[s("div",{staticClass:"q-mb-lg",class:e.$q.screen.width<700?"text-center":"inline-block float-left q-mr-lg"},[s("q-img",{attrs:{ratio:1,width:e.imageSize,src:"/images/rangers/trishala.jpg"}},[s("div",{staticClass:"absolute-bottom text-center text-uppercase text-caption"},[s("div",{staticClass:"q-ma-sm"}
1,[e._v("Resident Ranger Trishala Naidu")])])])],1),s("page-title",{staticClass:"text-smaller",attrs:{title:"Trishala Naidu"}}),s("div",{staticClass:"text-h5 q-mb-md"},[e._v("More about our Resident Ranger")]),s("p",[e._v("\n      Trishala Naidu is a biologist and wildlife TV presenter. Her insatiable passion for wildlife has gone from the depths of the ocean to the dry grasslands of the bushveld. She was raised  between Durban and Melbourne, Australia and has a degree in environmental science and FGASA . Trishala is well-known for presenting on a live wildlife TV show, WildEarth, where she took daily live safaris in the Sabi Sands.\n    ")])],1)])},Yd=[],Kd={name:"TrishalaBioComponent",computed:{imageSize(){return this.$q.screen.width>1440?"700px":this.$q.screen.width>1024?"500px":this.$q.screen.width>480?"400px":"100%"}}},Zd=Kd,Jd=Object(Ee["a"])(Zd,Wd,Yd,!1,null,null,null),Xd=Jd.exports;ze()(Jd,"components",{QImg:yi["a"]});var eu={name:"RangerTrishalaBioPage",components:{TrishalaBio:Xd},mixins:[hi,mi],mounted(){}},tu=eu,su=Object(Ee["a"])(tu,Hd,Gd,!1,null,null,null),au=su.exports;ze()(su,"components",{QPage:Ci["a"]});var iu=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("shows")],1),s("site-footer")],1)},ou=[],ru={name:"SchedulePage",components:{Shows:qi},mixins:[hi,mi],mounted(){}},nu=ru,lu=Object(Ee["a"])(nu,iu,ou,!1,null,null,null),cu=lu.exports;ze()(lu,"components",{QPage:Ci["a"]});var du=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"q-pt-md"},[s("router-link",{staticClass:"text-left text-body text-black text-underline cursor-pointer underline-links",attrs:{to:{name:"resources"}}},[s("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"}),e._v(" Resources\n      ")]),e._v("\n        >  Shows\n    ")],1),s("div",{staticClass:"app-width col-12 q-pt-md"},[s("page-title",{attrs:{title:"Shows"}}),s("p",[e._v("Catch our shows every Tuesday and Thursday @ 16:00 SAST")])],1),s("div",{staticClass:"row justify-center q-mb-lg"},[s("div",{staticClass:"app-width col-12 q-pt-md"},[s("div",{staticClass:"row q-col-gutter-md"},[s("div",{staticClass:"col-xs-12 col-md-8"}),s("div",{staticClass:"col-xs-12 col-md-4 relative-position"},[s("div",{staticClass:"absolute-bottom-right q-mb-md "},[s("router-link",{staticClass:"text-brand-orange",attrs:{to:{name:"schedule"}}},[s("q-icon",{attrs:{name:"far fa-clock",size:"xs"}}),e._v("\n                View Schedule\n              ")],1)],1)])]),e.showTypeId?s("div",{staticClass:"text-h3 text-center q-mt-md"},[s("span",{staticClass:"text-weight-medium",domProps:{textContent:e._s(e.showTypeTitle)}})]):e._e(),e.showTypeId?e._e():s("div",{staticClass:"row q-col-gutter-md"},[s("div",{class:e.showIsLive?"col-xs-12":"col-xs-12 col-md-8"},[s("q-responsive",{staticClass:"relative-position rounded-borders bg-grey-9 live-show-player",attrs:{ratio:16/9}},[e.showIsLive?e._e():s("next-show-preview",{attrs:{"show-type-id":e.currentShowTypeId}}),e.showIsSubscriberOnly&&e.showIsLive&&!e.getIsSubscriber?s("div",{staticClass:"col-12"},[s("div",{staticClass:"flex flex-center q-my-lg q-pt-xl"},[s("q-badge",{attrs:{color:"red","text-color":"white",label:"Premium Only"}})],1),s("div",{staticClass:"text-h6 text-white text-center q-mt-md q-mr-md q-ml-md",attrs:{"text-color":"white"}},[e._v("\n                                  This LIVE show is only available to Africam Premium subscribers. Subscribe now for complete access to all our premium content.\n                         ")]),s("div",{staticClass:"flex flex-center q-my-lg"},[s("q-btn",{attrs:{to:{name:"subscribe"},size:"md",color:"brand-orange"}},[e._v("Subscribe")])],1)]):e.showIsLive?s("div",[s("youtube",{attrs:{autoplay:"",previewImageSize:"hqdefault",src:e.videoSrc}})],1):e._e()],1),s("show-questions",{attrs:{show:e.showIsLive}})],1),e.showIsLive?e._e():s("div",{staticClass:"col-xs-12 col-md-4"},[s("div",{class:e.$q.screen.width<1024?"row q-col-gutter-md":""},[s("div",{class:e.$q.screen.width<1024?"col-xs-12 col-sm-6":"q-mb-md"},[s("show-after-next-preview",{attrs:{ratio:16/8.9,"show-type-id":e.currentShowTypeId}}
1)],1),s("div",{class:e.$q.screen.width<1024?"col-xs-12 col-sm-6":"q-mb-md"},[(Boolean(Math.random()<.5),s("div",[s("ranger-trishala-promo",{attrs:{ratio:16/8.9}})],1))])])])]),s("div",{staticClass:"row q-mt-lg"},[s("div",{staticClass:"col-12"},[s("div",{staticClass:"row q-mb-lg"},[s("div",{staticClass:"col-xs-12 col-md-7"},[s("page-heading",{attrs:{heading:"Episodes",subheading:"While you wait, why not watch one of our latest episodes."}})],1),s("div",{staticClass:"col-xs-12 col-md-5 relative-position"},[s("div",{staticClass:"text-smaller text-right text-darker-green",class:e.$q.screen.width>1023?"q-mt-xl":""},[e._v("\n                  Episodes Per Row\n                  "),s("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:e.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:e.perRow,callback:function(t){e.perRow=t},expression:"perRow"}})],1)])]),s("q-infinite-scroll",{ref:"episodeScroller",staticClass:"row q-col-gutter-md",attrs:{offset:2e3},on:{load:e.loadMoreEpisodes},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("Loading episodes")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}])},[e._l(e.episodes,(function(t,a){return[e.injectAdvert(a)?s("div",{staticClass:"col-xs-12 q-py-md text-center"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}}),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}})],1):e._e(),s("div",{class:e.columnClasses},[s("past-show-preview",{staticClass:"cursor-pointer",attrs:{episode:t,"show-type":e.videoShowType(t),ratio:16/9,colour:"dark-green"}})],1)]}))],2),s("div",{staticClass:"row"},[e.allEpisodesAreLoaded?s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v(" All episodes have been loaded.")])])]):e._e()]),s("div",{staticClass:"q-my-xl"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}})],1)],1)]),s("div",{staticClass:"q-mt-lg"},[s("kids-course-horizontal-long",{attrs:{"slot-size":e.slotSize}}),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}})],1)])])]),s("site-footer")],1)},uu=[],hu=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e.show?s("transition",{attrs:{"enter-active-class":"animated slideUp","leave-active-class":"animated fadeOut",appear:"",duration:650}},[s("q-form",{staticClass:"q-pa-sm bg-grey-4",on:{submit:function(t){return t.stopPropagation(),e.askQuestion(t)}}},[s("div",{staticClass:"text-weight-bold text-uppercase text-caption text-grey-9 q-my-sm"},[e._v("\n        Want to ask a question?\n      ")]),s("q-input",{staticClass:"q-mb-lg bg-grey-1 bg-white",attrs:{disable:e.asking||!e.getAuthenticated&&!e.allowAnyone,filled:"",label:e.questionLabel},scopedSlots:e._u([{key:"append",fn:function(){return[s("q-btn",{staticStyle:{"min-width":"85px"},attrs:{loading:e.asking,color:"brand-orange",label:"ask",size:"sm",type:"submit"},on:{click:e.askQuestion},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"}),s("span",{staticClass:"text-smaller"},[e._v("Asking")])]},proxy:!0}],null,!1,3828530481)})]},proxy:!0}],null,!1,2866204167),model:{value:e.question,callback:function(t){e.question=t},expression:"question"}},[s("q-tooltip",{attrs:{anchor:"top start",self:"center left",offset:[0,20]}},[e._v("\n         N.B. Please "),s("strong",[e._v("include")]),e._v(" your name in your question.\n        ")])],1)],1)],1):e._e()],1)},mu=[],pu=Object(ce["a"])("user"),gu=pu.mapGetters,vu={name:"ShowQuestionComponent",computed:ne()(ne()({},gu(["getAuthenticated"])),{},{questionLabel(){return this.getAuthenticated||this.allowAnyone?"Ask it here ..":"Register/Sign-in to ask questions."}}),data(){return{asking:!1,question:""}},methods:{askQuestion(){var e=this,t=this;_.isNil(t,"question")||_.isEmpty(t.question)?t.showAskQuestionToast():t.question.length<5||t.question.length>200?t.showMinimumLengthToast():(t.asking=!0,t.$axios.post("/api/show/ask-question",{question:_.get(t,"question",null),allow:null!==t&&void 0!==t&&t.allowAnyone?1:0}).then((function(e){t.showQuestionAskedToast()})).catch((function(t){_.has(t,"status")&&_.isEqual(t.status,401)&&e.showRegisterFirstToast()})).finally((function(){t.question="",t.asking=!1})))},showAskQuestionToast(){this.$q.notify({message:"Please ask a question"})},showMinimumLengthToast(){this.$q.notify({message:"Questions must be between 5 and 200 characters."})},showQuestionAskedToast(){this.$q.notify({timeout:7e3,html:!0,message:'Your question has been added to the questions list. <br><span class="text-smaller">Our show host will endeavor to answer as many questions as possible, but unfortunately they cannot al
1ways get to all the questions.</span>'})},showRegisterFirstToast(){this.$q.notify({timeout:5e3,html:!0,message:"Sign-in / Sign-up",caption:"Unfortunately only registered / subscribed users can ask questions."})}},props:{show:{type:Boolean,default:!1},allowAnyone:{type:Boolean,default:!1}}},fu=vu,bu=Object(Ee["a"])(fu,hu,mu,!1,null,null,null),wu=bu.exports;ze()(bu,"components",{QForm:Fo["a"],QInput:Bo["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"],QTooltip:Lc["a"]});var yu=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-img",{staticClass:"rounded-borders",attrs:{ratio:e.ratio,src:e.nextShowCover}},[s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.previewResize}}),s("div",{staticClass:"absolute-full row"},[s("div",{staticClass:"column full-width justify-end"},[s("div",{staticClass:"col-auto",staticStyle:{"margin-bottom":"-10px"}}),s("div",{staticClass:"row col-auto"},[s("div",{staticClass:"col-12 text-center q-pb-md",staticStyle:{"font-size":"1.1em"}},["ranger-show"==e.nextShowSlug?s("span",[s("span",{staticClass:"text-weight-bold"},[e._v("RANGER")]),s("span",{staticClass:"text-weight-light"},[e._v("SHOW")])]):e._e(),"on-point"==e.nextShowSlug?s("span",[s("span",{staticClass:"text-weight-light"},[e._v("ON")]),s("span",{staticClass:"text-weight-bold"},[e._v("POINT")])]):e._e(),"what-fact"==e.nextShowSlug?s("span",[s("span",{staticClass:"text-weight-bold"},[e._v("WHAT")]),s("span",{staticClass:"text-weight-light"},[e._v("THE")]),s("span",{staticClass:"text-weight-bold"},[e._v("FACT")])]):e._e(),s("span",{staticClass:"q-mx-xs",staticStyle:{"font-size":"1.2em"}},[e._v("|")]),s("span",{domProps:{textContent:e._s(e.nextShowDateTime)}}),s("span",{staticClass:"q-ml-xs text-italic",domProps:{textContent:e._s(e.getTimeZone())}}),s("div",[s("span",{staticClass:"text-weight-medium text-smaller",domProps:{textContent:e._s(e.nextShowTitle)}})])])])])])],1)],1)},xu=[],qu=Object(ce["a"])("shows"),_u=qu.mapGetters,Su={computed:ne()(ne()({},_u(["getNextShow","getShowAfterNext","getShowTypeById"])),{},{nextShow(){var e;return this.getNextShow(null===this||void 0===this||null===(e=this.showType)||void 0===e?void 0:e.type)},nextShowCover(){return this.showCover(null===this||void 0===this?void 0:this.nextShow)},nextShowDateTime(){var e,t;return _.isNil(null===this||void 0===this||null===(e=this.nextShow)||void 0===e?void 0:e.show_ts)?"":this.relativeDateTime(null===this||void 0===this||null===(t=this.nextShow)||void 0===t?void 0:t.show_ts)},nextShowExists(){var e;return!_.isEmpty(null===this||void 0===this||null===(e=this.nextShow)||void 0===e?void 0:e.id)},nextShowHasYoutubeId(){var e;return!_.isEmpty(null===this||void 0===this||null===(e=this.nextShow)||void 0===e?void 0:e.youtube_id)},nextShowMaskBgClass(){switch(this.nextShowSlug){case"ranger-show":return"bg-ranger-show-light-green";case"on-point":return"bg-on-point-grey";default:return""}},nextShowOnAir(){var e,t;return!(null===(e=null===this||void 0===this||null===(t=this.nextShow)||void 0===t?void 0:t.on_air)||void 0===e||!e)},nextShowSlug(){var e,t,s;return null!==(e=null===this||void 0===this||null===(t=this.nextShow)||void 0===t||null===(s=t.show_type)||void 0===s?void 0:s.type)&&void 0!==e?e:""},nextShowTitle(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.nextShow)||void 0===t?void 0:t.title)&&void 0!==e?e:"Weekly ranger insights into bush life"},showAfterNext(){var e;return this.getShowAfterNext(null===this||void 0===this||null===(e=this.showType)||void 0===e?void 0:e.type)},showAfterNextCover(){return this.showCover(null===this||void 0===this?void 0:this.showAfterNext)},showAfterNextDateTime(){var e,t;return _.isNil(null===this||void 0===this||null===(e=this.showAfterNext)||void 0===e?void 0:e.show_ts)?"":this.relativeDateTime(null===this||void 0===this||null===(t=this.showAfterNext)||void 0===t?void 0:t.show_ts)},showAfterNextExists(){var e;return!_.isEmpty(null===this||void 0===this||null===(e=this.showAfterNext)||void 0===e?void 0:e.id)},showAfterNextMaskBgClass(){switch(this.showAfterNextSlug){case"ranger-show":return"bg-ranger-show-light-green";case"on-point":return"bg-on-point-grey";default:return""}},showAfterNextSlug(){var e,t,s;return null!==(e=null===this||void 0===this||null===(t=this.showAfterNext)||void 0===t||null===(s=t.show_type)||void 0===s?void 0:s.type)&&void 0!==e?e:""},showAfterNextTitle(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.showAfterNext)||void 0===t?void 0:t.t
1itle)&&void 0!==e?e:"Weekly ranger insights into bush life"},showType(){var e;return this.getShowTypeById(null!==(e=null===this||void 0===this?void 0:this.showTypeId)&&void 0!==e?e:0)}}),methods:{showCover(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!_.isNil(e)){var t,s,a,i=null!==(t=null===e||void 0===e||null===(s=e.show_type)||void 0===s?void 0:s.cover_clean)&&void 0!==t?t:"",o=null!==(a=null===e||void 0===e?void 0:e.cover_clean)&&void 0!==a?a:"";return _.includes(o,"not-found")&&(o=""),_.isEmpty(o)?i:o}return""}}},Cu=Object(ce["a"])("shows"),Au=(Cu.mapGetters,{name:"NextShowPreview",computed:{maskHeight(){return this.width>1e3?75:this.width>700?60:40}},data(){return{width:0}},methods:{previewResize(e){this.width=e.width}},mixins:[hi,Su],props:{ratio:{type:Number,default:16/9},showTypeId:{type:Number,default:0}}}),ku=Au,Tu=(s("3ffa"),Object(Ee["a"])(ku,yu,xu,!1,null,"5ffcfc9c",null)),Pu=Tu.exports;ze()(Tu,"components",{QImg:yi["a"],QResizeObserver:ho["a"]});var Iu=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"fit"},[a("q-card",{staticClass:"fit bg-white column",attrs:{flat:!t.hovering,rounded:""},on:{click:function(e){return t.modalEpisodeVideo(t.episode)},mouseleave:t.out,mouseenter:t.over}},[a("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"relative-position",attrs:{ratio:t.ratio,src:t.src,transition:"fade"},scopedSlots:t._u([{key:"loading",fn:function(){return[a("q-spinner-dots",{attrs:{size:"0.5em",color:"brand-orange"}})]},proxy:!0}])},[a("div",{staticClass:"absolute-full preview-copy"},[a("div",{staticClass:"absolute-bottom row"},[a("div",{staticClass:"col-12 q-mx-md q-pt-xs text-shadow"},[t.captureDate?a("span",[a("q-icon",{attrs:{name:"fas fa-calendar-day"}}),a("span",{staticClass:"text-caption q-ml-xs q-mr-md",domProps:{textContent:t._s(t.captureDate)}})],1):t._e()]),a("div",{staticClass:"col-12 q-pb-sm q-mx-md"})])])]),a("q-card-section",[a("div",{staticClass:"text-h6 text-09em text-uppercase"},[a("span",{staticClass:"text-weight-bold",domProps:{textContent:t._s(t.title)}})])]),a("q-card-section",{staticClass:"q-pt-none text-08em"},[a("div",{domProps:{innerHTML:t._s(t.description)}})]),a("q-card-actions",{attrs:{align:"right"}},[a("q-btn",{attrs:{color:"brand-orange",flat:""},on:{click:function(e){return t.modalEpisodeVideo(t.episode)}}},[t._v("Watch")])],1)],1),a("q-dialog",{attrs:{"transition-show":"fade","transition-hide":"fade"},on:{hide:t.resetShowVideo},model:{value:t.previewVideo,callback:function(e){t.previewVideo=e},expression:"previewVideo"}},[a("q-card",{style:t.cardSize},[a("q-responsive",{attrs:{ratio:16/9}},[a("youtube",{attrs:{autoplay:"",previewImageSize:"hqdefault",src:t.videoSource}})],1),t.getIsSubscriber?t._e():a("q-card-section",{staticClass:"q-pa-none"},[a("ad-responsive-horizontal-modal",{attrs:{classes:"absolute-center",width:t.adWidth}}),a("q-resize-observer",{ref:"adSlotResizer",attrs:{debounce:"100"},on:{resize:t.onResize}})],1),a("q-card-actions",{staticStyle:{"min-width":"52px"},attrs:{align:"between"}},[a("div",{staticClass:"inline-block",domProps:{textContent:t._s(t.title)}}),a("q-space"),a("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{flat:"",label:"CLOSE"}})],1)],1)],1),a("upgrade-prompt",{attrs:{action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}})],1)},$u=[],Eu=Object(ce["a"])("settings"),Ru=Eu.mapGetters,Nu=Object(ce["a"])("user"),Ou=Nu.mapGetters,Lu={name:"PastShowPreview",computed:ne()(ne()(ne()({},Ru(["getIsInDebugMode"])),Ou(["getAuthenticated","getIsSubscriber"])),{},{cardSize(){return this.$q.screen.width>1024?{width:"970px",maxWidth:"80vw"}:{width:"728px",maxWidth:"95vw"}},captureDate(){var e=_.get(this.episode,"created_ts",null);return!!_.isNumber(e)&&this.formatDate(1e3*e)},description(){return _.get(this.episode,"description","")},duration(){var e=_.get(this.episode,"duration",0);return!!_.isNumber(_.toNumber(e))&&this.sec2time(_.toNumber(e))},hasLeftMask(){return!_.isEmpty(this.leftMask)},isDebugging(){var e;return null!==(e=null===this||void 0===this?void 0:this.getIsInDebugMode)&&void 0!==e&&e},leftMask(){var e=_.isEmpty(null===this||void 0===this?void 0:this.showType)?"":this.showType.replace("-","_");return _.isEmpty(e)?"":`/images/shows/${e}_post_mask.svg`},src(){return _.get(this.episode,"cover","")},summary(){return _.get(this.episode,"summary","")},title(){return _.get(this.episode,"title","Episode Video")},videoIsSubscriberOnly(){return _.get(this.episode,"subscriber_only","Episode Video")},views(){var e=_.get(this.episode,"view_count",null);return this.kFormatter(e)}}),data(){return{adWidth:468,hovering:!1,videoSource:"",previewVideo:!1,upgradeAction:{}
1,upgradeCTA:"",upgradeMessage:"",showUpgradePrompt:!1,videoDescription:""}},methods:{modalEpisodeVideo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!this.getIsSubscriber&&this.videoIsSubscriberOnly)return this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="The episode is only available on Africam Premium. Subscribe now to access all our premium content.",void(this.showUpgradePrompt=!0);if(this.$log("SHOW VIDEO:",e),!_.isNil(e)&&_.isObject(e)){var t,s,a=_.get(e,"youtube_id","");this.videoSource=this.playerUrl(a),this.previewVideo=!0,this.videoDescription=_.get(e,"description","");var i=_.get(e,"title","x"),o=_.get(e,"id","x"),r=null===(t=this.$router)||void 0===t||null===(s=t.currentRoute)||void 0===s?void 0:s.path;_.isEqual("/",r)&&(r="/home"),this.$trackPage({url:`${r}/video-${o}-modal`,name:`view episode video modal - ${i} (${o}/${a})`})}},resetShowVideo(){this.videoSource="",this.previewVideo=!1,this.videoDescription=""},onResize(e){!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))},out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)}},mixins:[hi,mi],props:{colour:{type:String,default:"brand-orange"},episode:{type:Object,required:!0,default(){return{}}},ratio:{type:Number,default:16/9},showModal:{type:Boolean,default:!1},showType:{type:String,default:""}},watch:{showModal(e){e&&this.modalEpisodeVideo(this.episode)}}},Du=Lu,Vu=(s("18f5"),Object(Ee["a"])(Du,Iu,$u,!1,null,"59e3cf04",null)),zu=Vu.exports;ze()(Vu,"components",{QCard:Ne["a"],QImg:yi["a"],QIcon:Ai["a"],QSpinnerDots:mo["a"],QCardSection:Oe["a"],QCardActions:Le["a"],QBtn:De["a"],QDialog:Re["a"],QResponsive:Oi["a"],QResizeObserver:ho["a"],QSpace:uc["a"]}),ze()(Vu,"directives",{Ripple:K["a"],ClosePopup:Y["a"]});var Mu=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-img",{staticClass:"rounded-borders",attrs:{ratio:e.ratio,src:e.showAfterNextCover}},[s("div",{staticClass:"absolute-full row"},[s("div",{staticClass:"column full-width justify-end"},[s("div",{staticClass:"col-auto",staticStyle:{"margin-bottom":"-10px"}}),s("div",{staticClass:"row col-auto q-ml-xs q-mr-xs"},[s("div",{staticClass:"col-12 text-center q-pb-sm",staticStyle:{"font-size":"1.1em"}},["ranger-show"==e.showAfterNextSlug?s("span",[s("span",{staticClass:"text-weight-bold"},[e._v("RANGER")]),s("span",{staticClass:"text-weight-light"},[e._v("SHOW")])]):e._e(),"on-point"==e.showAfterNextSlug?s("span",[s("span",{staticClass:"text-weight-light"},[e._v("ON")]),s("span",{staticClass:"text-weight-bold"},[e._v("POINT")])]):e._e(),"what-fact"==e.showAfterNextSlug?s("span",[s("span",{staticClass:"text-weight-bold"},[e._v("WHAT")]),s("span",{staticClass:"text-weight-light"},[e._v("THE")]),s("span",{staticClass:"text-weight-bold"},[e._v("FACT")])]):e._e(),s("span",{staticClass:"q-mx-xs"},[e._v("|")]),s("span",{domProps:{textContent:e._s(e.showAfterNextDateTime)}}),s("span",{staticClass:"q-ml-xs text-italic",domProps:{textContent:e._s(e.getTimeZone())}})])])])])])],1)},ju=[],Qu=Object(ce["a"])("shows"),Uu=(Qu.mapGetters,{name:"ShowAfterNextPreview",computed:{maskHeight(){return this.width>1e3?75:this.width>700?60:40}},data(){return{width:0}},methods:{previewResize(e){this.width=e.width}},mixins:[hi,Su],props:{ratio:{type:Number,default:16/9},showTypeId:{type:Number,default:0}}}),Fu=Uu,Bu=(s("2a0e"),Object(Ee["a"])(Fu,Mu,ju,!1,null,"6b445e8c",null)),Hu=Bu.exports;ze()(Bu,"components",{QImg:yi["a"]});var Gu=Object(ce["a"])("content"),Wu=(Gu.mapGetters,Object(ce["a"])("shows")),Yu=Wu.mapGetters,Ku=Object(ce["a"])("user"),Zu=Ku.mapGetters,Ju=Object(ce["a"])("videos"),Xu=Ju.mapActions,eh={name:"ShowPage",components:{NextShowPreview:Pu,PastShowPreview:zu,ShowAfterNextPreview:Hu,ShowQuestions:wu},computed:ne()(ne()(ne()({},Yu(["getShowSchedule","getShowTypeBySlug"])),Zu(["getAuthenticated","getIsSubscriber"])),{},{columnClasses(){switch(this.sensiblePerRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},currentShowTypeId(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.currentShowType)||void 0===t?void 0:t.id)&&void 0!==e?e:0},episodesExist(){return _.isArray(null===this||void 0===this?void 0:this.episodes
1)&&!_.isEmpty(null===this||void 0===this?void 0:this.episodes)},sensiblePerRow(){var e=this.$q.screen.width<550?1:this.$q.screen.width<800?2:this.perRow;return e<this.perRow?e:this.perRow},showIsLive(){return this.nextShowOnAir&&this.nextShowHasYoutubeId},userIsSignedIn(){return this.getAuthenticated},videoSrc(){var e;return`https://www.youtube.com/embed/${null===this||void 0===this||null===(e=this.nextShow)||void 0===e?void 0:e.youtube_id}?rel=0&autoplay=1&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com`},showIsSubscriberOnly(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.nextShow)||void 0===t?void 0:t.subscriber_only)&&void 0!==e&&e},showTypeTitle(){var e;return null===this||void 0===this||null===(e=this.getShowTypeBySlug(null===this||void 0===this?void 0:this.slug))||void 0===e?void 0:e.title},showTypeId(){var e;return null===this||void 0===this||null===(e=this.getShowTypeBySlug(null===this||void 0===this?void 0:this.slug))||void 0===e?void 0:e.id}}),data(){return{allEpisodesAreLoaded:!1,currentShowType:{},episodes:[],fetchingEpisodes:!1,lastPage:1,loadingEpisodes:!1,perRow:3,player:null,playing:!1,playerWidth:800,showLogoUrl:"",showLogoRatio:0,slotSize:0,textLogoUrl:"",logoRatio:0}},methods:ne()(ne()({},Xu(["fetchVideosByType"])),{},{adSlotResize(e){this.slotSize=e.width},loadMoreEpisodes(e,t){var s=this;if(e>s.lastPage)return t(),void(s.allEpisodesAreLoaded=!0);var a={paginate:1,page:e||1,per_page:12,videoTypes:["episode"],youtube:1};_.isFinite(_.toNumber(null===s||void 0===s?void 0:s.currentShowTypeId))&&_.toNumber(null===s||void 0===s?void 0:s.currentShowTypeId)>0&&(a["showTypeId"]=s.currentShowTypeId),s.loadingEpisodes=!0,this.fetchVideosByType(a).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_.each(_.get(e,"data.data",[]),(function(e){s.episodes.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){s.loadingEpisodes=!1,t()}))},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.sensiblePerRow)===0},playerSized(e){this.$log("PLAYER SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.playerWidth=_.toNumber(e.width))},videoShowType(){var e,t,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===s||void 0===s||null===(e=s.show)||void 0===e||null===(t=e.show_type)||void 0===t?void 0:t.type}}),mixins:[hi,Su,mi],mounted(){this.perRow=this.sensibleRowsPerPage(3,"pastShowsPerRow")},props:{slug:{type:String,default:""}},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("pastShowsPerRow",e)},sensiblePerRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>0&&(this.perRow=e,this.$q.cookies.set("pastShowsPerRow",this.perRow))},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("pastShowsPerRow"))&&void 0!==t?t:3)},slug:{immediate:!0,handler(e){this.currentShowType=this.getShowTypeBySlug(this.slug);var t=this;t.episodes=[],t.lastPage=1,this.$nextTick((function(){t.$refs.episodeScroller.reset(),t.$refs.episodeScroller.trigger()}))}}}},th=eh,sh=(s("e41f"),s("589e"),Object(Ee["a"])(th,du,uu,!1,null,"c95bfaa0",null)),ah=sh.exports;ze()(sh,"components",{QPage:Ci["a"],QIcon:Ai["a"],QResponsive:Oi["a"],QBadge:Ir["a"],QBtn:De["a"],QBtnToggle:So["a"],QInfiniteScroll:uo["a"],QResizeObserver:ho["a"],QSpinnerDots:mo["a"],QImg:yi["a"]});var ih=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",[s("div",{class:e.$q.screen.width<1200?"":"q-pl-xl q-pr-xl"},[s("div",{staticClass:"row q-pt-xl q-pa-xl",staticStyle:{height:"100vh"},style:{minHeight:e.minFormHeight}},[s("div",{staticClass:"col-md-5 col-12"},[s("div",{staticClass:"q-pl-xl q-pr-xl"},[s("q-form",{ref:"signInForm",attrs:{"no-error-focus":"",onautocomplete:"off"},on:{submit:function(t){return t.preventDefault(),e.signIn(t)}}},[s("div",{},[s("div",{staticClass:"text-h4 q-my-xs q-mb-sm"},[s("b",[e._v("Sign")]),e._v(" in")])]),s("div",{staticClass:"row q-mt-md q-pb-md"},[s("div",{staticClass:"col-xs-12"},[s("div",{staticClass:"row q-col-gutter-sm"},[s("div",{staticClass:"text-caption"},[e._v("\n                      E-mail\n                    ")]),s("div",{staticClass:"col-xs-12"},[s("q-input",{ref:"email",staticClass:"signin-form",attrs:{"error-message":e.serverValidation.email,error:!!e.hasServerError("email"),"lazy-rules":!0,rules:[e.validateEmail],dense:"",rounded:"",outlined:"","bg-color":"white",label:"[email protected]",maxlength:"64",name:"email",type:"email"},on:{focus:function(t){return e.clearInputValidation("email")}},scopedSlots:e._u([{key:"prepend",fn:function(){return[s("q-icon",{staticClass:"q-ml-sm",attrs:{color:"grey-4",size:"xs",name:"fas fa-at"}})]},proxy:!0}]),model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}})],1),s("div",{staticClass:"text-caption"},[e._v("\n                      Password\n                    ")]),s("div",{staticClass:"col-xs-12 q-pb-lg"},[s("q-input",{ref:"password",attrs:{"error-message":e.serverValidation.password,error:!!e.hasServerError("password"),rules:[e.validatePassword],type:e.isPwd?"password":"text",autocomplete:"new-password",dense:"",rounded:"",outlined:"","bg-color":"white","input-class":"text-body2",label:"Password","lazy-rules":!0},scopedSlots:e._u([{key:"prepend",fn:function(){return[s("q-icon",{staticClass:"q-ml-sm",attrs:{color:"grey-4",size:"xs",name:"fas fa-key"}})]},proxy:!0},{key:"append",fn:function(){return[s("q-icon",{staticClass:"cursor-pointer",attrs:{color:"grey-4",size:"xs",name:e.isPwd?"far fa-eye":"far fa-eye-slash"},on:{click:function(t){e.isPwd=!e.isPwd}}},[s("q-tooltip",{ref:"snapshot-trigger",attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Show my password\n                            ")])],1)]},proxy:!0}]),model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),s("div",{staticClass:"col-xs-12 q-mt-xl text-center"},[s("q-btn",{staticClass:"q-mb-lg signin-submit",style:{minWidth:"250px",minHeight:"40px"},attrs:{loading:e.validatingEmail,flat:"",rounded:"",size:"md",type:"submit"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"})]},proxy:!0}])},[e.validatingEmail?e._e():s("div",{staticClass:"fit text-center"},[s("div",{staticClass:"inline-block",staticStyle:{padding:"4px 8px"}},[e._v("SIGN IN")])])]),s("br"),s("a",{staticClass:"text-caption text-underline cursor-pointer",on:{click:e.resetPassword}},[e.sendingReset?s("span",[s("q-spinner-facebook",{staticClass:"q-mr-xs",attrs:{size:"xs"}}
1),e._v(" Sending ...\n                          ")],1):s("span",[e._v("Forgot Password?")]),s("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Click to Reset your password\n                        ")])],1)],1)])])]),s("div",{staticClass:"text-center"},[s("div",{staticClass:"q-my-lg"},[s("q-separator",{attrs:{color:"dark-green"}}),s("q-avatar",{staticStyle:{"margin-top":"-24px"},attrs:{color:"white",size:"24px"}},[e._v("OR")])],1)]),s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-xs-12"},[s("q-btn",{style:{minWidth:"250px"},attrs:{loading:e.validatingGoogle,color:"white",size:"md","text-color":"black"},on:{click:e.signInWithGoogle},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"}),e._v("\n                      Validating\n                    ")]},proxy:!0}])},[e.validatingGoogle?e._e():s("div",{staticClass:"fit text-left"},[s("q-icon",{attrs:{name:"img:social/google_logo.svg"}}),s("div",{staticClass:"inline-block",staticStyle:{padding:"4px 8px"}},[e._v(" Sign in with Google")])],1)])],1)]),s("div",{staticClass:"text-normal text-caption q-pt-lg"},[s("b",[e._v("Not yet a subscriber? ")]),s("router-link",{staticClass:"marketing-orange",attrs:{to:{name:"details"}},on:{click:e.trackNotSubscriberButton}},[e._v("Subscribe Now")])],1),s("div",{staticClass:"col-12 q-mt-xs text-normal text-caption"},[s("p",[e._v("By continuing you agree to our \n                  "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showPrivacyPolicy}},[e._v("Privacy Policy ")]),e._v("\n                  &\n                  "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showTermsOfService}},[e._v("Terms of Service")])])])])],1)]),s("div",{staticClass:"col-md-7 col-12 q-pl-lg q-pr-lg q-pa-xl"},[s("q-img",{staticClass:"cursor-pointer signin-photo",attrs:{src:"/images/lions-signin.jpg"}})],1)])])]),s("q-dialog",{on:{hide:e.termsPrivacyClosed},model:{value:e.showTermsPrivacy,callback:function(t){e.showTermsPrivacy=t},expression:"showTermsPrivacy"}},[s("q-card",{staticStyle:{"min-height":"80vh",width:"80vw","max-width":"1200px"}},[s("q-card-section",{staticClass:"scroll",staticStyle:{"max-height":"calc(80vh - 52px)"}},[e.showPrivacy?s("privacy-policy"):e._e(),e.showTerms?s("terms-of-service"):e._e()],1),s("q-separator"),s("q-card-actions",{staticClass:"bg-light-baise",staticStyle:{"min-height":"52px"},attrs:{align:"right"}},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{color:"brand-orange",flat:"",label:"CLOSE"}})],1)],1)],1),s("site-footer")],1)},oh=[],rh=s("8aa5"),nh=s.n(rh),lh=Object(ce["a"])("user"),ch=lh.mapActions,dh=lh.mapGetters,uh=lh.mapMutations,hh={name:"SignInPage",components:{privacyPolicy:Oo,termsOfService:jo},computed:ne()(ne()(ne()({},dh(["getLoggingInStatus"])),ch(["fetchUser"])),{},{isLoggingIn(){return!!this.getLoggingInStatus}}),data(){return{form:{email:null,password:null},hasSignInError:!1,isPwd:!0,sendingReset:!1,serverValidation:{email:"",password:""},showPrivacy:!1,showTerms:!1,showTermsPrivacy:!1,signInError:"",validatingEmail:!1,validatingGoogle:!1}},methods:ne()(ne()(ne()({},ch(["serverLogin"])),uh(["setFirebaseToken"])),{},{signIn(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s,a,i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e,s.hasSignInError=!1,e.$trackEvent({event:"login",interactionType:"Email Login click",interactionElementName:"Sign-in Email Button"},{"login-method":"Email"}),t.prev=3,s.validatingEmail=!0,t.next=7,nh.a.auth().setPersistence(nh.a.auth.Auth.Persistence.LOCAL);case 7:return a=null,t.next=10,s.$firebaseAuth.signInWithEmailAndPassword(s.form.email,s.form.password).catch((function(e){switch(console.log("signInWithEmailAndPassword catch:",e),s.hasSignInError=!0,s.signInError=e.message,e.code){case"auth/user-disabled":s.signInError="Your account is currently disabled, please contact us to assist you.";break;case"auth/user-not-found":s.signInError="You do not have an account with us, please use the subscribe link to the top right of your screen.";break;case"auth/invalid-email":s.signInError="Your Email Address is invali
1d.",s.serverValidation.email=s.signInError;break;case"auth/wrong-password":s.signInError='The password you entered does not match the one we have for you on record. <br><br> <span class="text-caption"> <strong>N.B.</strong> If you previously used the Google Sign in option and you would now like to use email/password verification, you will need to do a password reset using the FORGOT PASSWORD link and assign yourself a password.</span>',s.serverValidation.password="Your password is incorrect or missing."}}));case 10:a=t.sent,a&&!s.hasSignInError?(o=null===(i=a)||void 0===i?void 0:i.user,s.$log("USER RETURNED:",o),e.setTokenAndLoginToApi(o,"validatingEmail")):(s.$q.notify({color:"dark-green",closeBtn:"dismiss",html:!0,message:s.signInError,textColor:"white",timeout:3e4}),s.signingUp=!1,s.validatingEmail=!1),t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](3),console.log("signIn() E:",t.t0);case 17:case"end":return t.stop()}}),t,null,[[3,14]])})))()},trackNotSubscriberButton(){this.$trackEvent({event:"signin_subscribe",interactionType:"CTA Click",interactionElementName:"Not yet a subscriber CTA"})},resetPassword(){var e=this;this.$trackEvent({event:"forgot_password",interactionType:"CTA Click",interactionElementName:"Forgot password button click on sign in page"});var t=this;if(!0===t.validateEmail(t.form.email)){this.sendingReset=!0;var s={url:location.protocol+"//"+location.hostname+"/auth/sign-in"};t.$firebaseAuth.sendPasswordResetEmail(t.form.email,s).then((function(){t.$q.notify({color:"light-baise",textColor:"dark-green",message:"We have sent a reset link to your email."})})).catch((function(e){"auth/user-not-found"===e.code?t.$q.notify({color:"light-baise",textColor:"dark-green",message:"You do not have an account with us, please register, it's FREE."}):t.$q.notify({color:"light-baise",textColor:"dark-green",message:"We could not send you a reset link, please contact us to help."})})).finally((function(){e.sendingReset=!1}))}else t.$q.notify({color:"light-baise",textColor:"dark-green",message:"Please enter a valid email address."})},setTokenAndLoginToApi(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=this;!_.isNil(t)&&_.isObject(t)&&(t?t.getIdToken().then((function(t){console.log("[login] getIdToken() resolved"),_.isEmpty(t)||(console.log("[login] Token received:",t),a.setFirebaseToken(t),console.log("[login] setFirebaseToken() called"),a.$store.state.user.intendedPath?console.log("[login] intendedPath already set:",a.$store.state.user.intendedPath):(console.log('[login] No intendedPath set; setting default to "/dashboard"'),a.$store.commit("user/setIntendedPath",{path:"subscribe",query:null},{root:!0})),console.log("[login] Calling serverLogin"),a.serverLogin().then((function(e){console.log("[login] serverLogin response:",e)})).finally((function(){e.fetchUser(),!_.isNil(s)&&_.has(a,s)&&(a[s]=!1)})))})).catch((function(e){a.$log("GET USER TOKEN CATCH:",e),!_.isNil(s)&&_.has(a,s)&&(a[s]=!1)})):a.$log("USER/TOKEN MISSING:"))},showPrivacyPolicy(){this.showTerms=!1,this.showPrivacy=!0,this.showTermsPrivacy=!0},showTermsOfService(){this.showPrivacy=!1,this.showTerms=!0,this.showTermsPrivacy=!0},signInWithGoogle(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e,e.$trackEvent({event:"login",interactionType:"Google Login click",interactionElementName:"Sign-in Google Button"},{"login-method":"Google"}),s.validatingGoogle=!0,t.next=5,nh.a.auth().setPersistence(nh.a.auth.Auth.Persistence.LOCAL);case 5:a=new nh.a.auth.GoogleAuthProvider,s.$firebaseAuth.signInWithPopup(a).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=_.get(t,"user",null);console.log("USER",s),e.setTokenAndLoginToApi(s,"validatingGoogle")})).catch((function(e){e.code,e.message,e.email,e.credential;console.log("ERRRRRRRROR:",e)}));case 7:case"end":return t.stop()}}),t)})))()},termsPrivacyClosed(){this.showTermsPrivacy=!1,this.showPrivacy=!1,this.showTerms=!1}
1,validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):_.isEmpty(e)?"Your email is required.":!!this.isValidEmail(e)||"The format of your email is incorrect format."},validatePassword(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.password",!1)?this.getServerError("password"):_.isEmpty(e)?"Your password is required.":!(_.toString(e).length<6)||"Must be at least 6 characters."}}),mixins:[hi,mi,Po],mounted(){}},mh=hh,ph=(s("f824"),Object(Ee["a"])(mh,ih,oh,!1,null,null,null)),gh=ph.exports;ze()(ph,"components",{QPage:Ci["a"],QForm:Fo["a"],QInput:Bo["a"],QIcon:Ai["a"],QTooltip:Lc["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"],QSeparator:Go["a"],QAvatar:Ol["a"],QImg:yi["a"],QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QCardActions:Le["a"]}),ze()(ph,"directives",{ClosePopup:Y["a"]});var vh=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.getIsSubscriber?e._e():s("ad-leaderboard"),s("div",{staticClass:"row justify-center",class:e.getIsSubscriber?"q-my-xl":"q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"row",class:e.getIsSubscriber?"premium-player-new":"standard-player"},[s("div",{staticClass:"col-12",style:e.playerWidth},[s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1200?"col-xs-12":"col-xs-4"},[s("div",{staticClass:"text-h5",domProps:{textContent:e._s(e.get("stream.name")+" Live")}}),s("div",{staticClass:"full-height text-caption q-pb-sm q-mr-sm text-grey-6"},[e._v("\n                  Local\n                  "),s("local-time")],1)]),s("div",{class:e.$q.screen.width<1200?"col-xs-12":"col-xs-8 relative-position"},[s("div",{class:e.$q.screen.width<1200?"text-right q-mb-xs":"text-right absolute-bottom-right q-mb-xs"},[e._v("\n                  >\n                    "),s("q-tooltip",{ref:"snapshot-trigger",attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Preview and select a stream.\n                    ")]),e.getIsSubscriber?e._e():s("q-btn",{staticClass:"q-mr-sm",attrs:{"no-caps":"",flat:"",to:{name:"subscribe"},size:"md"},on:{click:e.trackTextSubscribe}},[s("span",{staticClass:"link-underline"},[e._v("Join premium for an ads free experience")])]),e._v("\n                  >\n                    "),e.getIsSubscriber?s("q-tooltip",{ref:"snapshot-trigger",attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Tag an animal and score points.\n                    ")]):e._e(),e._v("\n                  >\n                    "),s("q-tooltip",{ref:"snapshot-trigger",attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Save this moment. Take a photo.\n                    ")])],1)])])]),s("div",{staticClass:"col-auto",staticStyle:{width:"350px"}})]),s("div",{staticClass:"row q-col-gutter-x-md q-mb-md"},[s("div",{staticClass:"col-12",style:e.playerWidth},[s("q-responsive",{staticClass:"rounded-borders relative-position",class:e.getIsSubscriber?"premium-player-new":"standard-player",attrs:{ratio:16/9}},[e.stream&&!e.getIsSubscriber?s("youtube-media",{key:e.componentKey,ref:"youtube",attrs:{"player-width":"100%","player-height":"100%","player-vars":{autoplay:1,playlist:[e.playlistSource]}},on:{playing:e.playing,paused:e.pauseVideo}}):e._e(),e.stream&&e.getIsSubscriber?s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:"",previewImageSize:"hqdefault",src:e.videoSource}}):e._e(),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.onVideoResize}})],1)],1),!e.getIsSubscriber&&this.$q.screen.width>1024?s("div",{staticClass:"col-auto",staticStyle:{width:"350px"}},[s("div",[s("div",{staticClass:"q-ml-md q-mb-md"},[s("ad300x250",{attrs:{refresh:0}})],1),e.$q.screen.width>1360?s("div",{staticClass:"q-ml-md q-mb-md"},[s("ad300x250",{attrs:{refresh:0}})],1):e._e(),e.$q.screen.width>1860?s("div",{staticClass:"q-ml-md q-mb-md"},[s("ad300x250",{attrs:{refresh:0}}
1)],1):e._e(),e.$q.screen.width>2350?s("div",{staticClass:"q-ml-md q-mb-md"},[s("ad300x250",{attrs:{refresh:0}})],1):e._e()])]):e._e()]),e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.$q.screen.width}}),s("q-toggle",{attrs:{color:"green"},model:{value:e.showStreams,callback:function(t){e.showStreams=t},expression:"showStreams"}}),e.getIsSubscriber&&e.showStreams?s("div",{staticClass:"row q-mt-xs"},e._l(e.previewStreams,(function(t,a){return s("div",{key:a,staticClass:"cursor-pointer col-2",class:[e.previewSize],on:{click:function(s){return e.switchStream(t)}}},[s("stream-preview",{attrs:{"hide-label":!1,ratio:e.previewRatio,refresh:e.refresh,"show-preview":!1,stream:t,basic:"",overlay:"",transition:"fade"}})],1)})),0):e._e(),s("div",{staticClass:"q-my-lg"},[s("kids-course-horizontal-long",{attrs:{"slot-size":e.slotSize}})],1),s("div",{staticClass:"q-mb-lg q-mt-xl"},[s("page-heading",{attrs:{heading:"Community Photos",subheading:"Click on the image to view a larger version."}})],1),s("div",{staticClass:"row q-col-gutter-md"},[s("div",{staticClass:"col-12",style:e.getIsSubscriber||e.$q.screen.width<768?"":"width: calc(100% - 300px)"},[s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}}),s("q-infinite-scroll",{ref:"snapshotScroller",staticClass:"row q-col-gutter-lg",attrs:{offset:2e3},on:{load:e.loadMoreSnapshots},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                        q-mr-sm\n                        text-weight-bold\n                        text-caption\n                        text-uppercase\n                        text-grey-6\n                      "},[e._v("Loading Photos")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}])},[e._l(e.currentSnapshots,(function(t,a){return[e.adBreak(a)?s("div",{staticClass:"col-xs-12 q-py-md text-center"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}})],1):e._e(),s("q-intersection",{staticClass:"col-xs-12 col-sm-6 col-xl-4 cursor-pointer",attrs:{once:"",margin:"-50px 0px",transition:"scale"}},[s("photo-preview",{attrs:{ratio:16/9,photo:t}})],1)]})),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.onCommunityPhotosResize}})],2),s("div",{staticClass:"row"},[e.allSnapshotsAreLoaded?s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                      q-mr-sm\n                      text-weight-bold text-caption text-uppercase text-grey-6\n                    "},[e._v("\n                    All Photos have been loaded.")])])]):e._e()])],1),!e.getIsSubscriber&&e.$q.screen.width>767?s("div",{staticClass:"col-auto",staticStyle:{width:"300px"}},e._l(e.communityStreamAdCount,(function(e,t){return s("div",{staticClass:"q-mb-lg"},[s("ad300x250",{key:t})],1)})),0):e._e()])],1)])],1),s("stream-picker",{attrs:{"show-picker":e.showStreamPicker,"show-preview":!0},on:{hiding:e.streamPickerHiding,"stream-selected":e.switchStream}}
1),s("snapshot",{attrs:{"open-snapshot":e.showSnapShot,stream:e.stream,"is-game":e.gameStatus},on:{hide:e.hideSnapshot,saved:e.resetSnapshots}}),s("site-footer")],1)},fh=[],bh=Object(ce["a"])("chat"),wh=bh.mapGetters,yh=bh.mapMutations,xh=Object(ce["a"])("content"),qh=xh.mapGetters,_h=Object(ce["a"])("user"),Sh=_h.mapGetters,Ch={name:"StreamPage",computed:ne()(ne()(ne()(ne()({},qh(["streams"])),wh(["getChatVisible"])),Sh(["getAuthenticated","getIsSubscriber"])),{},{cleanSlug(){return _.replace(_.get(this,"slug",""),"-live","").toLowerCase()},communityStreamAdCount(){var e=1;return this.communityPhotosHeight>0&&(e=Math.floor(this.communityPhotosHeight/270)||1),_.range(e)},currentSnapshots(){return this.snapshots},player(){return this.$refs.youtube.player},playerWidth(){return{width:this.getIsSubscriber?"100%":this.$q.screen.width>1023?"calc(100% - 350px)":"100%"}},previewRatio(){return this.$q.screen.width>1280?16/9:this.$q.screen.width<769?1.6:4/3},previewSize(){return this.$q.screen.width>768?"col":"col-xs-3"},previewStreams(){return this.streams},stream(){var e=this;return _.find(this.streams,(function(t){return _.isEqual(t.slug,e.cleanSlug)}))||{}},videoSource(){return this.playerUrl(this.stream.youtube_id)},playlistSource(){return`${this.chosenPromo},${this.stream.youtube_id}`}}),data(){return{allSnapshotsAreLoaded:!1,communityPhotosHeight:0,showStreams:!1,lastPage:1,refresh:20,snapshots:[],showSnapShot:!1,showStreamPicker:!1,slotSize:0,videoHeight:0,upgradeAction:{},upgradeCTA:"",upgradeMessage:"",componentKey:0,videoPaused:!1,videoRestarted:!1,showUpgradePrompt:!1,videoId:"KjwAre0Y-ac",videoadSource:"KjwAre0Y-ac",videoPromos:["rKeXVm-3ztk","pSNMXxptgBk","Go8JKwZdcX4","GG3Us2DNqbA"],nkorhoPromos:["E0DeGtNmD3E","QXg8TQdZPeU"],finalPromos:"",chosenPromo:"",randomNumber:"",isPromoEligible:"",gameStatus:""}},methods:ne()(ne()({},yh(["setChat"])),{},{adSlotResize(e){this.slotSize=e.width},promoEligible(){this.randomNumber=Math.floor(100*Math.random())+1,this.randomNumber%2===0?(this.isPromoEligible=!0,console.log("Divisible by 2")):(this.isPromoEligible=!1,console.log("NOT divisible by 2")),console.log(this.randomNumber),console.log(this.isPromoEligible)},videoPicker(){if(this.isPromoEligible||this.timerExpired){"nkorho"===this.stream.slug?(this.finalPromos=["i5EV6i_t6Fg","StYjW8kSlg0"],console.log(this.stream.id),console.log("this is NKORHO")):"tau"===this.stream.slug?(this.finalPromos=["EPOYbhpebBc"],console.log(this.stream.id),console.log("this is Tau")):"tembe"===this.stream.slug?(this.finalPromos=["-bEST8TAphs","JtI6wDvLJq0"],console.log(this.stream.id),console.log("this is Tau")):"shalati-sunrise"===this.stream.slug||"skukuza"===this.stream.slug||"shalati-bridge"===this.stream.slug?(this.finalPromos=["HKr8kapoX7k"],console.log(this.stream.id),console.log("this is Shalati")):"rosies-pan"===this.stream.slug||"cat-eye"===this.stream.slug||"olifants-river"===this.stream.slug?(this.finalPromos=["c9eUOsEe5JA"],console.log(this.stream.id),console.log("this is Naledi")):(this.finalPromos=["ABLDAVSqOP0","rKeXVm-3ztk","pSNMXxptgBk","aPDV38DTiIE","GG3Us2DNqbA"],console.log(this.stream.id),console.log("Stream not connected to lodge"),console.log(this.finalPromos));var e=Math.floor(Math.random()*this.finalPromos.length);this.chosenPromo=this.finalPromos[e],console.log("Here are the promo variables"),console.log(e),console.log(this.chosenPromo)}},playVideo(){this.player.playVideo()},trackTextSubscribe(){this.$trackEvent({event:"clickTextSubscribeLink",interactionType:"click text subscribe link",interactionElementName:"subscribe text link"},{"Subscribe Text Link":"Clicked"})},forceRerender(){if(this.getIsSubscriber)return!1;this.componentKey+=1,this.videoPicker(),this.videoPaused=!1,console.log("Restart Stream Playlist Timer")},startTimer(){var e=this;this.getIsSubscriber?console.log("Premium Player Activated"):(this.timer=window.setInterval((function(){e.forceRerender(),e.videoPicker(),e.timerExpired=!0}),12e4),console.log("timer set"))},clearTimer(){if(this.getIsSubscriber)return!1;window.clearInterval(this.timer),console.log("Timer Cleared")},pauseVideo(){this.videoPaused=!0,console.log("you paused the video"),console.log(this.videoPaused),this.clearTimer()},playing(){this.videoPaused?(console.log("you just un paused the video"),this.startTimer(),this.videoPaused=!1):console.log("no un paused - you are playing the video for the first time")},hideSnapshot(){this.showSnapShot=!1},initStream(){var e=this;e.showSnapShot=!1,this.showSnapShotHint(),e.resetSnapshots(),this.setChat(_.get(this,"stream.chat","chat-general"))}
1,loadMoreSnapshots(e,t){var s=this;if(e>s.lastPage)return s.$refs.snapshotScroller.stop(),s.allSnapshotsAreLoaded=!0,void(_.isFunction(t)&&t());s.$axios.post("/api/photos/search",{page:e||1,per_page:s.dbPageSize(),filters:{stream:s.stream.code}}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.snapshots.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){t()}))},onCommunityPhotosResize(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.communityPhotosHeight=_.get(e,"height",0)},onVideoResize(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.videoHeight=_.get(e,"height",0)},resetSnapshots(){this.allSnapshotsAreLoaded=!1,this.snapshots=[],this.lastPage=1,this.$refs.snapshotScroller.reset(),this.$refs.snapshotScroller.setIndex(0),this.$refs.snapshotScroller.resume(),this.$refs.snapshotScroller.trigger()},showSnapShotHint(){var e=this;setTimeout((function(){e.$refs["snapshot-trigger"].show(),setTimeout((function(){e.$refs["snapshot-trigger"]&&e.$refs["snapshot-trigger"].hide()}),6e3)}),4e3)},streamPickerHiding(){this.showStreamPicker=!1},switchStream(e){var t=this;if(e.subscriber_only){if(!t.getIsSubscriber)return t.showStreamPicker=!1,t.upgradeAction={name:"premium"},t.upgradeCTA="SUBSCRIBE",t.upgradeMessage="This Live stream is only available on Africam Premium. Subscribe now and enjoy ads free live streams and subscriber exclusive content, and help promote wildlife conservation.",void(t.showUpgradePrompt=!0);t.showStreamPicker=!1,t.forceRerender(),t.clearTimer(),t.startTimer(),t.$router.push({name:"stream",params:{slug:e.slug+"-live"}})}else t.showStreamPicker=!1,t.forceRerender(),t.clearTimer(),t.startTimer(),t.$router.push({name:"stream",params:{slug:e.slug+"-live"}})},takeSnapshot(){this.showSnapShot=!0,this.gameStatus=!1,console.log("GAME STATUS"),console.log(this.gameStatus)},takeAfritag(){this.showSnapShot=!0,this.gameStatus=!0,console.log("GAME STATUS"),console.log(this.gameStatus)}}),mixins:[hi,mi],mounted(){this.initStream(),this.startTimer(),this.promoEligible(),this.videoPicker()},beforeDestroy(){this.clearTimer()},props:{slug:{default:"",required:!0,takeSnapshot:!1,type:String}},watch:{stream(e){this.initStream()}}},Ah=Ch,kh=(s("7555"),s("ad56")),Th=Object(Ee["a"])(Ah,vh,fh,!1,null,null,null);Th.exports;ze()(Th,"components",{QPage:Ci["a"],QBtn:De["a"],QTooltip:Lc["a"],QResponsive:Oi["a"],QResizeObserver:ho["a"],QToggle:En["a"],QInfiniteScroll:uo["a"],QIntersection:kh["a"],QSpinnerDots:mo["a"]});var Ph=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.getIsSubscriber?e._e():s("ad-leaderboard"),s("div",{staticClass:"app-width col-12 q-pt-xl"},[s("page-title",{attrs:{title:"Africam Animals A-Z"}}),s("p",[e._v("\n        Expand your wildlife knowledge with Africam's A-Z of animals, the\n        latest sightings and ranger insights.\n      ")])],1),s("div",{staticClass:"row"},e._l(e.alphabetOptions,(function(t,a){return s("div",[s("q-btn",{attrs:{label:e.alphabetOptions[a].label},on:{click:function(t){return e.selectLetter(a)}}})],1)})),0),s("div",{staticClass:"row justify-center",class:e.getIsSubscriber?"q-mt-md":"q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"col-6-md col-xs-12"},[s("div",{staticClass:"row"},[s("p",{staticClass:"text-small text-grey-5 q-mb-none q-pt-none",domProps:{textContent:e._s(e.selectedAnimalScientificName)}})]),s("div",{staticClass:"row"},[s("h2",{staticClass:"text-h5 text-weight-bold text-uppercase q-mt-none q-my-sm",domProps:{textContent:e._s(e.selectedAnimalName)}})])]),s("div",{staticClass:"col-6"},[s("q-chip",{staticClass:"q-pl-sm",attrs:{square:""}},[s("q-avatar",{attrs:{color:e.rarityColor(this.animalRarityPoints)}},[s("span",{staticClass:"text-white",domProps:{textContent:e._s(e.animalRarityValue)}})]),s("div",{domProps:{textContent:e._s(e.rarityMessage(this.animalRarityPoints))}})],1),s("span",{staticClass:"text-subtitle"},[e._v("\n            SafariSnap Score: "),s("span",{domProps:{textContent:e._s(e.animalRarityPoints)}}
1)])],1),s("div",{staticClass:"row q-pt-sm"},[s("div",{staticClass:"col-xs-12 col-md-7 q-pb-md"},[null!==e.animal.avatar?s("q-img",{attrs:{src:e.animal.avatar},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"text-subtitle1 text-white"},[e._v("Loading...")])]},proxy:!0}],null,!1,492058571)}):s("div",{staticClass:"text-left"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("Loading Animal\n              ")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1),s("div",{staticClass:"q-pt-lg text-justify"},[s("div",{staticClass:"inline-block",domProps:{innerHTML:e._s(e.animal.content)}})])],1),s("div",{staticClass:"col-xs-12 col-md-5"},[s("div",{class:(e.$q.screen.width,"q-pl-lg q-pr-lg q-pb-lg")},[e.afritagPhotoFound?s("q-card",[s("q-card-section",[s("span",[e._v("Latest SafariSnap")]),e.loadingAfritag?s("div",{staticClass:"text-left"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("Loading SafariSnaps\n                    ")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1):s("afritag-preview",{attrs:{ratio:16/9,photo:e.afritagRecentPhoto}})],1)],1):e._e()],1),e.highlightVideoFound?s("div",{staticClass:"q-pl-lg q-pr-lg q-pb-lg"},[s("featured-video",{attrs:{video:e.highlightVideo,animalPage:!0,linkText:"Latest Sightings",type:"highlight",animalName:e.selectedAnimalName,animalId:e.animalId,animalType:e.selectedAnimalType,heading:"Recent Sighting"}})],1):e._e(),e.insightVideoFound?s("div",{staticClass:"q-pl-lg q-pr-lg q-pb-lg"},[s("featured-video",{attrs:{video:e.insightVideo,type:"insight",linkText:"Ranger Insights",animalName:e.selectedAnimalName,animalId:e.animalId,animalPage:!0,animalType:e.selectedAnimalType,heading:"Ranger Insight"}})],1):e._e(),e.animalVideoFound?s("div",{staticClass:"q-pl-lg q-pr-lg q-pb-lg"},[s("featured-video",{attrs:{video:e.animalVideo,type:"animal",linkText:"Latest Sightings",animalName:e.selectedAnimalName,animalId:e.animalId,animalPage:!0,animalType:e.selectedAnimalType,heading:"Animal Feature"}})],1):e._e()])])])]),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.subscriberPopup=!1}},model:{value:e.subscriberPopup,callback:function(t){e.subscriberPopup=t},expression:"subscriberPopup"}},[s("q-card",{staticClass:"q-pa-md"},[s("q-card-section",[s("div",{staticClass:"text-h5 text-center"},[e._v("\n            You need to subscribe to continue reading\n          ")]),s("div",{staticClass:"text-subtitle text-center q-pt-sm"},[e._v("\n            Join us for a free two week trial\n          ")])]),s("q-card-section",{staticClass:"text-center"},[s("q-btn",{attrs:{to:{name:"subscribe"},size:"md",color:"brand-orange"}},[e._v("FREE TRIAL")])],1)],1)],1)],1),s("site-footer")],1)},Ih=[],$h=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-card",{staticClass:"full-height",attrs:{flat:!e.hovering,dark:""},on:{mouseleave:e.out,mouseenter:e.over}},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"rounded-borders",attrs:{ratio:e.ratio,src:e.src,transition:"fade"}},[s("div",{staticClass:"absolute-full"},[e.hovering?s("q-icon",{staticClass:"text-shadow q-pa-md",staticStyle:{opacity:"0.8"},attrs:{color:"brand-orange",size:"md",name:"fas fa-play-circle"}}):e._e(),e.hovering?s("div",{staticClass:"absolute-bottom-right q-pa-sm"},[s("video-actions-fab",{attrs:{video:e.highlight}})],1):e._e(),s("div",{staticClass:"absolute-bottom row"},[e.label?s("q-badge",{staticClass:"text-caption q-mx-md small-text",staticStyle:{opacity:"0.85"},attrs:{label:e.label,color:e.labelColour,"text-color":"white"}}):e._e(),s("div",{staticClass:"col-12 q-mx-md q-pt-xs text-shadow"},[s("q-icon",{attrs:{name:"fas fa-user-circle"}}),s("span",{staticClass:"text-caption q-ml-xs q-mr-md"},[e._v("AFRICAM")]),e.captureDate?s("span",[s("q-icon",{attrs:{name:"fas fa-calendar-day"}}),s("span",{staticClass:"text-caption q-ml-xs q-mr-md",domProps:{textContent:e._s(e.captureDate)}})],1):e._e()],1),s("div",{staticClass:"col-12 q-pb-sm q-mx-md"},[s("div",{staticClass:"text-shadow text-subtitle2 wrap",domProps:{textContent:e._s(e.title)}}
1)])],1)],1)])],1)],1)},Eh=[],Rh=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-fab",{attrs:{flat:"",direction:"left",icon:"fas fa-bars",padding:"sm",square:"","text-color":"light-baise"},nativeOn:{click:function(e){e.stopPropagation()}},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[s("ShareNetwork",{attrs:{tag:"span",network:"facebook",title:e.shareDescription,url:e.shareLink},nativeOn:{click:function(t){return t.stopPropagation(),e.onClick(t)}}},[s("q-fab-action",{attrs:{color:"facebook-blue","external-label":"",icon:"fab fa-facebook-square","label-class":"bg-grey-9 text-grey-3","label-position":"top",label:"Share",square:""}})],1),s("ShareNetwork",{attrs:{tag:"span",network:"twitter",title:e.shareDescription,url:e.shareLink},nativeOn:{click:function(t){return t.stopPropagation(),e.onClick(t)}}},[s("q-fab-action",{attrs:{color:"twitter-blue","external-label":"",icon:"fab fa-twitter-square","label-class":"bg-grey-9 text-grey-3","label-position":"top",label:"Share",square:""}})],1)],1)],1)},Nh=[],Oh=Object(ce["a"])("user"),Lh=(Oh.mapActions,Oh.mapGetters),Dh=Object(ce["a"])("photos"),Vh=(Dh.mapActions,{name:"VideoActionsFab",computed:ne()(ne()({},Lh(["getAuthenticated"])),{},{isAuthenticated(){var e;return null!==(e=this.getAuthenticated)&&void 0!==e&&e},photoId(){var e,t;return null!==(e=null===(t=this.video)||void 0===t?void 0:t.id)&&void 0!==e?e:0},shareId(){var e,t;return null!==(e=null===(t=this.video)||void 0===t?void 0:t.id)&&void 0!==e?e:0},shareDescription(){var e,t;return null!==(e=null===(t=this.video)||void 0===t?void 0:t.title)&&void 0!==e?e:""},shareLink(){return`https://social.africam.com/share/${this.shareId}/video`}}),data(){return{open:!1}},methods:{onClick(e){return console.log(this.shareLink),!0}},props:{video:{type:Object,default(){return{}}}}}),zh=Vh,Mh=s("c294"),jh=s("72db"),Qh=Object(Ee["a"])(zh,Rh,Nh,!1,null,null,null),Uh=Qh.exports;ze()(Qh,"components",{QFab:Mh["a"],QFabAction:jh["a"]});var Fh={name:"RangerVideoPreview",components:{VideoActionsFab:Uh},computed:{cardSize(){return this.$q.screen.width>1024?{width:"970px",maxWidth:"80vw"}:{width:"728px",maxWidth:"95vw"}},captureDate(){var e=_.get(this.highlight,"created_ts",null);return!!_.isNumber(e)&&this.formatDate(1e3*e)},duration(){var e=_.get(this.highlight,"duration",0);return!!_.isNumber(_.toNumber(e))&&this.sec2time(_.toNumber(e))},src(){return _.get(this.highlight,"cover","")},title(){return _.get(this.highlight,"title","Highlight Video")},views(){var e=_.get(this.highlight,"view_count",null);return this.kFormatter(e)}},data(){return{hovering:!1,videoDescription:""}},methods:{out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)}},mixins:[hi,mi],props:{highlight:{type:Object,required:!0,default(){return{}}},label:{type:String,default:null},labelColour:{type:String,default:"brand-orange"},more:{type:Boolean,default:!1},ratio:{type:Number,default:16/9}}},Bh=Fh,Hh=(s("c332"),Object(Ee["a"])(Bh,$h,Eh,!1,null,"ba41c4d2",null)),Gh=Hh.exports;ze()(Hh,"components",{QCard:Ne["a"],QImg:yi["a"],QBadge:Ir["a"],QIcon:Ai["a"]}),ze()(Hh,"directives",{Ripple:K["a"]});var Wh=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"fit"},[0!=e.getCurrentDestinationTag?s("q-card",{staticClass:"fit bg-white",staticStyle:{"border-radius":"20px"},attrs:{flat:"",square:"",transition:"fade","transition-show":"fade","transition-hide":"fade"}},[s("q-card-section",[s("div",{staticClass:"row no-wrap"},[s("div",{staticClass:"col"},[s("div",{staticClass:"text-caption text-uppercase text-grey-7"},[e._v("\n            Latest SafariSnap\n          ")]),s("span",{domProps:{innerHTML:e._s(e.animalName)}})]),s("div",{staticClass:"col text-right"},[s("div",{staticClass:"text-caption text-grey-7"},[e._v("DATE")]),s("span",{domProps:{innerHTML:e._s(e.timeAgoLabel)}})])])]),e.getCurrentDestinationTagLoading?s("div",{staticClass:"text-center"},[s("q-spinner-oval",{attrs:{"transition-show":"fadeIn","transition-hide":"fadeOut"}})],1):s("transition",{attrs:{appear:"","enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut",name:"fade"}},[s("img",{staticClass:"q-pl-md q-pr-md",attrs:{transition:"fade","transition-show":"fade","transition-hide":"fade",src:e.getCurrentDestinationTag.storage_reference}})]),s("q-card-section",[e.getCurrentDestinationTagLoading?e._e():s("div",{staticClass:"row",attrs:{"transition-show":"fade","transition-hide":"fade",translate:"all"}},[s("div",{staticClass:"col-9"},[s("q-chip",{attrs:{square:""}},[s("q-avatar",{attrs:{color:e.rarityColor(this.animalRarityPoints)}},[s("span",{staticClass:"text-white",domProps:{textContent:e._s(e.animalRarityValue)}})]),s("div",{domProps:{textContent:e._s(e.rarityMessage(this.animalRarityPoints))}})],1),s("div",[s("router-link",{staticClass:"text-black text-underline text-caption",attrs:{to:{name:"streamAfritags",params:{slug:e.stream.slug,code:e.stream.code}}}},[e._v("\n              View All "),s("span",{domProps:{innerHTML:e._s(e.stream.name)}}),e._v(" Tags from today\n            ")])],1)],1),e.getCurrentDestinationTag.user?s("div",{staticClass:"col-3 text-right text-caption"},[s("q-avatar",{attrs:{size:"37px","font-size":"7px",color:"teal","text-color":"white"}},[s("img",{attrs:{src:e.getCurrentDestinationTag.user.avatar,alt:""}})]),s("div",{domProps:{textContent:e._s(e.getCurrentDestinationTag.user.display_name)}})],1):s("div",{staticClass:"col text-center"}
1,[s("q-spinner-oval")],1)])])],1):s("q-card",{staticClass:"fit bg-white",staticStyle:{"border-radius":"20px"},attrs:{transition:"fade","transition-show":"fade","transition-hide":"fade",flat:"",square:""}},[s("q-card-section",[s("div",{staticClass:"row no-wrap text-center text-uppercase"},[s("div",{staticClass:"col"},[e._v("\n          No Recent Tags for\n          "),s("span",{domProps:{innerHTML:e._s(e.stream.name)}}),e._v("\n          Get Tagging\n        ")])])])],1)],1)},Yh=[],Kh=Object(ce["a"])("user"),Zh=Kh.mapGetters,Jh=Object(ce["a"])("destination"),Xh=Jh.mapGetters,em=Jh.mapActions,tm={name:"RecentTag",computed:ne()(ne()(ne()({},Zh(["getAuthenticated","getIsSubscriber"])),Xh(["getCurrentDestinationTag","getCurrentDestinationTagLoading"])),{},{animalName(){var e,t,s;return null!==(e=null===(t=this.getCurrentDestinationTag)||void 0===t||null===(s=t.animal)||void 0===s?void 0:s.name)&&void 0!==e?e:"loading"},animalRarityValue(){var e,t;return(null===(e=this.getCurrentDestinationTag)||void 0===e||null===(t=e.animal)||void 0===t?void 0:t.rarity_value)/10},animalRarityPoints(){var e,t;return null===(e=this.getCurrentDestinationTag)||void 0===e||null===(t=e.animal)||void 0===t?void 0:t.rarity_value},animalIconName(){var e,t;return this.animalAvatarPath(null===(e=this.getCurrentDestinationTag)||void 0===e||null===(t=e.animal)||void 0===t?void 0:t.name.toLowerCase())},timeAgoLabel(){var e;return this.relativeDateTime(null===(e=this.getCurrentDestinationTag)||void 0===e?void 0:e.created_ts)}}),created(){var e=this;_.isNil(e.$props.stream)||this.fetchCurrentDestinationRecentTag(e.$props.stream)},data(){return{}},methods:ne()(ne()({},em(["fetchCurrentDestinationRecentTag"])),{},{timeAgo(e){return this.getTimeAgo(e)},runGoto(e){var t=this;switch(e){case"gotoStreams":t.$router.push({name:"streams"});break;case"gotoRegister":t.$router.push({name:"register"});break;case"gotoSubscribe":t.$router.push({name:"subscribe"});break}}}),mixins:[hi],props:{stream:{default:{},type:Object}},watch:{stream(e,t){this.fetchCurrentDestinationRecentTag(e)}}},sm=tm,am=(s("81c2"),s("1b41")),im=Object(Ee["a"])(sm,Wh,Yh,!1,null,"9f0e1e86",null),om=im.exports;ze()(im,"components",{QCard:Ne["a"],QCardSection:Oe["a"],QSpinnerOval:am["a"],QChip:Ll["a"],QAvatar:Ol["a"]});var rm=s("1c16"),nm=Object(ce["a"])("user"),lm=nm.mapGetters,cm=Object(ce["a"])("animals"),dm=cm.mapGetters,um=Object(ce["a"])("photos"),hm=(um.mapGetters,um.mapActions),mm={name:"AnimalResultsPage",components:{rangerVideoPreview:Gh},computed:ne()(ne()(ne()({},lm(["getAuthenticated","getIsSubscriber"])),dm(["animals","birds"])),{},{columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},currentHighlights(){return this.videos},currentPhotoHighlights(){return this.photos},storeAnimals(){return this.animals},storeBirds(){return this.birds},pageHeading(){return!0===this.$data.loadingAnimal?"Loading Animal":_.get(this,"$data.animal.name","undefined name")},subHeading(){return!0===this.$data.loadingAnimal?"":_.get(this,"$data.animal.scientific_name","")},animalAvatarIcon(){var e,t,s,a;return null!==(e=null===(t=this.$data)||void 0===t||null===(s=t.animal)||void 0===s||null===(a=s.name)||void 0===a?void 0:a.toLowerCase())&&void 0!==e?e:"fa-paw"},selectedAnimalScientificName(){var e;return null===(e=this.$data.animal)||void 0===e?void 0:e.scientific_name},selectedAnimalName(){var e;return null===(e=this.$data.animal)||void 0===e?void 0:e.name},animalRarityValue(){return _.get(this,"animal.rarity_value",0)/10},animalRarityPoints(){return _.get(this,"animal.rarity_value",0)},animalId(){var e;return null===(e=this.$data.animal)||void 0===e?void 0:e.id},showBirds(){return"birds"===this.$route.params.type},showAnimals(){return"animals"===this.$route.params.type},selectedAnimalType(){return this.showAnimals?"animals":"birds"}}),data(){return{animal:{},afritagRecentPhoto:{},recentInsightVideo:{},subscriberPopup:!1,loadingAnimal:!1,loadingAfritag:!1,allVideosAreLoaded:!1,currentPremiumVideo:{storage_reference:null},fetchingVideos:!1,highlightVideo:{},secondHighlightVideo:{},insightVideo:{},animalVideo:{},lastPage:1,lastPhotoPage:1,insightVideoFound:!1,highlightVideoFound:!1,afritagPhotoFound:!1,secondHighlightVideoFound:!1,animalVideoFound:!1,loadingVideos:!1,options:[{label:"Highlight",value:"highlight"},{label:"Ranger Insight",value:"insight"},{label:"Ranger Pick",value:"pick"},{label:"Rare Sighting",value:"rare"}],perRow:3,showFocusedVideo:!1,showPremiumVideoModal:!1,showUpgradePrompt:!1,slotSize:0,upgradeAction:{},upgradeCTA:"",upgradeMessage:"",videos:[],photos:[],allPhotosAreLoaded:!1,fetchingPhotos:!1,focusedPhoto:{},selectedPreLetter:"",showFocusedPhoto:!1,alphabetOptions:[{label:"A",value:"b"},{label:"B",value:"b"},{label:"C",value:"c"},{label:"D",value:"d"},{label:"E",value:"e"},{label:"F",value:"f"},{label:"G",value:"g"},{label:"H",value:"h"},{label:"I",value:"i"},{label:"J",value:"j"},{label:"K",value:"k"},{label:"L",value:"l"},{label:"M",value:"m"},{label:"N",value:"n"},{label:"O",value:"o"},{label:"P",value:"p"},{label:"Q",value:"q"},{label:"R",value:"r"},{label:"S",value:"s"},{label:"T",value:"t"},{label:"U",value:"u"},{label:"V",value:"v"},{label:"W",value:"w"},{label:"X",value:"x"},{label:"Y",value:"y"},{label:"Z",value:"z"}],highlightVideoType:["highlight"],insightVideoType:["insight"],animalVideoType:["animal"]}},methods:ne()(ne()({},hm(["clearPhotos","fetchPhotos"])),{},{adSlotResize(e){this.slotSize=e.width},directStreamPlayerClosed(){this.showPremiumVideoModal=!1},handleScroll(e){window.scrollY>=700&&!this.getIsSubscriber&&(this.subscriberPopup=!0)},selectLetter(e){this.selectedPreLetter=this.alphabetOptions[e].label,console.log(this.selectedPreLetter),this.$router.push({name:"animals-a-to-z",query:{preSelect:!0,preLetter:this.selectedPreLetter,type:this.showAnimals?"animals":"birds"}})},filterBy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||_.includes(this.videoTypes,e)||this.videoTypes.push(e)},getHighlightVideo(){var e=this,t=this;t.$axios.post("/api/videos",{filters:{type:t.highlightVideoType,animal:_.get(t,"$props.id",null)}}).then((function(s){var a=_.get(s,"data.data",[]);_.isArray(a)&&!_.isEmpty(a)&&(t.$set(t,"highlightVideo",a[0]),e.highlightVideoFound=!0),console.log("INSIGHT VIDEO HERE:"),console.log(t.highlightVideo)}))},getSecondHighlightVideo(){var e=this,t=this;t.$axios.post("/api/videos",{filters:{type:t.highlightVideoType,animal:_.get(t,"$props.id",null)}}).then((function(s){var a=_.get(s,"data.data",[]);_.isArray(a)&&!_.isEmpty(a)&&(t.$set(t,"secondHighlightVideo",a[1]),e.secondHighlightVideoFound=!0),console.log("HIGHLIGHT 2 HERE:"),console.log(t.secondHighlightVideo)}))},getInsightVideo(){var e=this,t=this;t.$axios.post("/api/videos",{filters:{type:t.insightVideoType,animal:_.get(t,"$props.id",null)}}).then((function(s){var a=_.get(s,"data.data",[]);_.isArray(a)&&!_.isEmpty(a)&&(t.$set(t,"insightVideo",a[0]),e.insightVideoFound=!0),console.log("INSIGHT VIDEO HERE:"),console.log(t.insightVideo)}))},getAnimalVideo(){var e=this,t=this;t.$axios.post("/api/videos",{filters:{type:t.animalVideoType,animal:_.get(t,"$props.id",null)}}).then((function(s){var a=_.get(s,"data.data",[]);_.isArray(a)&&!_.isEmpty(a)&&(t.$set(t,"animalVideo",a[0]),e.animalVideoFound=!0),console.log("INSIGHT VIDEO HERE:"),console.log(t.animalVideo)}))},getAfritagPhoto(){var e=this;this.loadingAfritag=!0;var t=this;t.$axios.post("/api/photos/search",{filters:{animal:_.get(t,"$props.id",null)}}).then((function(s){var a=_.get(s,"data.data",[]);_.isArray(a)&&!_.isEmpty(a)&&(t.$set(t,"afritagRecentPhoto",a[0]),e.afritagPhotoFound=!0),console.log("AFRITAG PHOTO HERE:"),console.log(t.afritagRecentPhoto)})).catch((function(e){t.$log("FEATURED PHOTO ERROR",e)})).finally((function(){console.log("Latest Afritag Fetched"),e.loadingAfritag=!1}))},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0},loadMoreVideos(e,t){var s=this;if(e>s.lastPage)return t(),void(s.allVideosAreLoaded=!0);s.loadingVideos=!0,s.$axios.post("/api/videos",{filters:{type:this.videoTypes,animal:this.$props.id},page:e||1,per_page:s.dbPageSize(),paginate:1}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.videos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){s.loadingVideos=!1,t()}))}
1,loadMorePhotos(e,t){var s=this;if(e>s.lastPhotoPage)return t(),void(s.allPhotosAreLoaded=!0);s.fetchPhotos({page:e,per_page:s.dbPageSize(),filters:{animal:s.$props.id,isAfritag:!0}}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.photos.push(e)})),s.lastPhotoPage=_.get(e,"data.meta.pagination.total_pages",1)})).finally((function(){t()}))},showPremiumVideo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!this.getIsSubscriber)return this.upgradeAction={name:"premium"},this.upgradeCTA="Register Now",this.upgradeMessage="Highlight videos are always free, but our premium content (Picks, Insights & Rare Sightings) are only for our registered users.",void(this.showUpgradePrompt=!0);_.isNil(_.get(e,"storage_reference",null))||(this.currentPremiumVideo=e,this.showPremiumVideoModal=!0)},videoIsHighlight(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"highlight")},videoIsInsight(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"insight")},videoIsPick(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"pick")},videoIsRareSighting(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"rare")},fetchAnimal(e){var t=this;t.$data.loadingAnimal=!0,console.log("CHECKING FOR STORE ANIMAL ARRAY NOW"),console.log(this.storeAnimals),t.animalIndex=t.showAnimals?t.storeAnimals.findIndex((function(e){return e.id==t.$props.id})):t.storeBirds.findIndex((function(e){return e.id==t.$props.id})),console.log("CHECKING FOR ANIMAL ID INDEX"),console.log(t.animalIndex),t.animal=t.showAnimals?t.storeAnimals[t.animalIndex]:t.storeBirds[t.animalIndex],console.log("LOOKING FOR ANIMAL DATA"),console.log(t.animal)}}),mixins:[hi,mi],mounted(){var e=this;e.fetchAnimal(e.$props.id),e.getHighlightVideo(),e.getSecondHighlightVideo(),e.getInsightVideo(),e.getAfritagPhoto(),e.getAnimalVideo(),e.perRow=e.sensibleRowsPerPage(3,"highlightsPerRow")},created(){window.addEventListener("scroll",this.handleScroll)},destroyed(){window.removeEventListener("scroll",this.handleScroll)},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)},videoTypes(){var e=this;this.$nextTick((function(){e.videos=[],e.$refs.videoScroller.reset(),e.$refs.videoScroller.trigger()}))}},props:{id:{default:"",required:!0,type:String}}},pm=mm,gm=Object(Ee["a"])(pm,Ph,Ih,!1,null,null,null),vm=gm.exports;ze()(gm,"components",{QPage:Ci["a"],QBtn:De["a"],QChip:Ll["a"],QAvatar:Ol["a"],QImg:yi["a"],QSpinnerDots:mo["a"],QCard:Ne["a"],QCardSection:Oe["a"],QDialog:Re["a"]});var fm=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",[a("q-page",{class:[t.appPadding]},[t.getIsSubscriber?t._e():a("ad-leaderboard"),a("div",{staticClass:"row justify-center",class:t.getIsSubscriber?"q-my-xl":"q-mb-xl"},[a("div",{staticClass:"app-width col-12"},[a("page-title",{attrs:{title:"Live Streams"}}),a("p",[t._v("\n          Select one of our livestreams and see what you can find\n        ")]),a("div",{staticClass:"row q-mb-sm"},[a("div",{staticClass:"text-right col-xs-12 text-smaller text-grey-5"},[t._v("\n            Streams Per Row\n            "),a("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:t.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:t.perRow,callback:function(e){t.perRow=e},expression:"perRow"}})],1)]),a("div",{staticClass:"row q-col-gutter-sm q-mt-sm"},[t._l(t.finalStreams,(function(e,s){return[t.injectAdvert(s)&&!t.getIsSubscriber?a("div",{staticClass:"col-xs-12 q-py-md text-center"},[t.adsOn?a("ad-horizontal-long",{attrs:{"slot-size":t.slotSize}}):t._e(),a("q-resize-observer",{attrs:{debounce:"250"},on:{resize:t.adSlotResize}})],1):t._e(),a("div",{class:t.columnClasses},[a("div",{staticClass:"cursor-pointer",class:e.subscriber_only&&!t.getIsSubscriber?"stream-preview-overlay":"",on:{click:function(s){return t.goToStream(e)}}},[a("stream-preview",{attrs:{"card-classes":"bg-transparent",ratio:16/9,"show-preview":!1,stream:e,refresh:t.getIsSubscriber?160:0,basic:"",overlay:""},on:{click:function(s){return t.goToStream(e)}}}),e.subscriber_only&&!t.getIsSubscriber?a("div",{staticClass:"stream-preview-caption"},[t._v("\n                  PREMIUM ONLY\n                ")]):t._e()],1)])]}))],2),a("div",{staticClass:"q-mt-md q-mr-sm"},[a("q-card",[a("q-card-section",[a("p",{staticClass:"text-weight-bold text-h6 q-mt-sm"},[t._v("\n                CAMERA STATUS UPDATES\n              ")]),t.checkStreamsStatus?t._e():a("div",{staticClass:"text-subtitle2"},[t._v("\n                No issues currently\n              ")]),t._l(t.offlineStreams,(function(e,s){return e.status_update?[a("div",[a("q-badge",{staticClass:"text-h7 text-uppercase",attrs:{color:"brand-orange","text-color":"white"},domProps:{textContent:t._s(e.name)}}),a("span",{staticClass:"q-my-none"},[t._v(" : ")]),a("span",{staticClass:"text-subtitle1"},[t._v("\n                    "+t._s(e.status_update)+"\n                  ")])],1)]:t._e()}))],2)],1)],1),t.getIsSubscriber?t._e():a("div",{staticClass:"q-my-xl"},[t.adsOn?a("ad-horizontal-long",{attrs:{"slot-size":t.slotSize}}):a("kids-course-horizontal-long",{attrs:{"slot-size":t.slotSize}})],1)],1)]),a("upgrade-prompt",{attrs:{action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}})],1),a("site-footer")],1)},bm=[],wm=Object(ce["a"])("content"),ym=wm.mapGetters,xm=Object(ce["a"])("user"),qm=xm.mapActions,_m=xm.mapGetters,Sm={name:"LiveStreamsPage",computed:ne()(ne()(ne()({},ym(["streams"])),_m(["getAuthenticated","getIsSubscriber"])),{},{columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},currentStreams(){return this.streams.filter((function(e){return e.active}))},offlineStreams(){return this.streams.filter((function(e){return!e.active}))},statusStreams(){return this.streams.filter((function(e){return e.status_update}))}
1,weightedStreams(){return this.currentStreams.sort((function(e,t){return e.weight-t.weight}))},finalStreams(){return this.weightedStreams.filter((function(e){return!e.status_update}))},checkStreamsStatus(){return this.statusStreams.length>0}}),data(){return{perRow:3,refresh:30,slotSize:0,adsOn:!1,upgradeAction:{},upgradeCTA:"",upgradeMessage:"",showUpgradePrompt:!1}},methods:ne()(ne()({},qm(["fetchUser"])),{},{adSlotResize(e){this.slotSize=e.width},goToStream(e){if(!_.isNil(e))return e.subscriber_only?this.getIsSubscriber?void le["a"].$emit("routeTo",{name:"stream",params:{slug:`${e.slug}`}}):(this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="This Live stream is only available on Africam Premium. Subscribe now and enjoy ads free live streams and subscriber exclusive content, and help promote wildlife conservation.",void(this.showUpgradePrompt=!0)):void le["a"].$emit("routeTo",{name:"stream",params:{slug:`${e.slug}`}})},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%this.perRow===0}}),mixins:[hi,mi],mounted(){this.perRow=this.sensibleRowsPerPage(3,"streamsViewPerRow"),this.fetchUser()},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("streamsViewPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("streamsViewPerRow"))&&void 0!==t?t:3)}}},Cm=Sm,Am=(s("70dd"),Object(Ee["a"])(Cm,fm,bm,!1,null,null,null)),km=Am.exports;ze()(Am,"components",{QPage:Ci["a"],QBtnToggle:So["a"],QResizeObserver:ho["a"],QCard:Ne["a"],QCardSection:Oe["a"],QBadge:Ir["a"]});var Tm=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.adsOn?s("ad-leaderboard"):e._e(),s("div",{staticClass:"row justify-center",class:(e.getIsSubscriber,"q-my-xl")},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"row",class:(e.getIsSubscriber,"premium-player-new q-pl-md")},[s("div",{staticClass:"col-12",style:e.playerWidth},[s("div",{staticClass:"text-h6",domProps:{textContent:e._s(e.destinationStreamLabel)}}),s("div",{staticClass:"text-subtitle2 q-pb-xs",domProps:{textContent:e._s(e.destinationContent)}}),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-xs-12":"col-xs-6"},[e.getCurrentDestinationLoading?e._e():s("div",{staticClass:"full-height text-caption q-pb-sm q-mr-sm text-grey-6"},[s("span",{domProps:{textContent:e._s(e.latitude)}}),e._v("  \n                    "),s("span",{domProps:{textContent:e._s(e.longitude)}})])]),s("div",{class:e.$q.screen.width<1e3?"col-xs-12":"col-xs-6 relative-position"},[s("div",{class:e.$q.screen.width<1e3?"text-left q-mb-xs":"text-right absolute-bottom-right q-mb-xs"},[s("q-btn",{staticClass:"q-mr-sm",attrs:{color:"brand-orange",icon:"fas fa-th",label:this.$q.screen.width>767?"Streams":"",ripple:"",size:"sm"},on:{click:function(t){e.showStreamPicker=!0}}},[s("q-tooltip",{ref:"snapshot-trigger",attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Preview and select a stream.\n                      ")])],1),s("q-btn",{staticClass:"q-mr-sm",attrs:{color:"brand-orange",icon:"fas fa-tag",label:this.$q.screen.width>767?"SafariSnap":"",ripple:"",size:"sm"},on:{click:e.takeAfritag}},[e.getIsSubscriber?s("q-tooltip",{ref:"snapshot-trigger",attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Tag an animal and score points.\n                      ")]):e._e()],1),s("q-btn",{staticClass:"q-mr-sm",attrs:{color:"brand-orange",icon:"fas fa-camera",label:this.$q.screen.width>767?"Photo":"",ripple:"",size:"sm"},on:{click:e.takeSnapshot}},[e.getIsSubscriber?s("q-tooltip",{attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Save the moment. Take a photo.\n                      ")]):e._e()],1)],1)])])]),s("div",{staticClass:"col-auto",staticStyle:{width:"350px"}})]),s("div",{staticClass:"row q-col-gutter-x-md q-mb-md",class:(e.getIsSubscriber,"premium-player
1-new")},[s("div",{staticClass:"col-12",style:e.playerWidth},[s("q-responsive",{staticClass:"rounded-borders relative-position",class:(e.getIsSubscriber,"premium-player-new"),attrs:{ratio:16/9}},[e.stream&&e.videoSource?s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:"",previewImageSize:"hqdefault",src:e.videoSource}}):s("div",{staticClass:"text-left"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("Loading Stream\n                  ")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.onVideoResize}})],1),s("div",{staticClass:"row q-pt-sm"},[s("div",{staticClass:"col-4"},[s("local-time")],1),s("div",{staticClass:"col-4 text-center"},[s("q-btn",{staticClass:"text-black link-underline text-caption",attrs:{flat:"","no-caps":"",label:"About Video"},on:{click:e.launchAboutVideo}})],1),e.fetchingWeatherData?e._e():s("div",{staticClass:"col-4 text-right"},[s("span",{staticClass:"q-pr-sm",domProps:{textContent:e._s(e.weatherTempRounded)}}),s("q-icon",{attrs:{name:e.findWeatherIcon,color:"grey-5"}})],1)])],1),e.adsOn&&this.$q.screen.width>1024?s("div",{staticClass:"col-auto",staticStyle:{width:"350px"}},[s("div",[s("div",{staticClass:"q-ml-md q-mb-md"},[s("ad300x250",{attrs:{refresh:0}})],1),e.$q.screen.width>1360?s("div",{staticClass:"q-ml-md q-mb-md"},[s("ad300x250",{attrs:{refresh:0}})],1):e._e(),e.$q.screen.width>1860?s("div",{staticClass:"q-ml-md q-mb-md"},[s("ad300x250",{attrs:{refresh:0}})],1):e._e(),e.$q.screen.width>2350?s("div",{staticClass:"q-ml-md q-mb-md"},[s("ad300x250",{attrs:{refresh:0}})],1):e._e()])]):e._e()]),e.adsOn?s("ad-horizontal-long",{attrs:{"slot-size":e.$q.screen.width}}):e._e(),s("q-toggle",{attrs:{color:"brand-orange",label:"Open Quick Streams"},model:{value:e.showStreams,callback:function(t){e.showStreams=t},expression:"showStreams"}}),e.showStreams?s("div",{staticClass:"row q-mt-xs"},e._l(e.previewStreams,(function(t,a){return s("div",{key:a,staticClass:"cursor-pointer col-2",class:[e.previewSize],on:{click:function(s){return e.switchStream(t)}}},[s("stream-preview",{attrs:{"hide-label":!1,ratio:e.previewRatio,refresh:(e.getIsSubscriber,0),"show-preview":!1,stream:t,basic:"",overlay:"",transition:"fade"}})],1)})),0):e._e(),s("div",{staticClass:"q-my-lg"},[s("kids-course-horizontal-long",{attrs:{"slot-size":e.slotSize}})],1),s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-sm-6 q-pa-sm"},[s("recent-tags",{key:e.recentTagKey,attrs:{stream:e.stream}})],1),s("div",{staticClass:"col-xs-12 col-sm-6 q-pa-sm"},[s("animals-tagged",{key:e.animalsTaggedKey,attrs:{stream:e.stream,isPage:!1}})],1)]),e.featuredDestinationVideo||e.lodgeDestinationVideo||e.insightDestinationVideo||e.destinationPromoVideo?s("div",{staticClass:"row"},[e.featuredDestinationVideo?s("div",{staticClass:"col-xs-12 col-sm-6 q-pa-sm"},[e.featuredDestinationVideo?s("featured-video",{attrs:{video:e.featuredDestinationVideo,type:"highlight",linkText:"Latest Sightings"}}):e._e()],1):e._e(),e.lodgeDestinationVideo?s("div",{staticClass:"col-xs-12 col-sm-6 q-pa-sm"},[s("featured-video",{attrs:{video:e.insightDestinationVideo,type:"insight",linkText:"Ranger Insights",heading:"RANGER INSIGHT"}})],1):e._e(),e.insightDestinationVideo?s("div",{staticClass:"col-xs-12 col-sm-6 q-pa-sm"},[s("featured-video",{attrs:{video:e.destinationPromoVideo,type:"destination",linkText:"Location Videos",heading:"THE LOCATION"}})],1):e._e(),e.destinationPromoVideo?s("div",{staticClass:"col-xs-12 col-sm-6 q-pa-sm"},[s("featured-video",{attrs:{video:e.lodgeDestinationVideo,type:"lodge",linkText:"Lodge Videos",heading:"THE LODGE"}})],1):e._e()]):e._e(),s("div",{staticClass:"q-mb-lg q-mt-xl"},[s("page-heading",{attrs:{heading:"Community Photos",subheading:"Click on the image to view a larger version."}})],1),s("div",{staticClass:"row q-col-gutter-md"},[s("div",{staticClass:"col-12",style:e.getIsSubscriber||e.$q.screen.width<768?"":"width: 100%"},[s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}}),s("q-infinite-scroll",{ref:"snapshotScroller",staticClass:"row q-col-gutter-lg",attrs:{offset:2e3},on:{load:e.loadMoreSnapshots},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("Loading photos")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}])},[e._l(e.currentSnapshots,(function(t,a){return[e.adBreak(a)?s("div",{key:"snapshot-"+a,staticClass:"col-xs-12 q-py-md text-center"},[e.adsOn?s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}}
1):e._e()],1):e._e(),s("q-intersection",{key:"snapshot-intersection-"+a,staticClass:"col-lg-4 col-sm-6 col-xs-12 cursor-pointer",attrs:{once:"",margin:"-50px 0px",transition:"scale"}},[s("photo-preview",{attrs:{ratio:16/9,photo:t}})],1)]})),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.onCommunityPhotosResize}})],2),s("div",{staticClass:"row"},[e.allSnapshotsAreLoaded?s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("\n                      All Photos have been loaded.")])])]):e._e()])],1),!e.getIsSubscriber&&e.$q.screen.width>767?s("div",{staticClass:"col-auto",staticStyle:{width:"300px"}},e._l(e.communityStreamAdCount,(function(e,t){return s("div",{key:t,staticClass:"q-mb-lg"})})),0):e._e()])],1)])],1),s("stream-picker",{attrs:{"show-picker":e.showStreamPicker,"show-preview":!0},on:{hiding:e.streamPickerHiding,"stream-selected":e.switchStream}}),s("snapshot",{attrs:{"open-snapshot":e.showSnapShot,stream
1:e.stream,"is-game":e.gameStatus},on:{hide:e.hideSnapshot,saved:e.resetSnapshots,edit:e.doOpenEditDialog}}),s("edit-snapshot-dialog",{attrs:{open:e.openEditDialog,photo:e.editPhotoData,stream:e.stream,isGame:e.gameStatus},on:{"update:open":function(t){e.openEditDialog=t},"update:photo":function(t){e.editPhotoData=t},hide:e.hideEditDialog}}),s("site-footer"),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.aboutVideo=!1}},model:{value:e.aboutVideo,callback:function(t){e.aboutVideo=t},expression:"aboutVideo"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:e.autoplay,previewImageSize:"maxresdefault",src:"https://www.youtube.com/embed/"+e.aboutVideoSource+"?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"}})],1)],1)],1),s("q-dialog",{on:{hide:function(t){e.reportingIncident=!1}},model:{value:e.reportingIncident,callback:function(t){e.reportingIncident=t},expression:"reportingIncident"}},[s("q-card",{staticClass:"bg-black"},[e._v("    >\n                "),s("q-card-section",[s("div",{staticClass:"text-center text-white"},[s("div",{staticClass:"q-pb-md"},[s("div",{staticClass:"float-left"},[s("q-img",{attrs:{"no-default-spinner":"",width:"120px",src:"images/wildlife-watch-logo.jpg"}})],1),s("div",{staticClass:"float-right"},[s("q-img",{attrs:{"no-default-spinner":"",width:"120px",src:"images/samsung-africam-logo-new.jpg"}})],1)]),s("p",{staticClass:"q-pt-lg text-bold text-h4"},[e._v(" REPORT YOUR WATCH ")]),s("div",{staticClass:"text-subtitle"},[e._v("\n                    Tell us if you have seen something that’s caught your attention, like any incident from poaching activity to injured animals.\n                  ")]),s("div",{staticClass:"q-pt-md text-h6"},[s("span",[e._v("Location:\n                  "),s("span",{domProps:{textContent:e._s(e.destinationStreamLabel)}})])])])])],1)],1)],1)},Pm=[],Im=(s("498a"),s("26e9"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.snapshot?s("q-dialog",{attrs:{"no-backdrop-dismiss":"","transition-hide":"scale","transition-show":"scale"},on:{hide:e.closeSnapshot},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[s("q-card",{staticClass:"q-pl-md q-pr-md",style:e.imageWidth},[s("q-bar",{ref:"updateSnapshotBar",staticStyle:{height:"40px"},attrs:{dark:"",title:"Foo"}},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm white",attrs:{name:"fas fa-times",size:"sm"}})],1),e.snapshot.updated_by_owner?s("q-banner",{staticClass:"bg-primary text-white",scopedSlots:e._u([{key:"action",fn:function(){return[s("q-btn",{attrs:{flat:"",color:"white",label:"Dismiss"}})]},proxy:!0}],null,!1,3327331975)},[e._v("\n      You have already updated this snapshot\n      ")]):e._e(),s("div",{staticClass:"row w-100 flex-center text-caption"},[s("p",[e._v("\n        Please note you can only edit your SafariSnap "),s("strong",[e._v("ONCE")])])]),s("q-card-section",{staticClass:"q-pl-xl q-pr-xl"},[s("q-card",[s("q-card-section",{},[e.animalLabel?s("div",{class:e.$q.screen.width<500?"row q-pa-none":"row q-pl-lg q-pr-lg"},[s("div",{staticClass:"col-6"},[s("span",{staticClass:"text-bold text-uppercase ellipsis",domProps:{textContent:e._s(e.animalLabel)}}),e.animalSpecies?s("div",{staticClass:"text-caption text-grey-7 text-bold text-uppercase ellipsis"},[s("span",{domProps:{textContent:e._s(e.animalSpecies)}})]):e._e()]),s("div",{staticClass:"col-6 text-h5 ellipsis text-right"},[s("q-icon",{staticClass:"filter-brand-orange",attrs:{size:"xl",name:e.animalIconName}})],1)]):e._e(),s("div",{staticClass:"q-pl-lg q-pr-lg q-pt-md"},[s("q-img",{ref:"snapshot",attrs:{transition:"scale",src:e.snapshot.storage_reference,ratio:16/9},on:{load:e.snapShotLoaded},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-radio",{staticStyle:{opacity:"0.5"},attrs:{color:"green-2",size:"2em"}})]},proxy:!0}],null,!1,1244782936)})],1)])],1)],1),s("q-card-section",[e.editingAnimal?e._e():s("div",{staticClass:"row q-pb-lg",attrs:{align:"center"}},[s("div",{staticClass:"col-6"},[e.editingAnimal?e._e():s("q-btn",{staticStyle:{width:"90%"},attrs:{color:"brand-orange","icon-right":"fa fa-pen",label:"EDIT SAFARISNAP",disable:e.snapshot.owner_has_updated&&!e.getIsZoomie},on:{click:function(t){e.editingAnimal=!0}}})],1),s("div",{staticClass:"col-6"},[e.editingAnimal?e._e():s("q-btn",{staticStyle:{width:"90%"},attrs:{color:"brand-orange",label:"DELETE SAFARISNAP","icon-right":"fa fa-tras
1h"},on:{click:e.doDelete}})],1)]),s("div",{staticClass:"row"},[e.editingAnimal?s("div",{staticClass:"flex col-12 justify-end"},[s("q-radio",{attrs:{color:"brand-orange",val:"animal",label:"Animal"},on:{input:e.resetSelection},model:{value:e.animalOrBirdSelected,callback:function(t){e.animalOrBirdSelected=t},expression:"animalOrBirdSelected"}}),s("q-radio",{attrs:{color:"brand-orange",val:"bird",label:"Bird"},on:{input:e.resetSelection},model:{value:e.animalOrBirdSelected,callback:function(t){e.animalOrBirdSelected=t},expression:"animalOrBirdSelected"}})],1):e._e()]),s("div",{staticClass:"row",attrs:{align:"center"}},[s("div",{staticClass:"col-6"},[e.editingAnimal?s("q-btn",{staticStyle:{width:"100%"},attrs:{color:"brand-orange","icon-right":"fa fa-pen",label:"SAVE SAFARISNAP",disable:e.snapshot.owner_has_updated&&!e.getIsZoomie},on:{click:e.doUpdate}}):e._e()],1),s("div",{staticClass:"col-6 q-pl-md"},["animal"===e.animalOrBirdSelected?[e.shouldShowAnimalEdit&&e.editingAnimal||e.editingAnimal&&e.getIsZoomie?s("q-select",{ref:"editSnapshotAnimalSelect",attrs:{color:"brand-orange",dense:e.dense,behavior:"menu",filled:"","use-chips":"","use-input":"",size:"md",label:"Select new animal","input-debounce":"150",options:e.animalFilterOptions,"option-value":"id","option-label":"name",rules:[e.notSameAnimal]},on:{filter:e.animalFilterFn,"filter-abort":e.abortFilterFn},scopedSlots:e._u([{key:"no-option",fn:function(){return[s("q-item",[s("q-item-section",{staticClass:"text-grey"},[e._v("\n                    No results\n                  ")])],1)]},proxy:!0}],null,!1,3002894991),model:{value:e.animalSelection,callback:function(t){e.animalSelection=t},expression:"animalSelection"}}):e._e()]:[e.shouldShowAnimalEdit&&e.editingAnimal||e.editingAnimal&&e.getIsZoomie?s("q-select",{ref:"editSnapshotAnimalSelect",attrs:{color:"brand-orange",dense:e.dense,behavior:"menu",filled:"","use-chips":"","use-input":"",size:"md",label:"Select new bird","input-debounce":"150",options:e.birdFilterOptions,"option-value":"id","option-label":"name",rules:[e.notSameAnimal]},on:{filter:e.birdFilterFn,"filter-abort":e.abortFilterFn},scopedSlots:e._u([{key:"no-option",fn:function(){return[s("q-item",[s("q-item-section",{staticClass:"text-grey"},[e._v("\n                    No results\n                  ")])],1)]},proxy:!0}],null,!1,3002894991),model:{value:e.birdSelection,callback:function(t){e.birdSelection=t},expression:"birdSelection"}}):e._e()]],2)])])],1),s("q-dialog",{model:{value:e.confirm,callback:function(t){e.confirm=t},expression:"confirm"}},[s("q-card",[s("q-bar",{ref:"updateSnapshotBar",staticClass:"bg-brand-orange text-white",staticStyle:{height:"40px"},attrs:{dark:"",title:"Foo"}},[s("div",{staticClass:"col text-center text-weight-bold"},[e._v("Confirmation")]),s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm white",attrs:{name:"fas fa-times",size:"sm"}})],1),s("q-card-section",{staticClass:"row items-center"},[s("span",{staticClass:"q-ml-sm",domProps:{textContent:e._s(e.confirmText)}})]),s("q-card-actions",{staticClass:"justify-between"},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"text-grey-6",attrs:{label:"Cancel",flat:""}}),s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{label:e.confirmLabel,color:"brand-orange"},on:{click:e.onConfirmed}})],1)],1)],1)],1):e._e()}),$m=[],Em=s("79e3"),Rm=s.n(Em),Nm=Object(ce["a"])("user"),Om=Nm.mapGetters,Lm=Object(ce["a"])("animals"),Dm=Lm.mapGetters,Vm=Object(ce["a"])("photos"),zm=(Vm.mapGetters,Vm.mapActions),Mm={name:"SnapshotEditDialog",computed:ne()(ne()(ne()({},Om(["getAuthenticated","getIsSubscriber","getUser","getIsZoomie"])),Dm(["animals","birds"])),{},{shouldOpen(){return this.open},ratingModel(){return _.get(this,"snapshot.animal.rarity_value",0)/10},afritagPoints(){return _.get(this,"snapshot.animal.rarity_value",0)},animalCount(){return _.get(this,"snapshot.animalCount",0)},confirmText(){return!0===this.isUpdateAction?"Are you sure you like to update this SafriSnap, you cannot perform this action again":"Are you sure you like to delete this SafriSnap?"},confirmLabel(){return!0===this.isUpdateAction?"SAVE":"DELETE"},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}},animalIconName(){return this.photo?this.$data.isNotInDatabase?"fa fa-question":`${this.animalAvatarPath(this.photo.animal.name.replace(/\s+/g,"-").toLowerCase())}`:""},shouldShowSafariSnapCTA(){var e=this;return e.isGame?e.getAuthenticated&&e.getIsSubscriber:e.getAuthenticated},shouldShowAnimalEdit(){var e=this;return!1===e.snapshot.owner_has_updated},currentUser(){return this.getUser},imageWidth(){return this.$q.screen.width>700?{minWidth:"50%"}:{minWidth:"90%"}},animalLabel(){var e,t,s,a;return _.isNil(null===(e=this.snapshot)||void 0===e?void 0:e.animal)?"":null!==(t=null===(s=this.snapshot)||void 0===s||null===(a=s.animal)||void 0===a?void 0:a.name)&&void 0!==t?t:""},animalSpecies(){var e,t,s;return null!==(e=null===(t=this.snapshot)||void 0===t||null===(s=t.animal)||void 0===s?void 0:s.scientific_name)&&void 0!==e?e:""},cardSize(){return this.$q.screen.width,{width:"100%",maxWidth:"63em"}},currentImage(){return this.photo&&this.photo.storage_reference?this.photo.storage_reference:""},saveBtnLabel(){return this.snapShotSaving?"Updating Snapshot":"Update Snapshot"},uploadProgress(){return this.progress/100},uploadProgressLabel(){return this.requestingUploadLink?"STARTING UPLOAD":Math.round(this.progress)+"%"},newSpecieModeButtonLabel(){return this.newSpecieMode?"Animal List":"Animal Not Here"},newSpecieModeButtonIcon(){return this.newSpecieMode?"fa fa-paw":"fa fa-question"},storeAnimals(){return this.animals},dropDownAnimals(){return this.animals},storeBirds(){return this.birds},dropDownBirds(){return this.birds},openDialog(){return!0===this.$props.open}}),data(){return{isDeleteAction:!1,serverValidation:{animal_id:""},isUpdateAction:!1,confirm:!1,adWidth:90,dropzone:null,editingAnimal:!1,progress:10,requestingUploadLink:!1,requestingSnapshots:!1,s3Path:"",saved:!1,savingToServer:!1,openEditDialog:!1,currentSnapshotIndex:0,snapshot:this.photo,snapShotSaving:!1,snapShotTitle:"",snapShotLoading:!1,snapshotURL:null,animalOptions:null,birdOptions:null,animalFilterOptions:null,birdFilterOptions:null,animalSelection:null,birdSelection:null,snapshotSaved:!1,newSpecieMode:!1,dense:!0,denseOpts:!1,animalOrBirdSelected:"animal"}},destroyed(){this.$emit("hide",!0),this.resetSnapshot(),this.$log("SNAPSHOT DESTORYED")},methods:ne()(ne()({},zm(["clearPhotos","fetchPhotos"])),{},{onConfirmed(){var e=this;e.isUpdateAction?e.updateServer():e.isDeleteAction&&e.deletePhoto()},doUpdate(){var e=this;!0===e.$refs.editSnapshotAnimalSelect.validate()?(e.isUpdateAction=!0,e.isDeleteAction=!1,e.confirm=!0):e.$q.notify({message:"Please correct errors before submitting update."})},doDelete(){var e=this;e.isUpdateAction=!1,e.isDeleteAction=!0,e.confirm=!0,e.clearPhotos()},notSameAnimal(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this;return t.snapshot.animal.name===(null===e||void 0===e?void 0:e.name)?"Animal cannot be the same as the one you already selected":!_.isNil(e)||"Please select an animal before updating"},closeSnapshot(){this.$emit("hide",!0),this.resetSnapshot(),this.$log("SNAPSHOT EDIT CLOSED")},getImageAsBlob(e){return new Promise((function(t){var s=document.createElement("canvas");s.width=e.width,s.height=e.height;var a=s.getContext("2d");a.drawImage(e,0,0),s.toBlob(t,"image/jpeg",1)}))},onResize(e){this.$log("POPUP SLOT SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))},resetSnapshot(){this.progress=10,this.s3Path="",this.saved=!1,this.snapShotSaving=!1,this.editingAnimal=!1,this.snapShotTitle="",this.snapshotURL="",this.animalSelection=null,this.birdSelection=null,this.snapshotSaved=!1,this.isNewSpecie=!1,this.isNotInDatabase=!1,this.newSpecieMode=!1},snapShotLoaded(){this.snapShotLoading=!1},checkIfSnapshotOnly(){this.isGame||this.closeSnapshot()},updateServer(){var e,t=this,s=this;s.savingToServer=!0;var a=null!==(e=_.get(s,"animalSelection",""))&&void 0!==e?e:_.get(s,"birdSelection","");s.$axios.post("/api/photo",{id:_.get(s,"snapshot.id",-1),animal:a}).then((function(e){var s=t;if(s.$log("SNAPSHOT UPDATED TO SERVER ",e),"error"==e.status)throw e.error;s.setServerErrorMessages(),s.$emit("updatedSnapshot",_.get(e,"data.data")),s.saved=!0,s.$q.notify({message:"Successfully updated your Safarisnap.",type:"success"}),le["a"].$emit("hideSnapshotDialogs",!0),s.snapshot=_.get(e,"data.data.photo"),s.snapshot.animalCount=_.get(e,"data.data.animalCount"),s.checkIfSnapshotOnly()})).catch((function(e){s.setServerErrorMessages(e),s.$log("SNAPSHOT SAVE TO SERVER FAILED",e)})).finally((function(){s.savingToServer=!1}))},deletePhoto(){var e=this,t=this;t.savingToServer=!0,t.$axios.post("/api/photo/delete",{id:_.get(t,"snapshot.id",-1)}).then((function(s){s.success&&t.$log("SNAPSHOT DELETE REQUEST SENT TO SERVER ",s),e.$emit("deleted",t.$props.index),t.saved=!0,le["a"].$emit("hideSnapshotDialogs",{deleted:!0,index:t.$props.index}),t.checkIfSnapshotOnly()})).catch((function(e){t.$log("SNAPSHOT SAVE TO SERVER FAILED",e);var s=_.get(response,"data.errors",[]);_.each(s,(function(e,s){e=_.isArray(e)?_.join(e,", "):e,_.has(t,"serverValidation."+s)&&_.set(t,"serverValidation."+s,e)}))})).finally((function(){t.savingToServer=!1}))},animalFilterFn(e,t,s){var a=this,i=this;i.$log(this.animalOptions),null===this.dropDownAnimals||t((function(){if(""===e)a.animalFilterOptions=a.dropDownAnimals;else{var t=e.toLowerCase();a.animalFilterOptions=a.dropDownAnimals.filter((function(e){return e.name.toLowerCase().indexOf(t)>-1}))}}))},birdFilterFn(e,t,s){var a=this,i=this;i.$log(this.birdOptions),null===this.dropDownBirds||t((function(){if(""===e)a.birdFilterOptions=a.dropDownBirds;else{var t=e.toLowerCase();a.birdFilterOptions=a.dropDownBirds.filter((function(e){return e.name.toLowerCase().indexOf(t)>-1}))}}))},abortFilterFn(){},resetSelection(e,t){"animal"===this.animalOrBirdSelected?this.birdSelection=null:this.animalSelection=null}}),mixins:[hi,Po],mounted(){},props:{photo:{type:Object,default(){return{}}},open:{type:Boolean,default:!1},index:{type:Number,default:0},isGame:Boolean,stream:{type:Object,default(){return{}}}},watch:{open(e){},photo(e,t){var s=this;s.snapshot=e}}},jm=Mm,Qm=(s("7406"),s("d847")),Um=s("54e1"),Fm=s("9569"),Bm=Object(Ee["a"])(jm,Im,$m,!1,null,null,null),Hm=Bm.exports;ze()(Bm,"components",{QDialog:Re["a"],QCard:Ne["a"],QBar:Qm["a"],QIcon:Ai["a"],QBanner:Um["a"],QBtn:De["a"],QCardSection:Oe["a"],QImg:yi["a"],QSpinnerRadio:Fm["a"],QChip:Ll["a"],QAvatar:Ol["a"],QRadio:xc["a"],QSelect:zr["a"],QItem:vr["a"],QItemSection:fr["a"],QCardActions:Le["a"]}),ze()(Bm,"directives",{ClosePopup:Y["a"]});var Gm=s("bc3a"),Wm=s.n(Gm),Ym=Object(ce["a"])("chat"),Km=Ym.mapGetters,Zm=Ym.mapMutations,Jm=Object(ce["a"])("destination"),Xm=Jm.mapGetters,ep=Jm.mapActions,tp=Object(ce["a"])("content"),sp=tp.mapGetters,ap=Object(ce["a"])("user"),ip=ap.mapGetters,op={name:"DestinationPage",components:{EditSnapshotDialog:Hm},computed:ne()(ne()(ne()(ne()(ne()({},sp(["streams"])),Xm(["getCurrentDestination","getCurrentDestinationLoading"])),Km(["getChatVisible"])),ip(["getAuthenticated","getIsSubscriber"])),{},{cleanSlug(){return _.replace(_.get(this,"slug",""),"-live","").toLowerCase()},weatherTemp(){var e,t;return`${null===(e=this.$data.weatherInfo)||void 0===e||null===(t=e.main)||void 0===t?void 0:t.temp}`},weatherTempRounded(){return Math.round(this.weatherTemp)+"°C"},aboutVideoSource(){var e;return null===(e=this.getCurrentDestination)||void 0===e?void 0:e.youtube_id},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}},latitude(){var e=_.get(this,"getCurrentDestination.latitude"),t=parseFloat(e).toFixed(5).replace(/0+$/,"");return console.log({coord:t}),t<0?-1*t+"° S":t+"° N"},longitude(){var e=_.get(this,"getCurrentDestination.longitude"),t=parseFloat(e).toFixed(5).replace(/0+$/,"");return t<0?-1*t+"° W, ":t+"° E, "},communityStreamAdCount(){var e=1;return this.communityPhotosHeight>0&&(e=Math.floor(this.communityPhotosHeight/270)||1),_.range(e)},currentSnapshots(){return this.snapshots},destinationStreamLabel(){return _.isNil(this.stream.name)?"Fetching Stream":this.stream.name+" Live"},destinationContent(){var e,t=null===(e=this.getCurrentDestination)||void 0===e?void 0:e.content;if(!t)return"";var s=document.createElement("div");
1return s.innerHTML=t,s.innerText.trim()},streamCode(){return _.isNil(this.stream.code)?"":this.stream.code},player(){return this.$refs.youtube.player},playerWidth(){return{width:(this.getIsSubscriber||this.$q.screen.width,"100%")}},previewRatio(){return this.$q.screen.width>1280?16/9:this.$q.screen.width<769?1.6:4/3},previewSize(){return this.$q.screen.width>768?"col":"col-xs-3"},previewStreams(){return this.streams.filter((function(e){return e.active}))},currentStreams(){return this.streams.filter((function(e){return e.active}))},stream(){var e=this;return _.first(_.get(e,"getCurrentDestination.featuredStreams",[{}]))},videoSource(){var e,t;return this.playerUrl(null!==(e=null===(t=this.stream)||void 0===t?void 0:t.youtube_id)&&void 0!==e?e:null)},findWeatherIcon(){return this.weatherIcon=this.weatherInfo.weather[0].icon,this.weatherIconIndex=this.weatherIconCodes.indexOf(this.weatherIcon),console.log(this.weatherIconIndex),this.weatherIconFinal="fa fa-"+this.weatherIconNames[this.weatherIconIndex],console.log(this.weatherIconFinal),this.weatherIconFinal},playlistSource(){return`7axyOxfEqSA,${this.stream.youtube_id}`},featuredDestinationVideo(){var e,t;return _.size(_.get(this,"getCurrentDestination.videos",[{}]))>1&&null!==(e=null===(t=this.getCurrentDestination)||void 0===t?void 0:t.videos.filter((function(e){return"highlight"==e.type})).reverse().shift())&&void 0!==e?e:{}},lodgeDestinationVideo(){var e,t;return _.size(_.get(this,"getCurrentDestination.videos",[{}]))>1&&null!==(e=null===(t=this.getCurrentDestination)||void 0===t?void 0:t.videos.filter((function(e){return"lodge"==e.type})).reverse().shift())&&void 0!==e?e:{}},insightDestinationVideo(){var e,t;return _.size(_.get(this,"getCurrentDestination.videos",[{}]))>1&&null!==(e=null===(t=this.getCurrentDestination)||void 0===t?void 0:t.videos.filter((function(e){return"insight"==e.type})).reverse().shift())&&void 0!==e?e:{}},destinationPromoVideo(){var e,t;return _.size(_.get(this,"getCurrentDestination.videos",[{}]))>1&&null!==(e=null===(t=this.getCurrentDestination)||void 0===t?void 0:t.videos.filter((function(e){return"destination"==e.type})).reverse().shift())&&void 0!==e?e:{}},secondaryDestinationVideo(){var e,t,s;return _.size(_.get(this,"getCurrentDestination.featuredVideos",[{}]))>1?this.getCurrentDestination.featuredVideos[1]:!(null===(e=this.getCurrentDestination)||void 0===e||!e.videos)&&(null!==(t=null===(s=this.getCurrentDestination)||void 0===s?void 0:s.videos.filter((function(e){return!1===e.featured})).pop())&&void 0!==t?t:{})}}),data(){return{openEditDialog:!1,editPhotoData:null,reportingIncident:!1,form:{comments:"",subject:"",browser:navigator.userAgent||"Undefined"},serverValidation:{comments:"",subject:""},submitting:!1,recentTagKey:0,showStreams:!1,animalsTaggedKey:0,allSnapshotsAreLoaded:!1,communityPhotosHeight:0,lastPage:1,refresh:120,snapshots:[],showSnapShot:!1,showStreamPicker:!1,slotSize:0,videoHeight:0,upgradeAction:{},upgradeCTA:"",upgradeMessage:"",componentKey:0,videoPaused:!1,videoRestarted:!1,showUpgradePrompt:!1,videoId:"KjwAre0Y-ac",videoadSource:"KjwAre0Y-ac",videoPromos:["rKeXVm-3ztk","pSNMXxptgBk","Go8JKwZdcX4","GG3Us2DNqbA"],nkorhoPromos:["E0DeGtNmD3E","QXg8TQdZPeU"],finalPromos:"",chosenPromo:"",randomNumber:"",isPromoEligible:!1,gameStatus:"",weatherInfo:{},fetchingWeatherData:!0,aboutVideo:!1,weatherIconIndex:"",weatherIconFinal:"",adsOn:!1,weatherIconCodes:["01d","01n","02d","02n","03d","03n","04d","04n","09d","09n","10d","10n","11d","11n","13d","13n","50d","50n"],weatherIconNames:["sun","moon","cloud-sun","cloud-moon","cloud-sun","cloud-moon","cloud-sun","cloud","cloud-showers","cloud-showers","cloud-showers-heavy","cloud-showers-heavy","cloud-bolt","cloud-bolt","snowflake","snowflake","cloud-fog","cloud-fog"]}},methods:ne()(ne()(ne()({},Zm(["setChat"])),ep(["fetchDestination","switchDestination"])),{},{doOpenEditDialog(e,t){console.log({event:e,props:t}),this.editPhotoData=e,this.openEditDialog=!0},checkRefresh(){return this.getIsSubscriber?45:120},adSlotResize(e){this.slotSize=e.width},validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;
1return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):!!_.isEmpty(e)||(!!this.isValidEmail(e)||"The format of your email is incorrect format.")},launchAboutVideo(){this.aboutVideo=!0,console.log(this.aboutVideoSource)},promoEligible(){this.randomNumber=Math.floor(100*Math.random())+1,this.randomNumber%2===0?(this.isPromoEligible=!0,console.log("Divisible by 2")):(this.isPromoEligible=!1,console.log("NOT divisible by 2")),console.log(this.randomNumber),console.log(this.isPromoEligible)},videoPicker(){if(this.isPromoEligible||this.timerExpired){this.finalPromos=["DLpISqQsibo","DN5xdFul9Fs","wiime2v32FA","nMuc7RGjVpE","VN7nLDjWgRo"],console.log(this.slug),console.log("Stream not connected to lodge"),console.log(this.finalPromos);var e=Math.floor(Math.random()*this.finalPromos.length);this.chosenPromo=this.finalPromos[e],console.log("Here are the promo variables"),console.log(e),console.log(this.chosenPromo)}else console.log("NOT PROMO ELIGIBLE"),this.chosenPromo=null},playVideo(){this.player.playVideo()},trackTextSubscribe(){this.$trackEvent({event:"clickTextSubscribeLink",interactionType:"click text subscribe link",interactionElementName:"subscribe text link"},{"Subscribe Text Link":"Clicked"})},forceRerender(){if(this.fetchingWeatherData=!0,this.getIsSubscriber)return!1;this.componentKey+=1,this.promoEligible(),this.videoPicker(),this.videoPaused=!1,console.log("Restart Stream Playlist Timer")},startTimer(){var e=this;this.getIsSubscriber?console.log("Premium Player Activated"):(this.timer=window.setInterval((function(){e.forceRerender(),e.videoPicker(),e.timerExpired=!0}),3e5),console.log("timer set"))},clearTimer(){if(this.getIsSubscriber)return!1;window.clearInterval(this.timer),console.log("Timer Cleared")},pauseVideo(){this.videoPaused=!0,console.log("you paused the video"),console.log(this.videoPaused),this.clearTimer()},playing(){this.videoPaused?(console.log("you just un paused the video"),this.startTimer(),this.videoPaused=!1):console.log("no un paused - you are playing the video for the first time")},hideSnapshot(){this.showSnapShot=!1},hideEditDialog(){this.openEditDialog=!1},updateWeatherData(){console.log("UPDATING WEATHER INFO"),this.fetchingWeatherData=!0,this.getWeatherData(),this.fetchingWeatherData=!1,console.log("UPDATING WEATHER FINISHED")},initStream(){var e=this;e.showSnapShot=!1,this.showSnapShotHint(),e.resetSnapshots(),this.setChat(_.get(this,"stream.chat","chat-general"))},loadMoreSnapshots(e,t){var s=this;if(console.log("CHECK FOR STREAM CODE"),console.log(this.streamCode),e>s.lastPage)return s.$refs.snapshotScroller.stop(),s.allSnapshotsAreLoaded=!0,void(_.isFunction(t)&&t());s.$axios.post("/api/photos/search",{page:e||1,per_page:s.dbPageSize(),filters:{stream:s.streamCode}}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.snapshots.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){console.log("THIS IS THE STREAM CODE FOR PHOTOS"),console.log(s.stream.code),t()}))},onCommunityPhotosResize(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.communityPhotosHeight=_.get(e,"height",0)},onVideoResize(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.videoHeight=_.get(e,"height",0)},resetSnapshots(){this.allSnapshotsAreLoaded=!1,this.snapshots=[],this.lastPage=1,!0===this.gameStatus&&(this.recentTagKey+=1,this.animalsTaggedKey+=1),this.$refs.snapshotScroller&&(this.$refs.snapshotScroller.reset(),this.$refs.snapshotScroller.setIndex(0),this.$refs.snapshotScroller.resume(),this.$refs.snapshotScroller.trigger())},showSnapShotHint(){var e=this;setTimeout((function(){var t;null===(t=e.$refs["snapshot-trigger"])||void 0===t||t.show(),setTimeout((function(){e.$refs["snapshot-trigger"]&&e.$refs["snapshot-trigger"].hide()}),6e3)}),4e3)},streamPickerHiding(){this.showStreamPicker=!1},clearStream(){console.log(this.getCurrentDestination.featuredStreams)},switchStream(e){var t=this;if(e.subscriber_only){if(!t.getIsSubscriber)return this.showStreamPicker=!1,this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="This Live stream is only available on Africam Premium. Subscribe now and enjoy ads free live streams and subscriber exclusive content, and help promote wildlife conservation.",void(this.showUpgradePrompt=!0);t.showStreamPicker=!1,t.clearStream(),t.forceRerender(),t.clearTimer(),t.startTimer(),t.$router.push({name:"stream",params:{slug:e.slug}})}else t.showStreamPicker=!1,t.forceRerender(),t.clearTimer(),t.startTimer(),t.$router.push({name:"stream",params:{slug:e.slug}})},takeSnapshot(){this.showSnapShot=!0,this.gameStatus=!1,console.log("GAME STATUS"),console.log(this.gameStatus)},takeAfritag(){this.showSnapShot=!0,this.gameStatus=!0,console.log("GAME STATUS"),console.log(this.gameStatus)},getWeatherData(){var e=this;this.fetchDestination({slug:this.$props.slug}).then((function(t){var s=_.get(t,"data.destination.latitude"),a=_.get(t,"data.destination.longitude"),i="f5e20593a813545a34353884624a23fa";return console.log({lat:s,lon:a}),Wm.a.get(`https://api.openweathermap.org/data/2.5/weather?lat=${s}&lon=${a}&appid=${i}&units=metric`).then((function(t){console.info({response:t}),e.$data.weatherInfo=t.data,e.fetchingWeatherData=!1}
1)).catch((function(t){e.$log("Error fetching weather information:",t.message),e.$data.weatherInfo={}})).finally((function(){})),t}))}}),mixins:[hi,mi,Po],mounted(){var e=this;le["a"].$on("hideSnapshotDialogs",(function(){e.hideEditDialog()})),e.initStream(),e.startTimer(),e.promoEligible(),e.videoPicker()},beforeDestroy(){this.clearTimer(),this.clearStream()},created(){this.getWeatherData()},props:{slug:{default:"",required:!0,takeSnapshot:!1,type:String},autoplay:{default:!0,type:Boolean,required:!1}},watch:{stream(e){this.initStream()},slug(e,t){this.switchDestination({slug:e}),console.log("SLUG UPDATE",{oldSlug:t,newSlug:e}),this.updateWeatherData()}}},rp=op,np=(s("e810"),Object(Ee["a"])(rp,Tm,Pm,!1,null,null,null)),lp=np.exports;ze()(np,"components",{QPage:Ci["a"],QBtn:De["a"],QTooltip:Lc["a"],QResponsive:Oi["a"],QSpinnerDots:mo["a"],QResizeObserver:ho["a"],QIcon:Ai["a"],QToggle:En["a"],QInfiniteScroll:uo["a"],QIntersection:kh["a"],QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QImg:yi["a"],QForm:Fo["a"],QInput:Bo["a"],QSpinnerFacebook:Ho["a"]}),ze()(np,"directives",{ClosePopup:Y["a"]});var cp=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",[s("div",{staticClass:"q-pt-xl row items-start justify-center q-gutter-md process-steps"},[s("div",{staticClass:"column items-center"},[s("q-icon",{staticClass:"marketing-orange",attrs:{name:"fas fa-check-circle",size:e.$q.screen.width<750?"sm":"md"}}),s("div",{staticClass:"text-caption marketing-orange q-mt-xs"},[e._v("Details")])],1),s("q-img",{style:e.$q.screen.width<750?"width:0px":"width:100px",attrs:{src:"/images/subscription-arrow1.png"}}),s("div",{staticClass:"column items-center"},[s("q-icon",{staticClass:"marketing-orange",attrs:{name:"fas fa-check-circle",size:e.$q.screen.width<750?"sm":"md"}}),s("div",{staticClass:"text-caption marketing-orange q-mt-xs"},[e._v("Select Package")])],1),s("q-img",{style:e.$q.screen.width<750?"width:0px":"width:100px",attrs:{src:"/images/subscription-arrow2.png"}}),e.inProcess?s("div",{staticClass:"column items-center"},[s("q-icon",{attrs:{name:"fas fa-check-circle",color:"grey-5",size:e.$q.screen.width<750?"sm":"md"}}),s("div",{staticClass:"text-caption text-grey-5 q-mt-xs"},[e._v("Payment")])],1):e._e(),e.inProcess?e._e():s("div",{staticClass:"column items-center"},[s("q-icon",{staticClass:"marketing-orange",attrs:{name:"fas fa-check-circle",size:e.$q.screen.width<750?"sm":"md"}}),s("div",{staticClass:"text-caption marketing-orange q-mt-xs"},[e._v("Payment")])],1)],1),e.inProcess?e._e():s("div",[s("div",{staticClass:"text-h6 text-center q-pt-xl"},[e._v("\n  PAYMENT COMPLETE\n")]),s("div",{staticClass:"text-h3 text-center q-pt-xl"},[s("b",[e._v("Welcome")]),e._v(" to the Africam "),s("b",{staticClass:"marketing-orange"},[e._v("community")])]),s("div",{staticClass:"text-center"},[s("div",{staticClass:"relative-position q-mb-md q-mt-xl"},[s("q-spinner-orbit",{staticStyle:{color:"#f88553"},attrs:{size:"120px"}}),s("div",{staticClass:"absolute-center text-weight-bold text-center",staticStyle:{color:"#f88553","font-size":"12px",width:"100%"}},[e._v("\n    SIGNING IN\n  ")])],1),s("p",{staticClass:"text-grey-7 q-pt-xl"},[e._v("\n                  One moment, while we create your account. You will then be redirected to the live streams page.\n                ")]),s("div",{staticClass:"text-center text-caption text-grey-6 text-italic q-mt-xs"},[e._v("\n                      If you are not redirected shortly please\n                      "),s("router-link",{staticClass:"marketing-orange",attrs:{to:{name:"home"}}},[e._v("click here")])],1)])]),e.inProcess?s("div",{class:e.$q.screen.width<800?"q-pa-xs":"q-pa-xl"},[e.inProcess?s("div",{class:e.$q.screen.width<800?"q-pr-xs q-pl-xs":""},[s("div",{staticClass:"text-h3 q-pb-md text-center"},[s("b",[e._v("Start")]),e._v(" your free trial "),s("b",{staticClass:"marketing-orange"},[e._v("NOW")])]),s("div",{staticClass:"text-center q-pb-xl"},[e._v("\n              Select Your Package\n            ")]),s("div",[s("subscription-management",{on:{success:e.SubscribedSuccessfully}}
1)],1),s("div",{staticClass:"text-center text-italic text-caption q-pt-xl q-pb-xl"},[e._v("\n        Africam partners with "),s("b",[e._v("Paddle")]),e._v(" to facilitate secure payments for your "),s("b",[e._v("Africam Premium Subscription.")]),s("br"),e._v("You can cancel any time during the free trial. You won't be charged until your "),s("b",[e._v("14-day free trial")]),e._v(" period is over.\n      ")])]):e._e()]):e._e()]),s("q-dialog",{on:{hide:e.termsPrivacyClosed},model:{value:e.showTermsPrivacy,callback:function(t){e.showTermsPrivacy=t},expression:"showTermsPrivacy"}},[s("q-card",{staticStyle:{"min-height":"80vh",width:"80vw","max-width":"1200px"}},[s("q-card-section",{staticClass:"scroll",staticStyle:{"max-height":"calc(80vh - 52px)"}},[e.showPrivacy?s("privacy-policy"):e._e(),e.showTerms?s("terms-of-service"):e._e()],1),s("q-separator"),s("q-card-actions",{staticClass:"bg-light-baise",staticStyle:{"min-height":"52px"},attrs:{align:"right"}},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{color:"brand-orange",flat:"",label:"CLOSE"}})],1)],1)],1),s("site-footer")],1)},dp=[],up=Object(ce["a"])("user"),hp=up.mapActions,mp=up.mapGetters,pp=up.mapMutations,gp={name:"RegisterPage",components:{privacyPolicy:Oo,subscriptionManagement:nd,termsOfService:jo},computed:ne()(ne()(ne()({},mp(["getHasSubscription","getIsSubscriber","getIsUser"])),hp(["logout"])),{},{isGmail(){return _.includes(this.form.email,"gmail.com")},minFormHeight(){var e=this.$q.screen.height-104||575,t=(null===this||void 0===this?void 0:this.formHeight)+80,s=e>t?e:t;return`${s}px`}}),created(){this.getIsSubscriber?(console.log("THIS IS WHERE THE STREAMS DIRECTIVE IS COMING FROM"),this.$router.push({name:"streams"})):this.getIsUser||this.$router.push({name:"details"})},data(){return{form:{email:null,password:null},isPwd:!0,isSubscribing:!1,timerId:null,inProcess:!0,hasRegisterError:!1,formHeight:575,fromStep1:!1,sendingReset:!1,serverValidation:{email:"",password:""},showPrivacy:!1,showResetPassword:!1,showTerms:!1,showTermsPrivacy:!1,step:1,validatingEmail:!1,validatingGoogle:!1}},methods:ne()(ne()(ne()({},hp(["fetchUser","serverLogin"])),pp(["setFirebaseToken"])),{},{formResize(e){this.formHeight=(null===e||void 0===e?void 0:e.height)||575},signOut(){var e=this;e.logout().then((function(t){e.$firebase.auth().signOut(),e.$log("LOGOUT:",t)}))},cancelTimer(){console.log("[TimerPage] cancelTimer — instance ID:",this._uid),null!=this.timerId?(console.log("[TimerPage] Clearing timer",this.timerId),clearTimeout(this.timerId),this.timerId=null,console.log("[TimerPage] Timer cleared successfully for",this._uid)):console.log("[TimerPage] No active timer to clear for",this._uid)},register(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s,a,i,o,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e,s.hasRegisterError=!1,e.$trackEvent({event:"login",interactionType:"Email Subscribe click",interactionElementName:"Subscribe Email Button"},{"subscribe-method":"Email"}),t.prev=3,s.validatingEmail=!0,t.next=7,Ad.a.auth().setPersistence(Ad.a.auth.Auth.Persistence.LOCAL);case 7:return a=null,i=!1,t.next=11,s.$firebaseAuth.createUserWithEmailAndPassword(s.form.email,s.form.password).catch((function(e){switch(console.log("signInWithEmailAndPassword catch:",e),s.hasRegisterError=!0,s.registerError=e.message,e.code){case"auth/email-already-in-use":i=!0,s.hasRegisterError=!1;break;case"auth/invalid-email":s.registerError="Your Email Address is invalid.",s.serverValidation.email=s.registerError;break}}));case 11:if(a=t.sent,!i){t.next=16;break}return t.next=15,s.$firebaseAuth.signInWithEmailAndPassword(s.form.email,s.form.password).catch((function(e){switch(console.log("signInWithEmailAndPassword catch:",e),s.hasRegisterError=!0,s.registerError=e.message,e.code){case"auth/user-disabled":s.registerError="Your account is currently disabled, please contact us to assist you.";break;case"auth/wrong-password":s.registerError="The password you entered does not match the one we have for you on record. <br><br> <span class=\"text-caption\"> <strong>N.B.</strong> If you forgot your password or you previously used the Google Sign in option and you would now like to use email/password verification, you will need to do a password reset using the 'I FORGOT MY PASSWORD' link below the register button to send yourself a secure reset link.</span>",s.serverValidation.password="Your password is incorrect or missing.",s.showResetPassword=!0}}));case 15:a=t.sent;case 16:if(!a||s.hasRegisterError){t.next=21;break}return r=null===(o=a)||void 0===o?void 0:o.user,s.$log("USER RETURNED:",r),t.next=21,e.setTokenAndLoginToApi(r,"validatingEmail");case 21:s.hasRegisterError&&(s.$q.notify({color:"dark-green",closeBtn:"dismiss",html:!0,message:s.registerError,textColor:"white",timeout:3e4}),s.signingUp=!1,s.validatingEmail=!1),t.next=29;break;case 24:t.prev=24,t.t0=t["catch"](3),s.$q.notify({color:"dark-green",closeBtn:"dismiss",html:!0,message:t.t0.message||"Unfortunately we had a technical issue, please try again in a few minutes or alternatively contact us for help.",textColor:"white",timeout:3e4}),s.signingUp=!1,s.validatingEmail=!1;case 29:case"end":return t.stop()}}),t,null,[[3,24]])})))()},resetPassword(){var e=this,t=this;if(!0===t.validateEmail(t.form.email)){this.sendingReset=!0;var s={url:location.protocol+"//"+location.hostname+"/auth/sign-in"};t.$firebaseAuth.sendPasswordResetEmail(t.form.email,s).then((function(){t.$q.notify({color:"dark-green",textColor:"white",message:"We have sent a reset link to your email."})})).catch((function(e){"auth/user-not-found"===e.code?t.$q.notify({color:"dark-green",textColor:"white",message:"You do not have an account with us, please register, it's FREE."}):t.$q.notify({color:"dark-green",textColor:"white",message:"We could not send you a reset link, please contact us to help."})})).finally((function(){e.sendingReset=!1}))}else t.$q.notify({color:"dark-green",textColor:"white",message:"Please enter a valid email address."})},setTokenAndLoginToApi(){var e=arguments,t=this;return F()(regeneratorRuntime.mark((function s(){var a,i,o;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:a=e.length>0&&void 0!==e[0]?e[0]:null,i=e.length>1&&void 0!==e[1]?e[1]:null,o=t,!_.isNil(a)&&_.isObject(a)&&(a?a.getIdToken().then((function(e){o.$log("GET USER TOKEN THEN"),_.isEmpty(e)||(o.$log("GOT TOKEN:",e),o.setFirebaseToken(e),o.serverLogin().then((function(e){console.log("SERVERLOGIN RESPONSE",e),o.signingUp=!1,o.validatingEmail=!1,o.fromStep1=!0,o.step=2})).finally((function(){console.log("GOING TO FETCH THE USER AND CHECK FOR SUB NOW"),t.fetchUser(),!_.isNil(i)&&_.has(o,i)&&(o[i]=!1)})))})).catch((function(e){o.$log("GET USER TOKEN CATCH:",e),!_.isNil(i)&&_.has(o,i)&&(o[i]=!1)})):o.$log("USER/TOKEN MISSING:"));case 4:case"end":return s.stop()}}),s)})))()},showPrivacyPolicy(){this.showTerms=!1,this.showPrivacy=!0,this.showTermsPrivacy=!0},showTermsOfService(){this.showPrivacy=!1,this.showTerms=!0,this.showTermsPrivacy=!0},signInWithGoogle(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e,e.$trackEvent({event:"login",interactionType:"Google Register click",interactionElementName:"Register Google Button"},{"register-method":"Google"}),s.validatingGoogle=!0,t.next=5,Ad.a.auth().setPersistence(Ad.a.auth.Auth.Persistence.LOCAL);case 5:a=new Ad.a.auth.GoogleAuthProvider,s.$firebaseAuth.signInWithPopup(a).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=_.get(t,"user",null);console.log("USER",s),e.setTokenAndLoginToApi(s,"validatingGoogle")})).catch((function(e){e.code,e.message,e.email,e.credential}));case 7:case"end":return t.stop()}}),t)})))()},subscribe(){this.doSubscription=!0}
1,SubscribedSuccessfully(){this.inProcess=!1,console.log("[TimerPage] beforeUnmount — clearing timer"),this.timerId?this.cancelTimer():console.log("[TimerPage] No active timer to clear");var e=this;e.step=3},termsPrivacyClosed(){this.showTermsPrivacy=!1,this.showPrivacy=!1,this.showTerms=!1},validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):_.isEmpty(e)?"Your email is required.":!!this.isValidEmail(e)||"The format of your email is incorrect format."},validatePassword(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.password",!1)?this.getServerError("password"):_.isEmpty(e)?"Your password is required.":!(_.toString(e).length<6)||"Must be at least 6 characters."}}),mounted(){var e=this;console.log("You have been directed to the Subscribe Page"),this.getIsSubscriber?console.log("User is a subscriber, not setting timer"):(console.log("[TimerPage] mounted — starting 5-minute timer"),this.timerId=setTimeout((function(){console.log("[TimerPage] Timer expired — calling signOut()"),e.signOut()}),12e5))},beforeUnmount(){this.cancelTimer()},mixins:[hi,mi,Po],watch:{step(){this.$q.screen.width>899&&(document.body.scrollTop=document.documentElement.scrollTop=0)}}},vp=gp,fp=(s("9de9"),s("f7ac")),bp=Object(Ee["a"])(vp,cp,dp,!1,null,null,null),wp=bp.exports;ze()(bp,"components",{QPage:Ci["a"],QIcon:Ai["a"],QImg:yi["a"],QSpinnerOrbit:fp["a"],QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QSeparator:Go["a"],QCardActions:Le["a"],QBtn:De["a"]}),ze()(bp,"directives",{ClosePopup:Y["a"]});var yp=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.getIsSubscriber?e._e():s("ad-leaderboard"),s("div",{staticClass:"row justify-center",class:e.getIsSubscriber?"q-my-xl":"q-mb-xl"},[s("div",{staticClass:"app-width col-12 q-pt-xl"},[s("terms-of-service")],1)])],1),s("site-footer")],1)},xp=[],qp=Object(ce["a"])("user"),_p=qp.mapGetters,Sp={name:"TermsOfServicePage",components:{termsOfService:jo},computed:ne()({},_p(["getAuthenticated","getIsSubscriber"])),mixins:[hi,mi],mounted(){}},Cp=Sp,Ap=Object(Ee["a"])(Cp,yp,xp,!1,null,null,null),kp=Ap.exports;ze()(Ap,"components",{QPage:Ci["a"]});var Tp=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.isMobile?s("div",{staticClass:"text-right q-pt-md"},[s("q-btn",{staticClass:"text-black link-underline",attrs:{flat:"",label:"About"},on:{click:e.launchLandingPage}}),s("q-btn",{staticClass:"text-black link-underline",attrs:{flat:"",label:"Lodge Partnerships"},on:{click:e.launchLodgePartnerships}}),s("q-btn",{staticClass:"text-black link-underline",attrs:{flat:"",label:"Conservation Campaigns"},on:{click:e.launchConservationCampaigns}}),s("q-btn",{staticClass:"text-black link-underline",attrs:{flat:"",label:"Our Community"},on:{click:e.launchOurCommunity}})],1):e._e(),s("div",{class:e.$q.screen.width<1e3?"":"q-pr-xl q-pl-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"":"q-pr-xl q-pl-xl"},[e.isOurCommunity?s("div",[s("div",{staticClass:"row q-pt-lg"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Join Africam's community.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   For a small monthly fee, you can access all of Africam’s services & content and help us protect Africa’s wild spaces and animals.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("q-img",{attrs:{src:"/images/about-us-watch.jpg"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        WATCH\n                    ")])]),s("div",{class:(e.$q.screen.width,"col
1-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        We offer 16 unique live streams from throughout Southern Africa - with more incredible locations added each year. Our resident rangers host weekly live shows from sightings captured on our cameras. Ask our rangers any questions you have about the spectacular wildlife. \n                    ")])])],1),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("q-img",{attrs:{src:"/images/about-us-learn.jpg"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        LEARN\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Our learn section offers interactive online learning for Junior Rangers and adults looking to grow their wildlife knowledge and find out more about the animals on the cameras. Learn the A-Z of animals, gain unique ranger insights and test your knowledge with our educational courses. \n                    ")])])],1),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("q-img",{attrs:{src:"/images/about-us-play.jpg"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        PLAY\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        SafariSnaps is our new sighting and scoring game – watch the live cams, capture an incredible sighting, tag an animal and climb your way to the top of the leaderboard. Every tag our community captures allows us to collect data on animals at each location for anti-poaching efforts.\n                    ")])])],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/africam-premium-video.jpg",ratio:16/9},on:{click:e.launchPremiumVideo}})],1)]),s("div",{staticClass:"row q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Connect and learn with our panel of expert rangers.\n               ")])])]),s("div",{staticClass:"row q-pt-xl q-pb-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{attrs:{src:"/images/ranger-photos.JPG"}})],1)]),s("div",{staticClass:"row q-pt-"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Share your knowledge with other wildlife enthusiasts.\n               ")])])]),s("div",{staticClass:"row q-pb-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[s("q-btn",{attrs:{to:{name:"contact-us"},size:"lg",color:"brand-orange"}},[e._v("JOIN OUR COMMUNITY")])],1)])])]):e._e(),e.isLodgePartnerships?s("div",{staticClass:"q-pt-lg"},[s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Amplify your brand with high-quality online video utilising Africam’s live streaming and content marketing.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   All in one full service which includes installation, 24/7 camera management, video production and content marketing all housed within our best in class tech stack.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("q-img",{attrs:{src:"/images/live-streaming.jpg"}}
1),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        LIVE STREAMING\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Our technical team manages a complex live stream infrastructure, streaming incredible live wildlife sightings from the bush to a global audience.  Our international team of camera operators capture sightings 24/7, for content development and social marketing. \n                    ")])])],1),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("q-img",{attrs:{src:"/images/content-creation.jpg"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        CONTENT CREATION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Key sightings are recorded, edited and branded daily. The key objective is to create a constant flow of high quality short form videos to compliment your brand marketing. Africam host Ranger shows & education courses promoting your lodge within our media network and partners.\n                    ")])])],1),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("q-img",{attrs:{src:"/images/social-marketing.jpg"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        SOCIAL MARKETING\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        All sighting highlights will be provided to your marketing team & updated within a media gallery on your website. Our data driven approach with rigorous testing ensures that we create high-performance videos tailored to each social channel driving engagement and viewership.\n                    ")])])],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/lodge-montage.jpg",ratio:16/9}})],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Does your lodge qualify for an Africam partnership?\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   Each location is different. For a successful long term partnership, key considerations include lodge or waterhole layout, wildlife frequency, wildlife variety and your specific objectives. Our ambition is to become your most powerful online marketing partner. It all starts with our initial assessment to determine the viability. \n               ")])])]),s("div",{staticClass:"row q-pb-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[s("q-btn",{attrs:{to:{name:"contact-us"},size:"lg",color:"brand-orange"}},[e._v("LET'S START THE CONVERSATION")])],1)])])]):e._e(),e.isConservationCampaigns?s("div",[s("div",{staticClass:"row q-pt-lg"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Putting the spotlight on African wildlife with our conservation partners.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   Africam is proud to partner with global companies and NGO’s on campaigns and projects where we use technology to showcase wildlife and conservation initiatives to the world.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/explore-video-launch.jpg",ratio:16/9},on:{click:e.launchExploreVideo}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"}
1,[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /CONTEXT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Explore.org is the world's leading philanthropic live nature cam network and documentary film channel. explore.org, the online portal for explore, is a community destination where people share thoughts, engage in dialogue, view and email films and photographs, and embed their favorites on blogs and social networking sites. Africam is Explore.Org’s African partner. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /EXECUTION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Africam have developed the infrastructure and network to stream live from Southern Africa to millions of viewers around the world through Explore.org. Installations include BirdLife's flamingos at Kamfers dam, the African penguins in Bettys Bay, Lisbon Falls, and Care for Wild Rhino Sanctuary. In addition, Africam produces weekly live shows hosted by expert rangers.\n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /RESULT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                            - 16 uninterrupted live streams from around Southern Africa"),s("br"),e._v("\n                            - 9,760,574 Facebook followers"),s("br"),e._v("\n                            - Over 100 shows produced annually"),s("br"),e._v("\n                            - Over 1 million live show views annually"),s("br"),e._v("\n                            - Over 500 ranger insights produced"),s("br"),s("q-img",{staticStyle:{"max-width":"200px"},attrs:{src:"/images/africam-explore-logos.jpg"}})],1)])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/samsung-video-launch.jpg",ratio:16/9},on:{click:e.launchSamsungVideo}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /CONTEXT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        The Covid-19 pandemic dramatically impacted tourism, leaving its wildlife largely unwatched, unprotected and vulnerable to increased poaching, the illegal hunting or capturing of wild animals. Samsung Europe teamed up with local technology firm, Africam and the all-female Black Mamba Anti-Poaching Unit to create Samsung ‘Wildlife Watch’: The campaign enabled anybody, anywhere in the world to act as a virtual ranger and watch over wildlife, leveraging Samsung’s latest phone technologies. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /EXECUTION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Using Samsung Galaxy S20 FE handsets and the Africam cameras as a ‘surveillance system’, the team created a world of virtual rangers to ‘take the watch’ at any time, supercharging the security of Africa’s most vulnerable animals. Africam installed networks and placed Samsung Galaxy S20 FE handsets across the Balule Nature Reserve to monitor the wildlife. People from around the world tuned in to the live stream via the Wildlife Watch website & participated in a highly successful global campaign.\n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"}
1,[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /RESULT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                           - Finalist in the Cannes Media Lions and the Clio’s "),s("br"),e._v("\n                           - Gold in the Cresta & Luum Awards "),s("br"),e._v("\n                           - 1.9 Billion Impressions "),s("br"),e._v("\n                           - Participation in 190 countries "),s("br"),e._v("\n                           - 197,000 virtual rangers "),s("br"),e._v("\n                           - 3740% increase in Google searches "),s("br"),e._v("\n                           - 800+ campaign coverage pieces (earned, owned, partner) "),s("br"),s("q-img",{staticStyle:{"max-width":"200px"},attrs:{src:"/images/africam-samsung-logos.jpg"}})],1)])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/care-video-launch.jpg",ratio:16/9},on:{click:e.launchCareVideo}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /CONTEXT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        We partnered with the largest orphan rhino sanctuary in the world. South Africa was fast becoming the centre of the rhino poaching crisis. Many of these devastating poaching incidents left behind young, defenceless, orphaned calves. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /EXECUTION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Africam joined forces with Care for Wild to shine a light on rhino poaching in South Africa. We installed a network of high definition cameras and security system that allows Care for Wild to track their rhinos, and shares the progress of each rhino with the world. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /RESULT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("  \n                        - 8 high definition cameras installed"),s("br"),e._v(" \n                        - Security network and infrastructure implemented"),s("br"),e._v(" \n                        - Global audience of virtual guardians"),s("br"),e._v(" \n                        - $70 000 raised to date"),s("br"),s("q-img",{staticStyle:{"max-width":"200px"},attrs:{src:"/images/africam-care-logos.jpg"}})],1)])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/mambas-video-launch.jpg",ratio:16/9},on:{click:e.launchMambasVideo}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /CONTEXT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        The Black Mambas are the world's first all-female anti-poaching unit. They are 36 young African women who patrol 20,000 hectares of the Balule Nature Reserve, part of the Greater Kruger National Park, South Africa. Kruger is home to the largest population of rhino in the world and also is victim to more poaching attacks than any other area. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"}
1,[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /EXECUTION\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Africam have worked closely with the Black Mambas to help create awareness around the need to protect areas of the Greater Kruger area. Africam creates video content and shares their story with a global audience. We are also working with a branch of the Black Mambas – The Bush Babies, to create wildlife education on conservation for children globally. \n                    ")])])]),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold")},[e._v("\n                        /RESULT\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("  \n                            - £11K+ raised to date in donations"),s("br"),e._v("\n                            - 30 Samsung phones donated to Black Mamba rangers to be used in the field"),s("br"),e._v("\n                            - Beneficiary in global campaign Wildlife Watch with Samsung elevating Black"),s("br"),e._v(" \n                            - Mambas as role models within their community and to the global audience."),s("br"),s("q-img",{staticStyle:{"max-width":"200px"},attrs:{src:"/images/africam-mambas-logos.jpg"}})],1)])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Looking to make a difference? Get in contact.\n               ")])])]),s("div",{staticClass:"row q-pb-xl q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[s("q-btn",{attrs:{to:{name:"contact-us"},size:"lg",color:"brand-orange"}},[e._v("LET'S START THE CONVERSATION")])],1)])])]):e._e(),e.isLandingPage?s("div",[s("div",{staticClass:"col-12 q-pt-lg q-pb-sm"},[s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-weight-large text-center":"text-h3 text-bold text-center"},[e._v("\n                   Promoting ecotourism brands and conservation with incredible, unscripted wildlife.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   In collaboration with our Lodge and NGO partners, Africam broadcasts live HD streams, ranger shows and education courses to a global audience from Africa’s most remote locations.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{attrs:{src:"/images/about-us-timeline.jpg",ratio:16/9}})],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Our 3 Focus Areas\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("div",{class:e.$q.screen.width<1e3?"text-h7 text-center":"text-h6 text-center"},[e._v("\n                   Supporting the ecosystem with responsible tourism, supporting the wildlife with conservation partnerships & driving awareness utilising our Africam Community.\n               ")])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pa-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/leopard-about-us.jpg"},on:{click:e.launchLodgePartnerships}}
1),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        LODGE PARTNERSHIPS\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        A full-service content marketing offering that includes camera installation,  live broadcasting & video production utilizing your biggest assets – The lodge wildlife and wilderness!\n                    ")])]),s("div",{staticClass:"text-center"},[s("q-btn",{staticClass:"text-black link-underline",attrs:{flat:"",label:"Read More"},on:{click:e.launchLodgePartnerships}})],1)],1),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/about-us-campaign.jpg"},on:{click:e.launchConservationCampaigns}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        CONSERVATION CAMPAIGNS\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        We design and develop Tech for Good campaigns with some of the world's biggest brands, broadcasters & Agencies to promote conservation awareness and funding for our conservation partners.\n                    ")])]),s("div",{staticClass:"text-center"},[s("q-btn",{staticClass:"text-black link-underline",attrs:{flat:"",label:"Read More"},on:{click:e.launchConservationCampaigns}})],1)],1),s("div",{staticClass:"col-md-4 q-pa-xl"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/about-us-phone.jpg"},on:{click:e.launchOurCommunity}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5 text-bold text-center")},[e._v("\n                        AFRICAM COMMUNITY\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-caption")},[e._v("\n                        Our live streams, ranger shows, sighting highlights & education courses reach a global audience in over 190 countries. Our subscribers are wildlife enthusiasts who engage and share our wildlife content.\n                    ")])]),s("div",{staticClass:"text-center"},[s("q-btn",{staticClass:"text-black link-underline",attrs:{flat:"",label:"Read More"},on:{click:e.launchOurCommunity}})],1)],1)]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h5 text-bold text-center":"text-h3 text-bold text-center"},[e._v("\n                   Our Partners\n               ")])])]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pt-md":"col-12 q-pr-xl q-pl-xl q-pt-md"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/partners-desktop.jpg",ratio:16/9}})],1)])])]):e._e()])])]),s("site-footer"),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showVideoPopup=!1}},model:{value:e.showVideoPopup,callback:function(t){e.showVideoPopup=t},expression:"showVideoPopup"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:e.autoplay,previewImageSize:"maxresdefault",src:e.videoSrc}})],1)],1)],1)],1)},Pp=[],Ip={name:"LearnPage",components:{},computed:{isMobile(){return!(this.$q.screen.width<1023)},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}}},data(){return{afriExpert:!1,isLandingPage:!0,isLodgePartnerships:!1,isConservationCampaigns:!1,isOurCommunity:!1,videoSelection:"",showVideoPopup:!1}},methods:{insightVideosLink(){this.$router.push({name:"video-highlights",query:{learnLink:!0,filteredType:"insight"}})},launchLodgePartnerships(){window.scrollTo(0,0),this.isLandingPage=!1,this.isLodgePartnerships=!0,this.isOurCommunity=!1,this.isConservationCampaigns=!1},launchLandingPage(){window.scrollTo(0,0),this.isLandingPage=!0,this.isLodgePartnerships=!1,this.isOurCommunity=!1,this.isConservationCampaigns=!1},launchOurCommunity(){window.scrollTo(0,0),this.isLandingPage=!1,this.isConservationCampaigns=!1,this.isLodgePartnerships=!1,this.isOurCommunity=!0},launchConservationCampaigns(){window.scrollTo(0,0),this.isLandingPage=!1,this.isLodgePartnerships=!1,this.isOurCommunity=!1,this.isConservationCampaigns=!0},launchExploreVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/BsnW9e0GUrg?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchSamsungVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/0c6M-viRRXQ?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchCareVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/yTJO8W0XiHs?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchMambasVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/dofOZf0YvKE?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchPremiumVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/4I11Avr22_A?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},getVideoSrc(){this.videoSrc=videoSelection}},props:{autoplay:{default:!0,type:Boolean,required:!1}},mixins:[hi,mi],mounted(){}},$p=Ip,Ep=Object(Ee["a"])($p,Tp,Pp,!1,null,null,null),Rp=Ep.exports;ze()(Ep,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QDialog:Re["a"],QCard:Ne["a"],QIcon:Ai["a"],QCardSection:Oe["a"]}),ze()(Ep,"directives",{ClosePopup:Y["a"]});var Np=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",[a("q-page",{class:[t.appPadding]},[a("div",{staticClass:"q-pt-md q-pb-md"},[a("router-link",{staticClass:"text-left text-body text-black text-underline cursor-pointer underline-links",attrs:{to:{name:"resources"}}},[a("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"}),t._v(" Resources\n      ")]),t._v("\n        >  Multistream\n    ")],1),a("div",{staticClass:"row justify-center",class:t.getIsSubscriber?"q-my-xl":"q-mb-xl"},[a("div",{staticClass:"app-width col-12"},[a("page-title",{attrs:{title:"Multi Stream"}}),a("p",[t._v("\n          Select Single or Multi Stream to suit your viewing preference\n        ")]),t.getIsSubscriber?t._e():a("div",{staticClass:"col-12"},[a("div",{staticClass:"flex flex-center q-my-lg q-pt-xl"},[a("q-badge",{attrs:{color:"red","text-color":"white",label:"Premium Only"}})],1),a("div",{staticClass:"text-h5 text-center q-mt-md q-mr-md q-ml-md"},[t._v("\n                  The multiview feature is only available to premium subscribers. Subscribe now for access to multiview and Africam's premium content.\n            ")]),a("div",{staticClass:"flex flex-center q-my-lg"},[a("q-btn",{attrs:{to:{name:"subscribe"},size:"md",color:"brand-orange"}},[t._v("Subscribe")])],1)]),t.getIsSubscriber?a("q-card",[a("q-tabs",{attrs:{dense:"","indicator-color":"orange",align:"justify","narrow-indicator":""},model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}}
1,[a("q-tab",{attrs:{name:"bomastreams",label:"Single stream"}}),a("q-tab",{attrs:{name:"multiview",label:"Multi stream"}})],1),a("q-separator"),a("q-tab-panels",{attrs:{animated:""},model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[a("q-tab-panel",{attrs:{name:"bomastreams"}},[a("div",{staticClass:"row",class:t.getIsSubscriber?"premium-player-new":"standard-player"},[a("div",{staticClass:"col-xs-12",style:t.playerWidth},[a("div",{staticClass:"row"},[a("div",{class:t.$q.screen.width<768?"col-xs-12":"col-xs-5"},[a("div",{staticClass:"full-height text-caption q-pb-sm q-mr-sm text-grey-6"},[t._v("\n                  Local\n                  "),a("local-time")],1)]),a("div",{class:t.$q.screen.width<768?"col-xs-12":"col-xs-7 relative-position"},[a("div",{class:t.$q.screen.width<768?"text-right":"text-right absolute-bottom-right"},[t.showIsLive&&!t.watchingShow?a("q-btn",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-shadow q-mb-sm q-mr-sm",attrs:{color:"brand-orange",size:"sm"},on:{click:t.watchShow}},[t._v("\n                    Watch Live Show\n                  ")]):t._e(),t.getIsSubscriber?a("q-btn",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"q-mr-sm q-mb-sm",attrs:{color:"brand-orange",icon:"fas fa-th",label:this.$q.screen.width>767?"Streams":"",size:"sm"},on:{click:function(e){t.previewStreams=!0}}},[a("q-tooltip",{attrs:{anchor:"top left",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[t._v("Preview and select a stream.\n                    ")])],1):t._e(),t.getIsSubscriber?a("q-btn",{staticClass:"q-mr-sm q-mb-sm",attrs:{disable:t.watchingShow,color:"brand-orange",icon:"fas fa-tag",label:this.$q.screen.width>767?"SafariSnaps":"",ripple:"",size:"sm"},on:{click:t.takeAfritag}},[t.getIsSubscriber?a("q-tooltip",{attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[t.watchingShow?a("span",[t._v("SafariSnaps are disabled during shows.")]):a("span",[t._v("Tag an animal and score points.")])]):t._e()],1):t._e(),t.getIsSubscriber?a("q-btn",{staticClass:"q-mr-sm q-mb-sm",attrs:{disable:t.watchingShow,color:"brand-orange",icon:"fas fa-camera",label:this.$q.screen.width>767?"Photo":"",ripple:"",size:"sm"},on:{click:t.takeSnapshot}},[t.getIsSubscriber?a("q-tooltip",{attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[t.watchingShow?a("span",[t._v("Photos are disabled during shows.")]):a("span",[t._v("Save the moment. Take a photo.")])]):t._e()],1):t._e()],1)])])])]),a("div",{staticClass:"row q-col-gutter-x-md q-mb-md"},[a("div",{staticClass:"col-xs-12",style:t.playerWidth},[a("div",[a("q-responsive",{staticClass:"rounded-borders",class:t.getIsSubscriber?"premium-player-new":"standard-player",attrs:{ratio:16/9}},[t.videoSource?a("youtube",{staticClass:"rounded-borders",attrs:{autoplay:"",previewImageSize:"hqdefault",src:t.videoSource}}):t._e()],1),a("show-question",{attrs:{show:t.showIsLive&&t.watchingShow}}),a("q-resize-observer",{attrs:{debounce:"100"},on:{resize:t.onVideoResize}})],1)])]),a("div",{staticClass:"row justify-center q-mx-xs"},[t.getIsSubscriber?t._e():a("div",{staticClass:"col-sm-12 text-center"},[a("ad-horizontal-long",{attrs:{"slot-size":t.$q.screen.width}})],1)]),t.getIsSubscriber?a("div",{staticClass:"row q-mt-xs"},t._l(t.currentStreams,(function(e,s){return a("div",{key:s,staticClass:"cursor-pointer col-2",class:[t.previewSize],on:{click:function(s){return t.switchStream(e)}}},[a("stream-preview",{attrs:{"hide-label":!1,ratio:t.previewRatio,refresh:t.refresh,"show-preview":!1,stream:e,basic:"",overlay:"",transition:"fade"}})],1)})),0):t._e()]),a("q-tab-panel",{attrs:{name:"multiview"}},[a("multiview")],1)],1)],1):t._e(),t.getIsSubscriber?a("div",{staticClass:"q-mb-lg q-mt-xl"},[a("page-heading",{attrs:{heading:"Community Snapshots",subheading:"Click on the image to view a larger version."}})],1):t._e(),t.getIsSubscriber?a("div",{staticClass:"row q-col-gutter-md"},[a("div",{staticClass:"col-12",style:t.getIsSubscriber||t.$q.screen.width<768?"":"width: calc(100% - 300px)"},[a("q-resize-observer",{attrs:{debounce:"250"},on:{resize:t.adSlotResize}}),a("q-infinite-scroll",{ref:"snapshotScroller",staticClass:"row q-col-gutter-lg",attrs:{offset:2e3},on:{load:t.loadMoreSnapshots},scopedSlots:t._u([{key:"loading",fn:function(){return[a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",{staticClass:"text-center"},[a("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[t._v("Loading snapshots")]),a("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}],null,!1,290902472)},[t._l(t.currentSnapshots,(function(e,s){return[t.adBreak(s)?a("div",{staticClass:"col-xs-12 q-py-md text-center"},[t.getIsSubscriber?t._e():a("ad-horizontal-long",{attrs:{"slot-size":t.slotSize}})],1):t._e(),a("q-intersection",{staticClass:"col-xs-12 col-sm-6 col-xl-4 cursor-pointer",attrs:{once:"",margin:"-50px 0px",transition:"scale"}},[a("photo-preview",{attrs:{ratio:16/9,photo:e}})],1)]})),a("q-resize-observer",{attrs:{debounce:"250"},on:{resize:t.onCommunityPhotosResize}})],2),a("div",{staticClass:"row"},[t.allSnapshotsAreLoaded?a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",{staticClass:"text-center"},[a("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[t._v(" All Snapshots have been loaded.")])])]):t._e()])],1),!t.getIsSubscriber&&t.$q.screen.width>767?a("div",{staticClass:"col-auto",staticStyle:{width:"300px"}},t._l(t.communityStreamAdCount,(function(e,t){return a("div",{staticClass:"q-mb-lg"},[a("ad300x250",{key:t})],1)})),0):t._e()]):t._e()],1)])]),a("stream-picker",{attrs:{"show-picker":t.previewStreams},on:{hiding:t.hideStreamPicker,"stream-selected":function(e){return t.switchStream(e,!0)}}}),a("site-footer"),a("snapshot",{attrs:{"open-snapshot":t.showSnapshot,stream
1:t.stream,"is-game":t.gameStatus},on:{hide:t.hideSnapshot,saved:t.resetSnapshots}}),a("upgrade-prompt",{attrs:{action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}})],1)},Op=[],Lp=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.getIsSubscriber?e._e():s("ad-leaderboard"),e.getIsSubscriber?s("div",{staticClass:"row q-mb-lg q-mt-lg"},[s("div",{staticClass:"text-right col-xs-12 text-smaller text-grey-5"},[e._v("\n        Streams Per Row\n        "),s("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:e.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:e.perRow,callback:function(t){e.perRow=t},expression:"perRow"}})],1)]):e._e(),e.getIsSubscriber?e._e():s("div",{staticClass:"col-12"},[s("div",{staticClass:"flex flex-center q-my-lg q-pt-xl"},[s("q-badge",{attrs:{color:"red","text-color":"white",label:"Premium Only"}})],1),s("div",{staticClass:"text-h5 text-center q-mt-md q-mr-md q-ml-md"},[e._v("\n                  The multiview feature is only available to premium subscribers. Subscribe now for access to multiview and Africam's premium content.\n            ")]),s("div",{staticClass:"flex flex-center q-my-lg"},[s("q-btn",{attrs:{to:{name:"subscribe"},size:"md",color:"brand-orange"}},[e._v("Subscribe")])],1)]),e.getIsSubscriber?s("div",{staticClass:"row q-col-gutter-md"},[e._l(e.currentStreams,(function(t,a){return e.checkStream(t)?[e.injectAdvert(a)&&!e.getIsSubscriber?s("div",{staticClass:"col-xs-12 q-py-md text-center"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}}),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}})],1):e._e(),s("div",{class:e.columnClasses},[s("q-responsive",{staticClass:"rounded-borders",attrs:{ratio:16/9}},[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:!1,previewImageSize:"hqdefault",src:e.videoSource(t)+"&mute=0"}})],1),s("div",{staticClass:"row text-caption"},[s("div",{staticClass:"col-12 text-center"},[s("span",{domProps:{textContent:e._s(t.name)}})])])],1)]:e._e()}))],2):e._e(),s("div",{staticClass:"row q-mt-xl"},[s("div",{staticClass:"text-brand-orange text-center text-caption text-weight-light col-xs-12"},[s("span",{staticClass:"text-weight-bold"},[e._v("N.B.")]),e._v(" Playing multiple streams at the same time can cause your machine to\n        lag and feel slow. "),s("br"),e._v(" If you are experiencing a slowdown, please stop a few of the players.\n      ")])]),s("div",{staticClass:"q-my-xl"},[e.getIsSubscriber?s("kids-course-horizontal-long",{attrs:{"slot-size":e.slotSize}}):s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}})],1)],1),s("site-footer")],1)},Dp=[],Vp=Object(ce["a"])("content"),zp=Vp.mapGetters,Mp=Object(ce["a"])("user"),jp=Mp.mapGetters,Qp={name:"MultiViewPage",computed:ne()(ne()(ne()({},zp(["streams"])),jp(["getAuthenticated","getIsSubscriber"])),{},{currentStreams(){return this.streams.filter((function(e){return e.active}))},columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}}}),data(){return{currentlyPlaying:0,perRow:4,slotSize:0}},methods:{adSlotResize(e){this.slotSize=e.width},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>0&&e%this.perRow===0},videoSource(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!_.isNil(e)){var t=1;return this.currentlyPlaying<4&&(this.currentlyPlaying++,t=1),this.playerUrl(e.youtube_id,t)}return""},checkStream(e){return this.getIsSubscriber?e:this.getIsSubscriber?void 0:!e.subscriber_only}},mixins:[hi,mi],mounted(){this.perRow=this.sensibleRowsPerPage(4,"multiViewPerRow")},watch:{perRow(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("multiViewPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("multiViewPerRow"))&&void 0!==t?t:4)}}},Up=Qp,Fp=Object(Ee["a"])(Up,Lp,Dp,!1,null,null,null),Bp=Fp.exports;ze()(Fp,"components",{QPage:Ci["a"],QBtnToggle:So["a"],QBadge:Ir["a"],QBtn:De["a"],QResizeObserver:ho["a"],QResponsive:Oi["a"]});var Hp=Object(ce["a"])("chat"),Gp=Hp.mapMutations,Wp=Object(ce["a"])("content"),Yp=Wp.mapGetters,Kp=Object(ce["a"])("photos"),Zp=(Kp.mapGetters,Kp.mapActions,Object(ce["a"])("user")),Jp=Zp.mapGetters,Xp={name:"BomaPage",components:{showQuestion:wu,multiview:Bp},computed:ne()(ne()(ne()({},Yp(["streams"])),Jp(["getAuthenticated","getIsSubscriber"])),{},{communityStreamAdCount(){var e=1;return this.communityPhotosHeight>0&&(e=Math.floor(this.communityPhotosHeight/270)||1),_.range(e)},currentSnapshots(){return this.snapshots},currentStreams(){return this.streams.filter((function(e){return e.active}))},playerWidth(){return{width:!this.getIsSubscriber&&this.$q.screen.width>767?"calc(100% - 350px)":"100%"}},previewRatio(){return this.$q.screen.width>1280?16/9:this.$q.screen.width<769?1.6:4/3},previewSize(){return this.$q.screen.width>768?"col":this.$q.screen.width<=550?"col-xs-12":"col-xs-3"}
1,showIsLive(){return this.nextShowOnAir&&this.nextShowHasYoutubeId},stream(){var e=this;return _.find(this.currentStreams,(function(t){return _.isEqual(t.slug,e.slug)}))||{}}}),data(){return{allSnapshotsAreLoaded:!1,communityPhotosHeight:0,snapshots:[],lastPage:1,previewStreams:!1,refresh:20,showSnapshot:!1,showUpgradePrompt:!1,slotSize:0,slug:"tau",upgradeAction:{},upgradeCTA:"",upgradeMessage:"",videoHeight:0,videoSource:null,watchingShow:!1,tab:"bomastreams",gameStatus:""}},methods:ne()(ne()({},Gp(["setChat","setChatVisibility"])),{},{adSlotResize(e){this.slotSize=e.width},hideStreamPicker(){this.previewStreams=!1},hideSnapshot(){this.showSnapshot=!1},loadMoreSnapshots(e,t){var s=this;if(e>s.lastPage)return s.$refs.snapshotScroller.stop(),s.allSnapshotsAreLoaded=!0,void(_.isFunction(t)&&t());s.$axios.post("/api/photos/search",{page:e||1,per_page:s.dbPageSize()}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.snapshots.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){t()}))},onCommunityPhotosResize(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.communityPhotosHeight=_.get(e,"height",0)},onVideoResize(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.videoHeight=_.get(e,"height",0)},resetSnapshots(){this.allSnapshotsAreLoaded=!1,this.snapshots=[],this.lastPage=1,this.$refs.snapshotScroller.reset(),this.$refs.snapshotScroller.setIndex(0),this.$refs.snapshotScroller.resume(),this.$refs.snapshotScroller.trigger()},switchStream(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.getIsSubscriber&&!t)return this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="The quick alert function is only available on Africam Premium. Subscribe now and enjoy ads free live streams and subscriber exclusive content, and help promote wildlife conservation.",void(this.showUpgradePrompt=!0);if(e.subscriber_only){if(!this.getIsSubscriber)return this.previewStreams=!1,this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="This Live stream is only available on Africam Premium. Subscribe now and enjoy ads free live streams and subscriber exclusive content, and help promote wildlife conservation.",void(this.showUpgradePrompt=!0);this.slug=e.slug,this.videoSource=this.playerUrl(e.youtube_id),this.previewStreams=!1,this.watchingShow=!1}else this.slug=e.slug,this.videoSource=this.playerUrl(e.youtube_id),this.previewStreams=!1,this.watchingShow=!1},takeSnapshot(){this.showSnapshot=!0,this.gameStatus=!1},takeAfritag(){this.showSnapshot=!0,this.gameStatus=!0},watchShow(){var e;this.videoSource=this.playerUrl(null===this||void 0===this||null===(e=this.nextShow)||void 0===e?void 0:e.youtube_id),this.watchingShow=!0}}),mixins:[hi,Su,mi],mounted(){var e=this;e.$refs.snapshotScroller.trigger(),this.setChat("chat-general"),le["a"].$emit("showChat",!1),le["a"].$on("stream-selected",(function(t){!_.isNil(t)&&_.get(t,"slug",!1)&&_.get(t,"youtube_id",!1)&&e.switchStream(t)})),e.showSnapshot=!1,this.videoSource=this.playerUrl(this.stream.youtube_id)},watch:{"$route.query":{immediate:!0,handler(e){var t=this;_.has(e,"show")&&1===e.show&&t.showYoutubeIdExists&&!t.watchingShow&&setTimeout(t.watchShow,2e3)}},showYoutubeIdExists(e,t){_.isNil(e)||_.isNil(t)||!e&&t&&(this.videoSource=this.playerUrl(this.stream.youtube_id))}}},eg=Xp,tg=(s("9423"),Object(Ee["a"])(eg,Np,Op,!1,null,null,null)),sg=tg.exports;ze()(tg,"components",{QPage:Ci["a"],QBadge:Ir["a"],QBtn:De["a"],QCard:Ne["a"],QTabs:rc["a"],QTab:nc["a"],QSeparator:Go["a"],QTabPanels:lc["a"],QTabPanel:cc["a"],QTooltip:Lc["a"],QResponsive:Oi["a"],QResizeObserver:ho["a"],QInfiniteScroll:uo["a"],QIntersection:kh["a"],QSpinnerDots:mo["a"]}),ze()(tg,"directives",{Ripple:K["a"]});var ag=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"row justify-center q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"row justify-center"},[s("div",{staticClass:"col-xs-12 q-pt-xl"},[e.showWelcome?s("div",{staticClass:"q-mb-xl"},[s("page-title",{attrs:{title:"Welcome to Africam"}}),s("p",{staticClass:"q-mt-md"},[e._v("\n                Why not start by completing your profile. If you would like to\n                customise your alerts, select the alerts/notifications tab. If\
1n                you take snapshots on our live cams or in the Boma, they will\n                be archived for you in your photo gallery.\n              ")]),s("p",{staticClass:"q-mt-md text-italic"},[e._v("\n                Remember you can always access your profile, notifications and\n                gallery from the quick menu at the top right of this page.\n              ")])],1):e._e(),s("q-tabs",{staticClass:"text-grey-9 bg-grey-4",attrs:{"mobile-arrows":!1,"outside-arrows":!1,"active-color":"grey-9",align:"justify",dense:"","indicator-color":"grey-9"},model:{value:e.section,callback:function(t){e.section=t},expression:"section"}},[e.getIsSubscriber?s("q-route-tab",{attrs:{to:{name:"profile",params:{section:"tags"}},name:"tags",label:e.tagsTabLabel}}):e._e(),s("q-route-tab",{attrs:{to:{name:"profile",params:{section:"gallery"}},name:"gallery",label:e.galleryTabLabel}}),s("q-route-tab",{attrs:{to:{name:"profile",params:{section:"notifications"}},name:"notifications",label:e.notificationsTabLabel}}),s("q-route-tab",{attrs:{to:{name:"profile",params:{section:"profile"}},name:"profile",label:e.profileTabLabel}})],1),s("q-separator"),s("q-tab-panels",{attrs:{animated:"","transition-prev":"fade","transition-next":"fade"},model:{value:e.section,callback:function(t){e.section=t},expression:"section"}},[s("q-tab-panel",{attrs:{name:"profile"}},[s("profile")],1),s("q-tab-panel",{attrs:{name:"gallery"}},[s("gallery")],1),s("q-tab-panel",{attrs:{name:"notifications"}},[s("notifications")],1),e.getIsSubscriber?s("q-tab-panel",{attrs:{name:"tags"}},[s("tags")],1):e._e()],1),"profile"==e.section?s("div",{staticClass:"q-my-xl"},[s("subscription")],1):e._e()],1)])])])]),s("site-footer")],1)},ig=[],og=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("page-heading",{attrs:{heading:"My Snapshots",subheading:"Click on any photo to view a larger version."}}),s("q-infinite-scroll",{ref:"photoScroller",staticClass:"row q-col-gutter-md",attrs:{offset:1e3},on:{load:e.loadMorePhotos},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("Loading photos")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])])]},proxy:!0}])},[e._l(e.photos,(function(t,a){return[e.adBreak(a)?s("div",{staticClass:"col-xs-12 q-py-md text-center"},[e.getIsSubscriber?e._e():s("ad-horizontal-long",{attrs:{"slot-size":e.slotSize}}),s("q-resize-observer",{attrs:{debounce:"250"},on:{resize:e.adSlotResize}})],1):e._e(),s("div",{staticClass:"col-xs-12 col-sm-6 col-md-4 col-xl-3 cursor-pointer"},[s("photo-preview",{attrs:{ratio:16/9,photo:t}})],1)]}))],2),e.allPhotosAreLoaded?s("div",{staticClass:"text-center"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("All your snapshots are loaded.")])]):e._e()],1)},rg=[],ng=Object(ce["a"])("photos"),lg=(ng.mapGetters,ng.mapActions),cg=Object(ce["a"])("user"),dg=(cg.mapActions,cg.mapGetters),ug={name:"UserGallery",computed:ne()(ne()({},dg(["getAuthenticated","getIsSubscriber","getUser"])),{},{currentUser(){return this.getUser||{}}}),data(){return{allPhotosAreLoaded:!1,lastPage:1,photos:[],slotSize:0}},methods:ne()(ne()({},lg(["clearPhotos","fetchPhotos"])),{},{adSlotResize(e){this.slotSize=e.width},loadMorePhotos(e,t){var s=this;if(e>s.lastPage)return t(),s.$refs.photoScroller.stop(),void(s.allPhotosAreLoaded=!0);s.fetchPhotos({filters:{user:_.get(s,"currentUser.id",0),is_afritag:!1},page:e,per_page:s.dbPageSize()}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.photos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){t()}))}}),mounted(){var e=this;e.clearPhotos(),e.$refs.photoScroller.trigger()},mixins:[hi],props:{prop:{type:Boolean,default:!1}}},hg=ug,mg=Object(Ee["a"])(hg,og,rg,!1,null,null,null),pg=mg.exports;ze()(mg,"components",{QInfiniteScroll:uo["a"],QResizeObserver:ho["a"],QSpinnerDots:mo["a"]});var gg=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",[a("page-heading",{attrs:{heading:"Notification Settings",subheading:"Which notifications you would like to receive?"}}),a("div",{staticClass:"row"},[t.notificationCategoriesAreEmpty?a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",[a("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[t._v("Loading preferences")]),a("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)]):t._e()]),a("div",{staticClass:"row q-mt-xl"},t._l(t.notificationCategories,(function(e,s){return a("div",{key:s,staticClass:"col-xs-12 col-sm-6 col-md-4 col-lg-3"},[a("q-toggle",{attrs:{"checked-icon":"fas fa-check",color:"green",val:e.id},model:{value:t.notification_ids,callback:function(e){t.notification_ids=e},expression:"notification_ids"}},[a("span",{class:t.selected(e.id)?"text-black":"text-grey-6",domProps:{textContent:t._s(e.name)}}
1)])],1)})),0),a("div",{staticClass:"row q-mt-xl"},[a("div",{staticClass:"col-12 text-left"},[a("q-btn",{staticClass:"text-shadow",attrs:{color:"brand-orange",loading:t.isUpserting,size:"lg"},on:{click:t.upsertCategories},scopedSlots:t._u([{key:"loading",fn:function(){return[a("q-spinner-facebook",{staticClass:"q-mr-xs"}),t._v("\n          Saving\n        ")]},proxy:!0}])},[a("span",{staticClass:"text-smaller q-px-lg"},[t._v("Update Notifications")])])],1)]),a("upgrade-prompt",{attrs:{"premium-logo":"",action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}})],1)},vg=[],fg=Object(ce["a"])("notifications"),bg=fg.mapGetters,wg=fg.mapActions,yg=Object(ce["a"])("user"),xg=yg.mapGetters,qg=(yg.mapActions,{name:"UserNotifications",computed:ne()(ne()(ne()({},bg(["getCategories","getUpsertingNotificationCategories"])),xg(["getIsSubscriber","getUser"])),{},{notificationCategories(){return this.getCategories},notificationCategoriesAreEmpty(){return _.isEmpty(this.getCategories)},isUpserting(){return this.getUpsertingNotificationCategories},subscriberCategories(){return _.filter(this.notificationCategories,(function(e){return!!e.subscriber_only}))},userCategories(){return _.filter(this.notificationCategories,(function(e){return!e.subscriber_only}))}}),data(){return{notification_ids:[],showUpgradePrompt:!1,upgradeAction:{},upgradeCTA:"",upgradeMessage:""}},methods:ne()(ne()({},wg(["upsertSelectedNotifications"])),{},{selected(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.includes(this.notification_ids,e)},selectCategories(){var e=this,t=_.map(_.get(this,"getUser.notification_categories",[]),(function(e){return e.id}));_.isArray(t)&&e.$set(e,"notification_ids",t)},upsertCategories(){this.upsertSelectedNotifications({selected_categories:this.notification_ids,user_id:_.get(this,"getUser.id",0)})}}),mounted(){this.selectCategories()},watch:{notification_ids(e,t){e&&_.isArray(e)&&e.length>5&&!this.getIsSubscriber&&(this.notification_ids=t,this.upgradeAction={name:"premium"},this.upgradeCTA="See extras with Premium",this.upgradeMessage='You may select a maximum of 5 notification types. <span class="text-weight-bold">Unlimited</span> selection is available to Premium Subscribers.',this.showUpgradePrompt=!0)}}}),_g=qg,Sg=Object(Ee["a"])(_g,gg,vg,!1,null,null,null),Cg=Sg.exports;ze()(Sg,"components",{QSpinnerDots:mo["a"],QToggle:En["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"]});var Ag=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("page-heading",{attrs:{heading:"My Profile",subheading:"Tell us about yourself."}}),s("div",{staticClass:"row q-col-gutter-lg q-pa-lg q-mt-sm"},[s("div",{staticClass:"col-xs-12 col-sm-4 q-pa-md"},[s("q-card",[s("q-card-section",{staticClass:"bg-grey-2"},[s("div",{staticClass:"text-h5",domProps:{textContent:e._s(e.currentUser.display_name)}}),s("div",[s("span",{domProps:{textContent:e._s(e.currentUser.name)}}),s("span",{staticClass:"text"}),s("span",{domProps:{textContent:e._s(e.currentUser.surname)}})]),s("div",{staticClass:"q-pb-sm"},[s("q-avatar",{attrs:{size:"125px"}},[s("img",{staticClass:"profile-photo",attrs:{src:e.currentUser.avatar},on:{error:function(e){e.target.src="/images/africam-avatar.jpg"}}})]),s("div",{staticClass:"q-gutter-sm row uploader-icon q-pt-md"},[s("span",{staticClass:"text-h7"},[s("q-icon",{attrs:{name:"fas fa-user",size:"sm"}}),e._v("\n                   Upload Profile Photo"),s("br"),s("span",{staticClass:"text-caption"},[e._v("Click the plus icon to add your photo")])],1),s("q-uploader",{staticStyle:{"max-width":"100%"},attrs:{url:e.uploadUri,label:"Upload",color:"black","field-name":"file",accept:".jpg, image/*","max-file-size":"3000000",headers:e.uploadHeaders,"auto-upload":""},on:{uploaded:function(t){return e.fetchUser()},rejected:e.onRejected}})],1)],1)])],1)],1),s("div",{staticClass:"col-xs-12 col-sm-4 q-pa-md"},[s("q-form",{ref:"profileForm",on:{submit:function(t){return t.preventDefault(),e.upsertPersonalDetails(t)}}},[s("div",[s("q-input",{ref:"name",attrs:{"error-message":e.serverValidation.name,error:!!e.hasServerError("name"),rules:[],"bottom-slots":"",color:"brand-orange",counter:"","hide-hint":"",hint:"Eg. Joe","input-class":"text-body2",label:"First Name","lazy-rules":"",maxlength:"50",type:"text"},on:{focus:function(t){return e.clearInputValidation("name")}},model:{value:e.user.name,callback:function(t){e.$set(e.user,"name",t)},expression:"user.name"}})],1),s("div",[s("q-input",{ref:"surname",attrs:{"error-message":e.serverValidation.surname,error:!!e.hasServerError("surname"),rules:[],"bottom-slots":"",color:"brand-orange",counter:"","hide-hint":"",hint:"Eg. Bloggs","input-class":"text-body2",label:"Last Name","lazy-rules":"",maxlength:"50",type:"text"},on:{focus:function(t){return e.clearInputValidation("surname")}},model:{value:e.user.surname,callback:function(t){e.$set(e.user,"surname",t)},expression:"user.surname"}})],1),s("div",[s("q-input",{ref:"display_name",attrs:{"error-message":e.serverValidation.display_name,error:!!e.hasServerError("display_name"),rules:[function(e){return!!e||"Your display name is required."}],"bottom-slots":"",color:"brand-orange",counter:"",hint:"Displayed with your snapshots and in the chat, otherwise your First Name is used. Eg. HappyRanger","input-class":"text-body2",label:"Display Name","lazy-rules":"",maxlength:"50",type:"text"},on:{focus:function(t){return e.clearInputValidation("display_name")}},model:{value:e.user.display_name,callback:function(t){e.$set(e.user,"display_name",t)},expression:"user.display_name"}}
1)],1),s("div",{staticClass:"q-mt-xl q-pt-xl text-center"},[s("q-btn",{staticClass:"text-shadow",staticStyle:{"min-width":"200px"},attrs:{loading:e.upserting,color:"brand-orange",size:"lg",type:"submit"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"}),e._v("\n            Updating\n          ")]},proxy:!0}])},[s("span",{staticClass:"text-smaller q-px-lg"},[e._v("Update Profile")])])],1)])],1)])],1)},kg=[],Tg=Object(ce["a"])("user"),Pg=Tg.mapGetters,Ig=Tg.mapActions,$g={name:"UserProfile",computed:ne()(ne()({},Pg(["getUser"])),{},{currentUser(){return this.getUser},isUpserting(){return this.upserting},uploadUri(){return"https://live-api.africam.com/api/user/avatar/upload"},uploadHeaders(){var e=te["a"].getItem("api-token");return[{name:"Authorization",value:`Bearer ${e}`}]}}),data(){return{serverValidation:{name:"",surname:"",display_name:"",avatar:""},user:{id:null,name:null,surname:null,display_name:null,avatar:null},upserting:!1}},methods:ne()(ne()({},Ig(["fetchUser"])),{},{cloneCurrentUser(){_.isObject(this.currentUser)&&(this.$set(this.user,"id",_.get(this,"currentUser.id","")),this.$set(this.user,"name",_.get(this,"currentUser.name","")),this.$set(this.user,"surname",_.get(this,"currentUser.surname","")),this.$set(this.user,"display_name",_.get(this,"currentUser.display_name","")))},upsertPersonalDetails(){var e=this;e.$refs.profileForm.validate().then((function(t){t&&(e.$set(e,"upserting",!0),e.$axios.post("/api/user/upsert",ne()(ne()({},e.user),{_method:"put"})).then((function(t){e.fetchUser()})).catch((function(t){var s=_.get(t,"data.errors",[]);_.each(s,(function(t,s){t=_.isArray(t)?_.join(t,", "):t,_.has(e,"serverValidation."+s)&&_.set(e,"serverValidation."+s,t)}))})))})).finally((function(){e.$set(e,"upserting",!1)}))},onRejected(e){this.$q.notify({type:"negative",message:`${e.length} file(s) did not pass validation constraints`})}}),mixins:[Po],mounted(){this.cloneCurrentUser()},watch:{currentUser(e){this.cloneCurrentUser()}}},Eg=$g,Rg=s("ee89"),Ng=Object(Ee["a"])(Eg,Ag,kg,!1,null,null,null),Og=Ng.exports;ze()(Ng,"components",{QCard:Ne["a"],QCardSection:Oe["a"],QAvatar:Ol["a"],QIcon:Ai["a"],QUploader:Rg["a"],QForm:Fo["a"],QInput:Bo["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"]});var Lg=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-card",{staticClass:"q-mb-lg",attrs:{flat:""}},[s("q-card-section",[s("page-heading",{attrs:{heading:"Subscription"}}),e.userIsFree?s("div",{staticClass:"q-mb-lg"},[e._v("\n        You are currently receiving access to our Premium Package "),s("strong",[e._v("Unlimited and Ads Free")]),e._v(" worth\n        $4.99(+VAT)/pm via our free preview offering until end April 2021.\n        "),s("p",{staticClass:"text-subtitle2 text-italic text-grey-5 q-mt-md"},[e._v("\n          Please note that from 1 May 2021 you will require a valid subscription to continue receiving our Premium Ads\n          Free experience.\n        ")])]):e._e(),e.userIsFree?e._e():s("div",[e.getIsSubscriber?s("div",[e._v("\n          Your Africam subscription is currently "),s("span",{domProps:{textContent:e._s(e.getSubscriptionStatus)}}),e._v(".\n        ")]):e._e(),e.getIsSubscriber||e.getHasSubscription?e._e():s("div",[e._v("\n          Africam offers premium content such as Ranger Insights, Ranger Pics and Rare sightings as well as an\n          "),s("span",{staticClass:"text-weight-medium"},[e._v("Ads Free")]),e._v(" experience to subscribers for just $4.99 (+VAT)/month.\n        ")]),!e.getIsSubscriber&&e.getHasSubscription?s("div",[e._v("\n          You previously had a subscription, why not subscribe again as Africam offers premium content such as Ranger\n          Insights, Ranger Pics and Rare sightings as well as an\n          "),s("span",{staticClass:"text-weight-medium"},[e._v("Ads Free")]),e._v(" experience to subscribers for just $4.99 (+VAT)/month.\n        ")]):e._e(),s("div",{staticClass:"text-center q-my-md"},[s("subscription-management")],1),s("div",{staticClass:"text-grey-7 text-07em q-mt-lg"},[s("strong",[e._v("N.B.")]),e._v(" Changes to your subscription can take up to 10 minutes to reflect.\n          If there is no update to your subscription status, please sign out and sign in again, alternatively\n          contact us to assist you.\n        ")])])],1),e.subscriptionsExist?s("q-card-section",[s("page-subheading",{attrs:{heading:"Subscription History"}}),s("q-list",{staticClass:"q-mt-md q-py-md full-width",attrs:{separator:""}},[s("q-item",{staticClass:"text-weight-bold"},[s("div",{staticClass:"row q-py-sm full-width"},[s("div",{staticClass:"col-2"},[e._v("\n              ID\n            ")]),s("div",{staticClass:"col-2"},[e._v("\n              Package\n            ")]),s("div",{staticClass:"col-2"},[e._v("\n              Status:\n            ")]),s("div",{staticClass:"col-2"},[e._v("\n              Last Update\n            ")]),s("div",{staticClass:"col-2"}),s("div",{staticClass:"col-2"})])]),e._l(e.subscriptions,(function(t,a){return s("q-item",{key:a},[s("div",{staticClass:"row vertical-middle q-py-sm full-width"},[s("div",{staticClass:"col-2"},[s("span",{domProps:{textContent:e._s(t.paddle_subscription_id)}})]),s("div",{staticClass:"col-2"},[s("span",{domProps:{textContent:e._s("Africam Premium")}})]),s("div",{staticClass:"col-2"},[s("span",{domProps:{textContent:e._s(t.status)}})]),s("div",{staticClass:"col-2"},[s("span",{domProps:{textContent:e._s(e.formatDateTime(t.last_event_ts))}})]),s("div",{staticClass:"col-2 text-center"},[e.subscriptionCancelled(t)?e._e():s("div",[s("q-btn",{staticClass:"text-shadow",attrs:{color:"brand-orange",size:"md"},on:{click:function(s){return e.openLink(t.update_url)}}},[e._v("Update\n                ")])],1)]),s("div",{staticClass:"col-2 text-center"},[e.subscriptionCancelled(t)?e._e():s("div",[s("q-btn",{staticClass:"text-shadow",attrs:{color:"brand-orange",size:"md"},on:{click:function(s){return e.openLink(t.cancel_url)}}},[e._v("Cancel\n                ")])],1)])])])}
1))],2)],1):e._e()],1)],1)},Dg=[],Vg=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.showHistory?s("div",[s("page-subheading",{attrs:{heading:"Payment History"}})],1):e._e()},zg=[],Mg={name:"PaymentHistoryComponent",computed:{subscriptionExists(){return!_.isEmpty(null===this||void 0===this?void 0:this.subscription)&&_.has(this.subscription,"id")}},data(){return{}},props:{showHistory:{type:Boolean,default:!1},subscription:{type:Object,default(){return{}}}}},jg=Mg,Qg=Object(Ee["a"])(jg,Vg,zg,!1,null,null,null),Ug=Qg.exports,Fg=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div")},Bg=[],Hg={name:"Template",data(){return{}},props:{prop:{type:Boolean,default:!1}}},Gg=Hg,Wg=Object(Ee["a"])(Gg,Fg,Bg,!1,null,null,null),Yg=Wg.exports,Kg=Object(ce["a"])("subscriptions"),Zg=Kg.mapActions,Jg=Kg.mapGetters,Xg=Object(ce["a"])("user"),ev=(Xg.mapActions,Xg.mapGetters),tv={name:"UserSubscription",components:{paymentHistory:Ug,subscriptionManagement:nd,Template:Yg},computed:ne()(ne()(ne()({},ev(["getAuthenticated","getHasSubscription","getIsFree","getIsSubscriber","getSubscriptionStatus","getUser"])),Jg(["getSubscriptions"])),{},{currentUser(){return this.getUser||{}},subscriptions(){var e;return null!==(e=null===this||void 0===this?void 0:this.getSubscriptions)&&void 0!==e?e:[]},subscriptionsExist(){return!_.isEmpty(null===this||void 0===this?void 0:this.subscriptions)},userIsFree(){var e;return null!==(e=null===this||void 0===this?void 0:this.getIsFree)&&void 0!==e&&e}}),methods:ne()(ne()({},Zg(["fetchSubscriptions"])),{},{formatDateTime(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;
1return _.isNil(e)?"":this.relativeDateTime(e)},openLink(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this;_.isNil(e)||Paddle.Checkout.open({override:e,successCallback:function(e){t.fetchSubscriptions()},closeCallback:function(e){t.fetchSubscriptions()}})},subscriptionCancelled(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return"deleted"===(null===e||void 0===e?void 0:e.status)}}),mixins:[hi],mounted(){this.fetchSubscriptions()}},sv=tv,av=Object(Ee["a"])(sv,Lg,Dg,!1,null,null,null),iv=av.exports;ze()(av,"components",{QCard:Ne["a"],QCardSection:Oe["a"],QList:gr["a"],QItem:vr["a"],QBtn:De["a"],QItemSection:fr["a"]});var ov=Object(ce["a"])("user"),rv=ov.mapActions,nv=ov.mapGetters,lv={name:"UserProfilePage",components:{gallery:pg,notifications:Cg,profile:Og,subscription:iv,tags:pc},computed:ne()(ne()({},nv(["getAuthenticated","getHasSubscription","getIsSubscriber","getUser"])),{},{currentUser(){return this.getUser},galleryTabLabel(){return this.$q.screen.width,"Photos"},notificationsTabLabel(){return this.$q.screen.width>600?"Alert Preferences":(this.$q.screen.width,"Alerts")},profileTabLabel(){return this.$q.screen.width,"Profile"},tagsTabLabel(){return this.$q.screen.width,"SafariSnaps"},subscriptionStatus(){return this.getIsSubscriber?"Currently Subscribed":"You are not currently subscribed"}}),data(){return{doSubscription:!1,firstLoad:!1,section:null,showWelcome:!1}},methods:ne()(ne()({},rv(["fetchUser"])),nv(["getAuthenticated","getIsSubscriber"])),mixins:[mi],mounted(){var e=_.get(this,"$route.params.section",null);"welcome"===e&&(this.$set(this,"firstLoad",!0),this.$set(this,"showWelcome",!0),this.$set(this,"section","profile")),this.fetchUser()},watch:{"$route.params.section"(e){_.isNil(e)||(this.section=e,this.firstLoad&&"profile"!==e&&(this.$set(this,"firstLoad",!1),this.$set(this,"showWelcome",!1)))}}},cv=lv,dv=s("7867"),uv=Object(Ee["a"])(cv,ag,ig,!1,null,null,null),hv=uv.exports;ze()(uv,"components",{QPage:Ci["a"],QTabs:rc["a"],QRouteTab:dv["a"],QSeparator:Go["a"],QTabPanels:lc["a"],QTabPanel:cc["a"]});var mv=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",[a("q-page",{class:[t.appPadding]},[t.getIsSubscriber?t._e():a("ad-leaderboard"),a("div",{staticClass:"row justify-center",class:t.getIsSubscriber?"q-my-xl":"q-mb-xl"},[a("div",{staticClass:"app-width col-12"},[t.filteredVideos?a("div",{staticClass:"col-md-12 col-lg-5 text-h4 text-weight-medium q-pb-xs",domProps:{textContent:t._s(t.pageLabel)}}):t._e(),t.filteredVideos?a("div",{staticClass:"text-subtitle q-pb-md"},[t._v("\n              Click on a video to play it.\n            ")]):t._e(),a("router-link",{attrs:{to:{name:"afriexpert"}}},[t.filteredVideos?a("q-btn",{attrs:{outline:"",color:"grey","text-color":"",icon:"fa fa-chevron-left",label:"Back to Animals A-Z"}}):t._e()],1),t.learnLink||t.filteredVideos?t._e():a("div",[a("page-title",{attrs:{title:"Latest Sightings"}}),a("p",[t._v("\n          Select one of the clips to catch up with our recent sightings\n        ")])],1),t.learnLink?a("div",[a("page-title",{attrs:{title:"Ranger Insights"}}),a("p",[t._v("\n          Click on an insight to watch it.\n        ")])],1):t._e(),a("div",{staticClass:"row q-mb-sm"},[a("div",{staticClass:"text-right col-xs-12 text-smaller text-grey-5"},[t._v("\n            Videos Per Row\n            "),a("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:t.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:t.perRow,callback:function(e){t.perRow=e},expression:"perRow"}})],1)]),t.filteredVideos||t.learnLink?t._e():a("q-infinite-scroll",{ref:"videoScroller1",staticClass:"row q-col-gutter-lg q-mt-md",attrs:{offset:4e3},on:{load:t.loadMoreVideos},scopedSlots:t._u([{key:"loading",fn:function(){return[a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",{staticClass:"text-center"},[a("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[t._v("Loading videos")]),a("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}],null,!1,1068250645)},[t._l(t.currentHighlights,(function(e,s){return[t.injectAdvert(s)&&!t.getIsSubscriber?a("div",{staticClass:"col-xs-12 q-py-md text-center"},[t.adsOn?a("ad-horizontal-long",{attrs:{"slot-size":t.slotSize}}):t._e(),a("q-resize-observer",{attrs:{debounce:"250"},on:{resize:t.adSlotResize}})],1):t._e(),a("div",{staticClass:"cursor-pointer q-pa-sm",class:t.columnClasses},[t.videoIsHighlight(e)?a("video-highlight-preview",{attrs:{highlight:e,ratio:16/9}}):t._e(),t.videoIsInsight(e)?a("video-highlight-preview",{attrs:{highlight:e,ratio:16/9,"label-colour":"ranger-insight",label:"RANGER INSIGHT"}}):t._e(),t.videoIsPick(e)?a("div",{on:{click:function(s){return t.showPremiumVideo(e)}}},[a("ranger-video-preview",{attrs:{highlight:e,ratio:16/9,"label-colour":"ranger-picks",label:"RANGER PICK"},on:{click:function(s){return t.showPremiumVideo(e)}}})],1):t._e(),t.videoIsRareSighting(e)?a("div",{on:{click:function(s){return t.showPremiumVideo(e)}}},[a("ranger-video-preview",{attrs:{highlight:e,ratio:16/9,"label-colour":"rare-sighting",label:"RARE SIGHTING"},on:{click:function(s){return t.showPremiumVideo(e)}}})],1):t._e()],1)]}))],2),t.learnLink?a("q-infinite-scroll",{ref:"videoScroller2",staticClass:"row q-col-gutter-lg q-mt-md",attrs:{offset:4e3},on:{load:t.loadInsightVideos},scopedSlots:t._u([{key:"loading",fn:function(){return[a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",{staticClass:"text-center"},[a("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[t._v("Loading videos")]),a("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}],null,!1,1068250645)},[t._l(t.currentHighlights,(function(e,s){return[t.injectAdvert(s)&&!t.getIsSubscriber?a("div",{staticClass:"col-xs-12 q-py-md text-center"},[t.adsOn?a("ad-horizontal-long",{attrs:{"slot-size":t.slotSize}}):t._e(),a("q-resize-observer",{attrs:{debounce:"250"},on:{resize:t.adSlotResize}})],1):t._e(),a("div",{staticClass:"cursor-pointer q-pa-sm",class:t.columnClasses},[t.videoIsInsight(e)?a("video-highlight-preview",{attrs:{highlight:e,ratio:16/9,"label-colour":"ranger-insight",label:"RANGER INSIGHT"}}):t._e()],1)]}))],2):t._e(),t.filteredVideos?a("q-infinite-scroll",{ref:"videoScroller3",staticClass:"row q-col-gutter-lg q-mt-md",attrs:{offset:4e3},on:{load:t.loadFilteredVideos},scopedSlots:t._u([{key:"loading",fn:function(){return[a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",{staticClass:"text-center"},[a("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[t._v("Loading videos")]),a("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}],null,!1,1068250645)},[t._l(t.currentHighlights,(function(e,s){return[t.injectAdvert(s)&&!t.getIsSubscriber?a("div",{staticClass:"col-xs-12 q-py-md text-center"},[t.adsOn?a("ad-horizontal-long",{attrs:{"slot-size":t.slotSize}}):t._e(),a("q-resize-observer",{attrs:{debounce:"250"},on:{resize:t.adSlotResize}})],1):t._e(),a("div",{staticClass:"cursor-pointer q-pa-sm",class:t.columnClasses},[t.videoIsHighlight(e)?a("video-highlight-preview",{attrs:{highlight:e,ratio:16/9}}):t._e(),t.videoIsInsight(e)?a("video-highlight-preview",{attrs:{highlight:e,ratio:16/9,"label-colour":"ranger-insight",label:"RANGER INSIGHT"}}):t._e()],1)]}))],2):t._e(),a("div",{staticClass:"row"},[t.allVideosAreLoaded?a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",{staticClass:"text-center"},[a("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[t._v(" All Video Highlights have been loaded.")])])]):t._e()])],1)]),t.adsOn?a("ad-horizontal-long",{attrs:{"slot-size":t.$q.screen.width}}):t._e(),a("video-highlight-preview",{staticClass:"hidden",attrs:{ratio:16/9,highlight:t.focusedVideo,"show-modal":t.showFocusedVideo}}),a("direct-stream-player",{attrs:{"show-video":t.showPremiumVideoModal,video:t.currentPremiumVideo}
1,on:{"modal-closed":t.directStreamPlayerClosed}}),a("upgrade-prompt",{attrs:{action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}})],1),a("site-footer")],1)},pv=[],gv=Object(ce["a"])("user"),vv=gv.mapGetters,fv={name:"VideoHighlightsPage",components:{rangerVideoPreview:Gh},computed:ne()(ne()({},vv(["getAuthenticated","getIsSubscriber"])),{},{columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},currentHighlights(){return this.videos},pageLabel(){return"All "+this.filteredAnimalName+" "+this.linkText}}),created(){_.get(this,"$route.params.id",!1)&&this.getFocusedVideo()},data(){return{allVideosAreLoaded:!1,currentPremiumVideo:{storage_reference:null},fetchingVideos:!1,focusedVideo:{},adsOn:!1,lastPage:1,loadingVideos:!1,options:[{label:"Highlight",value:"highlight"},{label:"Ranger Insight",value:"insight"},{label:"Ranger Pick",value:"pick"},{label:"Rare Sighting",value:"rare"}],perRow:3,showFocusedVideo:!1,showPremiumVideoModal:!1,showUpgradePrompt:!1,slotSize:0,upgradeAction:{},filteredAnimalId:_.get(this,"$route.query.filteredAnimalId",!1)?_.get(this,"$route.query.filteredAnimalId",!1):"",filteredType:_.get(this,"$route.query.filteredType",!1)?_.get(this,"$route.query.filteredType",!1):null,upgradeCTA:"",upgradeMessage:"",filteredAnimalName:_.get(this,"$route.query.filteredAnimalName",!1)?_.get(this,"$route.query.filteredAnimalName",!1):"",linkText:_.get(this,"$route.query.linkText",!1)?_.get(this,"$route.query.linkText",!1):"",learnLink:!!_.get(this,"$route.query.learnLink",!1)&&_.get(this,"$route.query.learnLink",!1),videos:[],filteredVideos:!!_.get(this,"$route.query.filteredVideos",!1)&&_.get(this,"$route.query.filteredVideos",!1),videoTypes:["highlight","insight","pick","rare"],highlightVideoType:["highlight"],insightVideoType:["insight"]}},methods:{adSlotResize(e){this.slotSize=e.width},directStreamPlayerClosed(){this.showPremiumVideoModal=!1},filterBy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||_.includes(this.videoTypes,e)||this.videoTypes.push(e)},getFocusedVideo(){var e=this;e.$axios.post("/api/videos",{filters:{type:["highlight","insight","pick","rare"],id:_.get(e,"$route.params.id",null),animal:23}}).then((function(t){var s=_.get(t,"data.data",[]);_.isArray(s)&&!_.isEmpty(s)&&(e.$set(e,"focusedVideo",s[0]),e.$nextTick((function(){e.showFocusedVideo=!0})),e.$log("FOCUSED VIDEO:",e.focusedVideo))}))},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0},loadMoreVideos(e,t){var s=this;if(e>s.lastPage)return t(),void(s.allVideosAreLoaded=!0);console.log("THESE ARE NON FILTERED VIDEOS"),console.log("FILTERED ANIMAL ID"),console.log(this.filteredAnimalId),console.log("FILTERED ANIMAL TYPE"),console.log(this.filteredType),console.log("CURRENT VIDEO TYPES"),console.log(this.videoTypes),s.$axios.post("/api/videos",{filters:{type:this.videoTypes},page:e||1,per_page:s.dbPageSize(),paginate:1}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.videos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){s.loadingVideos=!1,console.log("LOADING VIDEOS FINISHED"),t()}))},loadFilteredVideos(e,t){var s,a=this;if(e>a.lastPage)return t(),void(a.allVideosAreLoaded=!0);"highlight"===a.filteredType?a.videoTypes=a.highlightVideoType:"insight"===a.filteredType&&(a.videoTypes=a.insightVideoType),console.log("CHECKING FOR FILTERED VIDEOS"),console.log("FILTERED ANIMAL ID"),console.log(this.filteredAnimalId),console.log("FILTERED ANIMAL TYPE"),console.log(this.filteredType),console.log("CURRENT VIDEO TYPES"),console.log(this.videoTypes),a.$axios.post("/api/videos",{filters:{type:this.videoTypes,animal:null!==(s=a.filteredAnimalId)&&void 0!==s?s:""},page:e||1,per_page:a.dbPageSize(),paginate:1}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){a.videos.push(e)})),a.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){a.loadingVideos=!1,console.log("LOADING VIDEOS FINISHED"),t()}))},loadInsightVideos(e,t){var s=this;if(e>s.lastPage)return t(),void(s.allVideosAreLoaded=!0);s.videoTypes=s.insightVideoType,console.log("CHECKING FOR FILTERED VIDEOS"),console.log("FILTERED ANIMAL ID"),console.log(this.filteredAnimalId),console.log("FILTERED ANIMAL TYPE"),console.log(this.filteredType),console.log("CURRENT VIDEO TYPES"),
1console.log(this.videoTypes),s.$axios.post("/api/videos",{filters:{type:this.videoTypes},page:e||1,per_page:s.dbPageSize(),paginate:1}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.videos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){s.loadingVideos=!1,console.log("LOADING VIDEOS FINISHED"),t()}))},showPremiumVideo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!this.getIsSubscriber)return this.upgradeAction={name:"premium"},this.upgradeCTA="Register Now",this.upgradeMessage="Highlight videos are always free, but our premium content (Picks, Insights & Rare Sightings) are only for our registered users.",void(this.showUpgradePrompt=!0);_.isNil(_.get(e,"storage_reference",null))||(this.currentPremiumVideo=e,this.showPremiumVideoModal=!0)},videoIsHighlight(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"highlight")},videoIsInsight(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"insight")},videoIsPick(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"pick")},videoIsRareSighting(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"rare")}},mixins:[hi,mi],mounted(){var e=this;e.perRow=e.sensibleRowsPerPage(3,"highlightsPerRow"),e.$refs.videoScroller1.trigger(),e.$refs.videoScroller2.trigger(),e.$refs.videoScroller3.trigger()},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)},videoTypes(){var e=this;this.$nextTick((function(){e.videos=[],e.$refs.videoScroller.reset(),e.$refs.videoScroller.trigger()}))}},props:{id:{default:"",required:!1,type:String}}},bv=fv,wv=Object(Ee["a"])(bv,mv,pv,!1,null,null,null),yv=wv.exports;ze()(wv,"components",{QPage:Ci["a"],QBtn:De["a"],QBtnToggle:So["a"],QInfiniteScroll:uo["a"],QResizeObserver:ho["a"],QSpinnerDots:mo["a"]});var xv=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",[a("q-page",{class:[t.appPadding]},[t.getIsSubscriber||t.isLodge?t._e():a("ad-leaderboard"),t.isLodge?a("div",{staticClass:"q-pb-xl"}):t._e(),a("div",{staticClass:"row justify-center",class:t.getIsSubscriber?"q-my-xl":"q-mb-xl"},[a("div",{staticClass:"app-width col-12"},[t.isLodge?t._e():a("div",{staticClass:"col-md-12 col-lg-5 text-h4 text-weight-medium q-pb-xs",domProps:{textContent:t._s(t.pageLabel)}}),t.isLodge?a("div",{staticClass:"col-md-12 col-lg-5 text-h4 text-weight-medium q-pb-xs",domProps:{textContent:t._s(t.lodgeLabel)}}):t._e(),a("div",{staticClass:"text-subtitle q-pb-md"},[t._v("\n              Click on a video to play it.\n            ")]),a("div",{staticClass:"col-md-12 col-lg-7",class:t.$q.screen.gt.lg?"text-right q-pt-lg":""},[a("q-option-group",{directives:[{name:"show",rawName:"v-show",value:t.showVideoSelector,expression:"showVideoSelector"}],ref:"videoResultOptionSelector",attrs:{name:"accepted_genres",options:t.options,type:"checkbox",color:"primary",inline:""},model:{value:t.videoTypes,callback:function(e){t.videoTypes=e},expression:"videoTypes"}})],1),a("div",{staticClass:"row q-mb-sm"},[a("div",{class:t.backButtonColClass},[t.isLodge?t._e():a("q-btn",{attrs:{color:"black","text-color":"white",ripple:"",icon:"fa fa-chevron-left",label:t.backButtonLabel},on:{click:function(e){return t.$router.back()}}})],1),a("div",{staticClass:"text-right col-xs-12 text-smaller text-grey-5"},[t._v("\n            Videos Per Row\n            "),a("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:t.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:t.perRow,callback:function(e){t.perRow=e},expression:"perRow"}})],1)]),a("q-infinite-scroll",{ref:"videoScroller",staticClass:"row q-col-gutter-lg q-mt-md",attrs:{offset:2e3},on:{load:t.loadMoreVideos},scopedSlots:t._u([{key:"loading",fn:function(){return[a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",{staticClass:"text-center"},[a("span",{staticClass:"\n                    q-mr-sm\n                    text-weight-bold text-caption text-uppercase text-grey-6\n                  "},[t._v("Loading videos")]),a("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}])},[t._l(t.currentHighlights,(function(e,s){return[t.injectAdvert(s)&&!t.getIsSubscriber?a("div",{key:"vad-"+s,staticClass:"col-xs-12 q-py-md text-center"},[t.adsOn&&!t.isLodge?a("ad-horizontal-long",{attrs:{"slot-size":t.slotSize}}):t._e(),a("q-resize-observer",{attrs:{debounce:"250"},on:{resize:t.adSlotResize}})],1):t._e(),a("div",{key:"vhighlight-"+s,staticClass:"cursor-pointer q-pa-sm",class:t.columnClasses},[t.videoIsHighlight(e)||t.videoIsDestination(e)?a("video-highlight-preview",{attrs:{highlight:e,ratio:16/9}}):t._e(),t.videoIsInsight(e)?a("video-highlight-preview",{attrs:{highlight:e,ratio:16/9,"label-colour":"ranger-insight",label:"RANGER INSIGHT"}}):t._e(),t.videoIsPick(e)?a("div",{on:{click:function(s){return t.showPremiumVideo(e)}}},[a("ranger-video-preview",{attrs:{highlight:e,ratio:16/9,"label-colour":"ranger-picks",label:"RANGER PICK"},on:{click:function(s){return t.showPremiumVideo(e)}}})],1):t._e(),t.videoIsRareSighting(e)?a("div",{on:{click:function(s){return t.showPremiumVideo(e)}}},[a("ranger-video-preview",{attrs:{highlight:e,ratio:16/9,"label-colour":"rare-sighting",label:"RARE SIGHTING"},on:{click:function(s){return t.showPremiumVideo(e)}}})],1):t._e(),t.videoIsLodge(e)?a("video-highlight-preview",{attrs:{highlight:e,ratio:16/9,"label-colour":"rare-sighting",label:"TEST"}}):t._e()],1)]}))],2),a("div",{staticClass:"row"},[t.allVideosAreLoaded?a("div",{staticClass:"col-12 full-width q-my-md"},[a("div",{staticClass:"text-center"},[a("span",{staticClass:"\n                  q-mr-sm\n                  text-weight-bold text-caption text-uppercase text-grey-6\n                "},[t._v("\n                All Video Highlights have been loaded.")])])]):t._e()])],1)]),t.adsOn&&!t.isLodge?a("ad-horizontal-long",{attrs:{"slot-size":t.$q.screen.width}}):t._e(),a("video-highlight-preview",{staticClass:"hidden",attrs:{ratio:16/9,highlight:t.focusedVideo,"show-modal":t.showFocusedVideo}}),a("direct-stream-player",{attrs:{"show-video":t.showPremiumVideoModal,video:t.currentPremiumVideo}
1,on:{"modal-closed":t.directStreamPlayerClosed}}),a("upgrade-prompt",{attrs:{action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}})],1),a("site-footer")],1)},qv=[],_v=Object(ce["a"])("user"),Sv=_v.mapGetters,Cv=Object(ce["a"])("destination"),Av=Cv.mapGetters,kv={name:"VideoResultsPage",components:{rangerVideoPreview:Gh},computed:ne()(ne()(ne()({},Sv(["getAuthenticated","getIsSubscriber"])),Av(["getDestinationBySlug"])),{},{columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},currentHighlights(){return this.videos},destination(){var e,t=this;return t.getDestinationBySlug(null===(e=t.$route.params)||void 0===e?void 0:e.slug)},destinationVideoText(){var e;return null===(e=this.$route.params)||void 0===e?void 0:e.destinationVideoText},showVideoSelector(){return!_.get(this,"$route.query.type",!1)},backButtonColClass(){return this.$q.screen.width<=480?"col-xs-12 col-md-6 text-center q-mb-md":"col-xs-12 col-md-6 text-left"},backButtonLabel(){return`${this.destination.name} Stream`},lodgeLabel(){return this.lodgeName},pageLabel(){var e,t,s,a=this,i=_.get(this,"$route.query.type",!1)?null!==(e=null===(t=this.$data.options.filter((function(e){return e.value===_.get(a,"$route.query.type",!1)})).pop())||void 0===t?void 0:t.label)&&void 0!==e?e:"Videos":"Highlights";return console.log({videoTypeTitle:i}),`All ${null===(s=this.destination)||void 0===s?void 0:s.name} ${this.destinationVideoText}`}}),created(){_.get(this,"$route.params.id",!1)&&this.getFocusedVideo()},data(){return{allVideosAreLoaded:!1,currentPremiumVideo:{storage_reference:null},fetchingVideos:!1,lodgeName:_.get(this,"$route.query.lodgeName",!1),focusedVideo:{},lastPage:1,loadingVideos:!1,isLodge:!!_.get(this,"$route.query.isLodge",!1)&&_.get(this,"$route.query.isLodge",!1),options:[{label:"Highlights",value:"highlight"},{label:"Ranger Insights",value:"insight"},{label:"Destinations",value:"destination"},{label:"Lodges",value:"lodge"}],perRow:3,showFocusedVideo:!1,showPremiumVideoModal:!1,showUpgradePrompt:!1,slotSize:0,upgradeAction:{},upgradeCTA:"",upgradeMessage:"",videos:[],videoTypes:_.get(this,"$route.query.type",!1)?[_.get(this,"$route.query.type",!1)]:["lodge","highlight","insight","destination"],allVideoTypes:["lodge","highlight","insight","destination"]}},methods:{adSlotResize(e){this.slotSize=e.width},checkLodge(){return"true"===this.isLodge?(console.log(this.isLodge),!0):(console.log(this.isLodge),!1)},directStreamPlayerClosed(){this.showPremiumVideoModal=!1},filterBy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||_.includes(this.videoTypes,e)||this.videoTypes.push(e)},getFocusedVideo(){var e=this;e.$axios.post("/api/videos",{filters:{type:e.videoTypes,id:_.get(e,"$route.params.id",null)}}).then((function(t){var s=_.get(t,"data.data",[]);_.isArray(s)&&!_.isEmpty(s)&&(e.$set(e,"focusedVideo",s[0]),e.$nextTick((function(){e.showFocusedVideo=!0})),e.$log("FOCUSED VIDEO:",e.focusedVideo))}))},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0},loadMoreVideos(e,t){var s,a,i=this;if(e>i.lastPage)return t(),void(i.allVideosAreLoaded=!0);i.loadingVideos=!0,i.$axios.post("/api/videos",{filters:{type:i.videoTypes,destination:null!==(s=null===(a=i.$route.params)||void 0===a?void 0:a.slug)&&void 0!==s?s:""},page:e||1,per_page:i.dbPageSize(),paginate:1}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){i.videos.push(e)})),i.lastPage=_.get(e,"data.meta.pagination.total_pages",2)})).finally((function(){i.loadingVideos=!1,t()}))},showPremiumVideo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!this.getIsSubscriber)return this.upgradeAction={name:"premium"},this.upgradeCTA="Register Now",this.upgradeMessage="Highlight videos are always free, but our premium content (Picks, Insights & Rare Sightings) are only for our registered users.",void(this.showUpgradePrompt=!0);_.isNil(_.get(e,"storage_reference",null))||(this.currentPremiumVideo=e,this.showPremiumVideoModal=!0)},videoIsHighlight(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"highlight")},videoIsInsight(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"insight")},videoIsLodge(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"lodge")},videoIsPick(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"pick")},videoIsRareSighting(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"rare")},videoIsDestination(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"type")&&_.isEqual(e.type,"destination")}}
1,mixins:[hi,mi],mounted(){var e=this;e.perRow=e.sensibleRowsPerPage(3,"highlightsPerRow"),e.$refs.videoScroller.trigger()},props:{slug:{default:"",type:String}},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)},videoTypes(){var e=this;this.$nextTick((function(){e.videos=[],e.$refs.videoScroller.reset(),e.$refs.videoScroller.trigger()}))}}},Tv=kv,Pv=s("9f0a"),Iv=Object(Ee["a"])(Tv,xv,qv,!1,null,null,null),$v=Iv.exports;ze()(Iv,"components",{QPage:Ci["a"],QOptionGroup:Pv["a"],QBtn:De["a"],QBtnToggle:So["a"],QInfiniteScroll:uo["a"],QResizeObserver:ho["a"],QSpinnerDots:mo["a"]});var Ev=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.rowSelected?s("div",{staticClass:"q-pa-md"},[s("div",{staticClass:"row"},[s("q-btn",{staticClass:"q-pr-sm",attrs:{outline:"",dense:"",color:"grey",label:"Back To Leaderboard",icon:"fas fa-chevron-left"},on:{click:function(t){e.rowSelected=!1}}})],1),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<600?"col-12 q-pa-md text-h7":"col-12 q-pa-md text-h5"},[s("selected-user-gallery",{attrs:{selectedUserId:e.selectedUserId}})],1)])]):e._e(),e.rowSelected?e._e():s("div",{staticClass:"row justify-center",class:e.getIsSubscriber?"q-my-xl":"q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"col-12 text-left q-pl-md text-h4 q-pt-md"},[s("q-img",{staticClass:"afritag-logo",attrs:{"no-default-spinner":"",src:"/images/afritag-logo.svg"}})],1),s("div",{staticClass:"q-pa-xs"},[s("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:e.launchGuidelines}},[s("span",{staticClass:"link-underline"},[e._v("SafariSnap Guidelines")])]),s("q-btn",{attrs:{"no-caps":"",flat:"",size:"md"},on:{click:e.launchFaq}},[s("span",{staticClass:"link-underline"},[e._v("SafariSnap FAQ")])])],1),s("div",{staticClass:"row q-mb-sm q-mt-xl"},[s("div",{class:e.backButtonColClass},[s("q-btn",{attrs:{color:"black","text-color":"white",ripple:"",icon:"fa fa-chevron-left",label:e.backButtonLabel},on:{click:function(t){return e.$router.back()}}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12"},[s("animals-tagged",{attrs:{isPage:!0,stream:e.stream}})],1)])])])]),s("site-footer"),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showGuidelines=!1}},model:{value:e.showGuidelines,callback:function(t){e.showGuidelines=t},expression:"showGuidelines"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-guidelines")],1)],1)],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showFaq=!1}},model:{value:e.showFaq,callback:function(t){e.showFaq=t},expression:"showFaq"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-faq")],1)],1)],1)],1)},Rv=[],Nv=Object(ce["a"])("photos"),Ov=(Nv.mapGetters,Nv.mapActions),Lv=Object(ce["a"])("user"),Dv=Lv.mapGetters,Vv=Object(ce["a"])("destination"),zv=Vv.mapGetters,Mv={components:{afritagGuidelines:Yi,afritagFaq:to,selectedUserGallery:go},name:"AllDestinationAnimalsTagged",computed:ne()(ne()(ne()({},Dv(["getAuthenticated","getIsSubscriber"])),zv(["getDestinationBySlug"])),{},{backButtonLabel(){return`${this.getDestinationBySlug(this.$props.slug).name} Stream`},backButtonColClass(){return this.$q.screen.width<=480?"col-xs-12 col-md-6 text-center q-mb-md":"col-xs-12 col-md-6 text-left"},stream(){var e=this.getDestinationBySlug(this.$props.slug).streams[0];return e.max=200,e},columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio},currentHighlights(){return this.photos}}),created(){_.get(this,"$route.params.id",!1)&&this.getFocusedPhoto()}
1,data(){return{allPhotosAreLoaded:!1,showGuidelines:!1,showFaq:!1,fetchingPhotos:!1,focusedPhoto:{},lastPage:1,meta:{title:"Africam Latest Afritags."},selectedUserId:"",rowSelected:!1,perRow:3,photos:[],showFocusedPhoto:!1,slotSize:0,data:[]}},meta(){return{title:this.meta.title}},methods:ne()(ne()({},Ov(["clearPhotos","fetchPhotos"])),{},{adSlotResize(e){this.slotSize=e.width},launchGuidelines(){this.showGuidelines=!0},launchFaq(){this.showFaq=!0},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0}}),mixins:[hi,mi],mounted(){},props:{slug:{default:{},required:!0,type:String}},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)}}},jv=Mv,Qv=Object(Ee["a"])(jv,Ev,Rv,!1,null,null,null),Uv=Qv.exports;ze()(Qv,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QDialog:Re["a"],QCard:Ne["a"],QIcon:Ai["a"],QCardSection:Oe["a"]}),ze()(Qv,"directives",{ClosePopup:Y["a"]});var Fv=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",{attrs:{id:"junior-ranger"}},[a("q-page",{class:[t.appPadding]},[a("div",{staticClass:"row justify-center q-mb-xl"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"row"},[t.selectedTitle?t._e():a("div",{staticClass:"app-width col-xs-12 col-sm-8 col-md-8 q-pt-md"},[a("page-title",{attrs:{title:"Junior Ranger"}}),a("p",[t._v("\n           Watch the video below on how to become a Junior Ranger or click on one of the images to start learning.\n         ")])],1),t.selectedTitle?t._e():a("div",{staticClass:"text-caption q-mt-lg q-pl-xs col-xs-12 col-sm-4 col-md-4 link-underline cursor-pointer"},[a("q-img",{staticClass:"cursor-pointer",staticStyle:{width:"100%"},attrs:{"no-default-spinner":"",src:"/images/junior-ranger-cta.jpg"},on:{click:t.launchRangerVideo}})],1)]),t.courseHasBegun&&t.selectedTitle?a("div",{staticClass:"row"},[a("div",{staticClass:"col-xs-12"},[a("q-tabs",{staticClass:"shadow-2 module-tabs-navigation",attrs:{align:"justify","outside-arrows":"","mobile-arrows":""},model:{value:t.selectedModuleId,callback:function(e){t.selectedModuleId=e},expression:"selectedModuleId"}},t._l(t.modules,(function(e,s){return a("q-tab",{key:s,class:[t.isFutureModule(e)?"bg-grey-2":"",""],attrs:{disable:t.isFutureModule(e),name:e.id}},[a("div",{staticClass:"col q-pa-sm"},[a("div",{staticClass:"text-weight-medium text-07em",domProps:{textContent:t._s(e.title)}})]),t.isFutureModule(e)?a("q-tooltip",[t._v("\n                   Coming Soon")]):t._e()],1)})),1)],1)]):t._e(),t.selectedTitle?t._e():a("div",{staticClass:"row q-col-gutter-sm q-mt-md q-mb-lg"},[t._l(t.modules,(function(e,s){return a("div",{staticClass:"col-md-4 col-sm-4 col-xs-6"},[a("q-img",{staticClass:"cursor-pointer",attrs:{src:e.cover,ratio:16/9},on:{click:function(s){t.selectedModuleId=e.id}}}),a("div",{staticClass:"text-uppercase\n                                   text-center\n                                   q-pt-sm\n                                   text-weight-medium\n                                   text-07em",domProps:{textContent:t._s(e.title)}})],1)}))],2),a("div",{staticClass:"row q-my-md"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"text-h4 text-left q-mt-md"},[t.selectedTitle||t.getIsSubscriber?t._e():a("div",{staticClass:"text-body2"},[t._v("\n                              PREMIUM ONLY: Subscribe for a 14 day free trial with unlimited access to the Junior Ranger courses released every month.\n                         ")]),t.getIsSubscriber||t.selectedTitle?t._e():a("div",[a("q-btn",{attrs:{to:{name:"subscribe"},size:"md",color:"brand-orange"}},[t._v("Subscribe")])],1),a("span",{staticClass:"text-weight-medium",domProps:{textContent:t._s(t.selectedTitle)}})]),a("div",{staticClass:"text-h8 text-weight-medium",domProps:{textContent:t._s(t.selectedDescription)}})])]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xs-12"},[t.selectedAssignments?t._e():a("div",{staticClass:"text-h4 text-weight-medium q-my-xl"},[t._v("Assignments")]),a("div",{staticClass:"row q-col-gutter-lg"},t._l(t.selectedAssignments,(function(e,s){return a("div",{key:s,class:t.$q.screen.width<600?"col-4 full-width":"col-4"},[a("assignment-preview",{attrs:{assignment:e}})],1)})),0)])]),t.factsExist&&t.courseHasBegun?a("div",{staticClass:"row"},[a("div",{staticClass:"col-xs-12"},[a("div",{staticClass:"text-h4 text-center q-my-xl"},[t._v("Folklores and Facts")]),a("div",{staticClass:"row q-col-gutter-lg"},t._l(t.selectedFacts,(function(e,s){return a("div",{key:s,class:t.$q.screen.width<600?"col-4 full-width":"col-4"},[a("fun-fact-preview",{attrs:{fact:e}})],1)})),0)])]):t._e(),t.factsExist&&t.courseHasBegun?a("div",{staticClass:"text-body2 text-center q-my-lg"},[t._v(" If you've enjoyed these stories and want to read more. You can buy the book \n             "),a("q-btn",{attrs:{size:"10px",type:"a",href:"https://www.amazon.com/When-Lion-Could-Fly-Africa/dp/0718828879",target:"_blank"}},[t._v("  HERE")])],1):t._e(),t.qandasExist&&t.courseHasBegun?a("div",{staticClass:"row"},[a("div",{staticClass:"col-xs-12"},[a("div",{staticClass:"text-h4 text-weight-medium q-my-xl"},[t._v("Questions and Answers")]),a("div",{staticClass:"row q-col-gutter-lg"},t._l(t.selectedQandas,(function(e,t){return a("div",{key:t,staticClass:"col-4"},[a("q-and-a-preview",{attrs:{qanda:e}})],1)})),0)])]):t._e()])]),a("q-dialog",{on:{hide:function(){e.showAlertDialog=!1}},model:{value:t.showAlertDialog,callback:function(e){t.showAlertDialog=e},expression:"showAlertDialog"}},[a("q-card",[a("q-card-section",[a("div",{staticClass:"text-h6",domProps:{textContent:t._s(t.alertMessageTitle)}})]),a("q-card-section",{staticClass:"q-pt-none",domProps:{innerHTML:t._s(t.alertMessage)}}),a("q-card-actions",{attrs:{align:"right"}},[a("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}
1],attrs:{flat:"",label:"DISMISS",color:"primary"},on:{click:t.dismissAlert}})],1)],1)],1)],1),a("site-footer"),a("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(e){t.aboutVideo=!1}},model:{value:t.aboutVideo,callback:function(e){t.aboutVideo=e},expression:"aboutVideo"}},[a("q-card",{staticClass:"q-pa-md",style:t.imageWidth},[a("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),a("q-card-section",[a("youtube",{staticClass:"rounded-borders",attrs:{autoplay:t.autoplay,previewImageSize:"maxresdefault",src:"https://www.youtube.com/embed/U5thM7D4_rc?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"}})],1)],1)],1)],1)},Bv=[],Hv=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"fit bg-red"},[a("q-card",{staticClass:"full-height bg-white",attrs:{flat:!t.hovering,rounded:""},on:{mouseleave:t.out,mouseenter:t.over}},[a("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{ratio:t.ratio,src:t.src,transition:"fade"},scopedSlots:t._u([{key:"loading",fn:function(){return[a("q-spinner-dots",{attrs:{size:"0.5em",color:"brand-orange"}})]},proxy:!0}])}),a("q-card-section",[a("div",{staticClass:"text-h6",domProps:{textContent:t._s(t.assignment.title)}})]),a("q-card-section",{staticClass:"q-pt-none text-08em",domProps:{textContent:t._s(t.assignment.summary)}}),a("q-card-actions",{attrs:{align:"right"}},[a("q-btn",{attrs:{color:"brand-orange",flat:""},on:{click:t.openLink}},[t._v("Open")])],1)],1),a("upgrade-prompt",{attrs:{action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}})],1)},Gv=[],Wv=s("b06b"),Yv=Object(ce["a"])("user"),Kv=Yv.mapGetters,Zv={name:"AssignmentPreview",computed:ne()(ne()({},Kv(["getAuthenticated","getIsSubscriber"])),{},{description(){return _.get(this.assignment,"description","")},link(){return _.get(this.assignment,"resource_link",null)},src(){var e,t;return _.get(this.assignment,"cover","")+"?nc="+(null!==(e=null===this||void 0===this||null===(t=this.assignment)||void 0===t?void 0:t.updated_ts)&&void 0!==e?e:this.randomIntFromInterval(1e4,1e5))},summary(){return _.get(this.assignment,"summary","")},title(){return _.get(this.assignment,"title","Assignment")}}),data(){return{hovering:!1,showUpgradePrompt:!1}},methods:{openLink(){if(!this.getIsSubscriber)return this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="The Junior Ranger Program is only available on Africam Premium. Subscribe now to access our range of courses and additional downloadable content.",void(this.showUpgradePrompt=!0);!_.isNil(this.link)&&_.includes(this.link,"http")&&Object(Wv["a"])(this.link)},out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)}},mixins:[hi,mi],props:{assignment:{type:Object,required:!0,default(){return{}}},ratio:{type:Number,default:16/9}}},Jv=Zv,Xv=(s("9081"),Object(Ee["a"])(Jv,Hv,Gv,!1,null,"7cfcad2c",null)),ef=Xv.exports;ze()(Xv,"components",{QCard:Ne["a"],QImg:yi["a"],QSpinnerDots:mo["a"],QCardSection:Oe["a"],QCardActions:Le["a"],QBtn:De["a"]}),ze()(Xv,"directives",{Ripple:K["a"]});var tf=function(){var e=this,t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"fit"},[a("q-card",{staticClass:"full-height bg-white",attrs:{flat:!t.hovering,rounded:""},on:{click:function(e){return t.modalVideo(t.fact)},mouseleave:t.out,mouseenter:t.over}},[a("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{ratio:t.ratio,src:t.src,transition:"fade"},scopedSlots:t._u([{key:"loading",fn:function(){return[a("q-spinner-dots",{attrs:{size:"0.5em",color:"brand-orange"}})]},proxy:!0}])},[a("div",{staticClass:"absolute-full cursor-pointer"},[t.hovering?a("q-icon",{staticClass:"text-shadow q-pa-md absolute-center",staticStyle:{opacity:"0.8"},attrs:{color:"brand-orange",size:"lg",name:"fas fa-play-circle"}}):t._e()],1)]),a("q-card-section",[a("div",{staticClass:"text-h6",domProps:{textContent:t._s(t.fact.t
1itle)}})]),a("q-card-section",{staticClass:"q-pt-none text-08em",domProps:{textContent:t._s(t.fact.description)}}),a("q-card-actions",{staticStyle:{"max-height":"52px"},attrs:{align:"right"}},[t.getIsSubscriber?a("q-btn",{attrs:{color:"brand-orange",flat:""},on:{click:function(e){return t.modalVideo(t.fact)}}},[t._v("Watch")]):t._e()],1)],1),a("q-dialog",{attrs:{"transition-show":"fade","transition-hide":"fade"},on:{hide:t.resetShowVideo},model:{value:t.previewVideo,callback:function(e){t.previewVideo=e},expression:"previewVideo"}},[a("q-card",{style:t.cardSize},[a("q-responsive",{attrs:{ratio:16/9}},[a("youtube",{attrs:{autoplay:"",previewImageSize:"hqdefault",src:t.videoSource}})],1),t.getIsSubscriber?t._e():a("q-card-section",{staticClass:"q-pa-none"},[a("ad-responsive-horizontal-modal",{attrs:{classes:"absolute-center",width:t.adWidth}}),a("q-resize-observer",{ref:"adSlotResizer",attrs:{debounce:"100"},on:{resize:t.onResize}})],1),a("q-card-actions",{staticStyle:{"min-width":"52px"},attrs:{align:"between"}},[a("div",{staticClass:"inline-block",domProps:{textContent:t._s(t.videoDescription)}}),a("q-space"),a("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{flat:"",label:"CLOSE"}})],1)],1)],1),a("upgrade-prompt",{attrs:{action:t.upgradeAction,cta:t.upgradeCTA,message:t.upgradeMessage,"show-prompt":t.showUpgradePrompt},on:{hide:function(){e.showUpgradePrompt=!1}}})],1)},sf=[],af=Object(ce["a"])("user"),of=af.mapGetters,rf={name:"FunFactVideoPreview",computed:ne()(ne()({},of(["getAuthenticated","getIsSubscriber"])),{},{cardSize(){return this.$q.screen.width>1024?{width:"970px",maxWidth:"80vw"}:{width:"728px",maxWidth:"95vw"}},src(){var e,t;return _.get(this.fact,"cover","")+"?nc="+(null!==(e=null===this||void 0===this||null===(t=this.fact)||void 0===t?void 0:t.updated_ts)&&void 0!==e?e:this.randomIntFromInterval(1e4,1e5))},title(){return _.get(this.fact,"title","Fun Fact")}}),data(){return{adWidth:468,hovering:!1,videoSource:"",previewVideo:!1,videoDescription:"",showUpgradePrompt:!1}},methods:{upgradeCta(){this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="The Junior Ranger Program is only available on Africam Premium. Subscribe now to access our range of courses and additional downloadable content.",this.showUpgradePrompt=!0},modalVideo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!this.getIsSubscriber)return this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="The Junior Ranger Program is only available on Africam Premium. Subscribe now to access our range of courses and additional downloadable content.",void(this.showUpgradePrompt=!0);if(this.$log("SHOW FUN FACT VIDEO:",e),!_.isNil(e)&&_.isObject(e)){var t,s,a=_.get(e,"youtube_id","");this.videoSource=this.playerUrl(a),this.previewVideo=!0,this.videoDescription=_.get(e,"description","");var i=_.get(e,"title","x"),o=_.get(e,"id","x"),r=null===(t=this.$router)||void 0===t||null===(s=t.currentRoute)||void 0===s?void 0:s.path;_.isEqual("/",r)&&(r="/junior-ranger"),this.$trackPage({url:`${r}/fun-fact-${o}-modal`,name:`view fun fact video modal - ${i} (${o}/${a})`})}},resetShowVideo(){this.$log("HIDE VIDEO"),this.videoSource="",this.previewVideo=!1,this.videoDescription=""},onResize(e){this.$log("POPUP SLOT SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))},out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)}},mixins:[hi,mi],props:{fact:{type:Object,required:!0,default(){return{}}},ratio:{type:Number,default:16/9},showModal:{type:Boolean,default:!1}},watch:{showModal(e){e&&this.modalVideo(this.fact)}}},nf=rf,lf=(s("bbe7"),Object(Ee["a"])(nf,tf,sf,!1,null,"6287cc58",null)),cf=lf.exports;ze()(lf,"components",{QCard:Ne["a"],QImg:yi["a"],QIcon:Ai["a"],QSpinnerDots:mo["a"],QCardSection:Oe["a"],QCardActions:Le["a"],QBtn:De["a"],QDialog:Re["a"],QResponsive:Oi["a"],QResizeObserver:ho["a"],QSpace:uc["a"]}),ze()(lf,"directives",{Ripple:K["a"],ClosePopup:Y["a"]});var df=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"fit bg-red"},[s("q-card",{staticClass:"full-height bg-white",attrs:{flat:!e.hovering,rounded:""},on:{click:function(t){return e.modalVideo(e.qanda)},mouseleave:e.out,mouseenter:e.over}},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{ratio:e.ratio,src:e.src,transition:"fade"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-dots",{attrs:{size:"0.5em",color:"brand-orange"}})]},proxy:!0}])},[s("div",{staticClass:"absolute-full cursor-pointer"},[e.hovering?s("q-icon",{staticClass:"text-shadow q-pa-md absolute-center",staticStyle:{opacity:"0.8"},attrs:{color:"brand-orange",size:"lg",name:"fas fa-play-circle"}}
1):e._e()],1)]),s("q-card-section",[s("div",{staticClass:"text-h6",domProps:{textContent:e._s(e.qanda.title)}})]),s("q-card-section",{staticClass:"q-pt-none text-08em",domProps:{textContent:e._s(e.qanda.description)}}),s("q-card-actions",{staticStyle:{"max-height":"52px"},attrs:{align:"right"}},[s("q-btn",{attrs:{color:"brand-orange",flat:""},on:{click:function(t){return e.modalVideo(e.qanda)}}},[e._v("Watch")])],1)],1),s("q-dialog",{attrs:{"transition-show":"fade","transition-hide":"fade"},on:{hide:e.resetShowVideo},model:{value:e.previewVideo,callback:function(t){e.previewVideo=t},expression:"previewVideo"}},[s("q-card",{style:e.cardSize},[s("q-responsive",{attrs:{ratio:16/9}},[s("youtube",{attrs:{autoplay:"",previewImageSize:"hqdefault",src:e.videoSource}})],1),e.getIsSubscriber?e._e():s("q-card-section",{staticClass:"q-pa-none"},[s("ad-responsive-horizontal-modal",{attrs:{classes:"absolute-center",width:e.adWidth}}),s("q-resize-observer",{ref:"adSlotResizer",attrs:{debounce:"100"},on:{resize:e.onResize}})],1),s("q-card-actions",{staticStyle:{"min-width":"52px"},attrs:{align:"between"}},[s("div",{staticClass:"inline-block",domProps:{textContent:e._s(e.videoDescription)}}),s("q-space"),s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{flat:"",label:"CLOSE"}})],1)],1)],1)],1)},uf=[],hf=Object(ce["a"])("user"),mf=hf.mapGetters,pf={name:"QandaVideoPreview",computed:ne()(ne()({},mf(["getAuthenticated","getIsSubscriber"])),{},{cardSize(){return this.$q.screen.width>1024?{width:"970px",maxWidth:"80vw"}:{width:"728px",maxWidth:"95vw"}},src(){var e,t;return _.get(this.qanda,"cover","")+"?nc="+(null!==(e=null===this||void 0===this||null===(t=this.qanda)||void 0===t?void 0:t.updated_ts)&&void 0!==e?e:this.randomIntFromInterval(1e4,1e5))},title(){return _.get(this.qanda,"title","Q and A")}}),data(){return{adWidth:468,hovering:!1,videoSource:"",previewVideo:!1,videoDescription:""}},methods:{modalVideo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.$log("SHOW Q AND A VIDEO:",e),!_.isNil(e)&&_.isObject(e)){var t,s,a=_.get(e,"youtube_id","");this.videoSource=this.playerUrl(a),this.previewVideo=!0,this.videoDescription=_.get(e,"description","");var i=_.get(e,"title","x"),o=_.get(e,"id","x"),r=null===(t=this.$router)||void 0===t||null===(s=t.currentRoute)||void 0===s?void 0:s.path;_.isEqual("/",r)&&(r="/junior-ranger"),this.$trackPage({url:`${r}/q-and-a-${o}-modal`,name:`view q and a video modal - ${i} (${o}/${a})`})}},resetShowVideo(){this.$log("HIDE VIDEO"),this.videoSource="",this.previewVideo=!1,this.videoDescription=""},onResize(e){this.$log("POPUP SLOT SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))},out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)}},mixins:[hi,mi],props:{qanda:{type:Object,required:!0,default(){return{}}},ratio:{type:Number,default:16/9},showModal:{type:Boolean,default:!1}},watch:{showModal(e){e&&this.modalVideo(this.qanda)}}},gf=pf,vf=(s("8ba9"),Object(Ee["a"])(gf,df,uf,!1,null,"664b7cfa",null)),ff=vf.exports;ze()(vf,"components",{QCard:Ne["a"],QImg:yi["a"],QIcon:Ai["a"],QSpinnerDots:mo["a"],QCardSection:Oe["a"],QCardActions:Le["a"],QBtn:De["a"],QDialog:Re["a"],QResponsive:Oi["a"],QResizeObserver:ho["a"],QSpace:uc["a"]}),ze()(vf,"directives",{Ripple:K["a"],ClosePopup:Y["a"]});var bf=Object(ce["a"])("user"),wf=bf.mapGetters,yf=Object(ce["a"])("course"),xf=yf.mapGetters,qf=yf.mapActions,_f={name:"JuniorRangerPage",components:{AssignmentPreview:ef,FunFactPreview:cf,QAndAPreview:ff,ShowQuestions:wu},computed:ne()(ne()(ne()({},wf(["getAuthenticated","getIsSubscriber","getIsJuniorRangerRegistered"])),xf(["getCourse"])),{},{alertTitle(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.course)||void 0===t?void 0:t.alert_title)&&void 0!==e?e:""},alertMessageTitle(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.course)||void 0===t?void 0:t.alert_message_title)&&void 0!==e?e:""},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}},alertMessage(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.course)||void 0===t?void 0:t.alert_message)&&void 0!==e?e:""},alertMessageExists(){var e;return null!==(e=this.unreadAlertsExists)&&void 0!==e&&e}
1,assignmentsExist(){return!_.isEmpty(null===this||void 0===this?void 0:this.selectedAssignments)},course(){var e;return null!==(e=null===this||void 0===this?void 0:this.getCourse)&&void 0!==e?e:{}},courseDate(){var e;return _.isNil(null===this||void 0===this||null===(e=this.currentCourse)||void 0===e?void 0:e.starts_ts)?"":this.relativeDateTime(this.currentCourse.starts_ts,!0)},courseHasBegun(){var e,t=this;if(!_.isNil(null===this||void 0===this||null===(e=this.currentCourse)||void 0===e?void 0:e.starts_ts)&&t.$dayjs.unix(this.currentCourse.starts_ts).isValid()){var s=t.$dayjs();return s.isAfter(t.$dayjs.unix(this.currentCourse.starts_ts))}return!1},courseIsLive(){return this.selectedModuleHasStream&&this.selectedCourseIsOnAir},currentAlertId(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.course)||void 0===t?void 0:t.alert_id)&&void 0!==e?e:"undefined"},currentCourse(){return _.isObject(this.course)?this.course:{}},currentModule(){var e=this;if(!_.isNil(null===this||void 0===this?void 0:this.modules)&&_.isArray(this.modules)){var t=_.find(this.modules,(function(t){if(!_.isNil(null===t||void 0===t?void 0:t.starts_ts)&&e.$dayjs.unix(t.starts_ts).isValid()&&!_.isNil(null===t||void 0===t?void 0:t.ends_ts)&&e.$dayjs.unix(t.ends_ts).isValid()){var s=e.$dayjs();return s.isAfter(e.$dayjs.unix(t.starts_ts))&&s.isBefore(e.$dayjs.unix(t.ends_ts))}}));if(null===t||void 0===t||!t.active)return t}return{}},currentModuleExists(){var e;return!_.isEmpty(this.currentModule)&&_.isNumber(_.toNumber(null===(e=this.currentModule)||void 0===e?void 0:e.id))},factsExist(){return!_.isEmpty(null===this||void 0===this?void 0:this.selectedFacts)},IsJuniorRangerRegistered(){var e=this.$q.localStorage.has("jr")&&_.isEqual(this.$q.localStorage.getItem("jr"),"ok");return e||(null===this||void 0===this?void 0:this.getIsJuniorRangerRegistered)},modules(){var e;return _.isArray(null===this||void 0===this||null===(e=this.currentCourse)||void 0===e?void 0:e.modules)?_.filter(this.currentCourse.modules,(function(e){return null===e||void 0===e?void 0:e.active})):[]},nextModule(){var e,t;return!_.isNil(null===(e=this.selectedModule)||void 0===e?void 0:e.next_course_module_id)&&_.isFinite(_.toNumber(this.selectedModule.next_course_module_id))&&null!==(t=this.getModuleById(this.selectedModule.next_course_module_id))&&void 0!==t?t:{}},nextModuleCover(){var e,t,s,a;return(null!==(e=null===this||void 0===this||null===(t=this.nextModule)||void 0===t?void 0:t.cover)&&void 0!==e?e:"")+"?nc="+(null!==(s=null===this||void 0===this||null===(a=this.nextModule)||void 0===a?void 0:a.updated_ts)&&void 0!==s?s:this.randomIntFromInterval(1e4,1e5))},nextModuleDate(){var e;return _.isNil(null===this||void 0===this||null===(e=this.nextModule)||void 0===e?void 0:e.starts_ts)?"":this.relativeDateTime(this.nextModule.starts_ts,!0)},nextModuleDescription(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.nextModule)||void 0===t?void 0:t.description)&&void 0!==e?e:""},nextModuleExists(){return!_.isEmpty(null===this||void 0===this?void 0:this.nextModule)},nextModuleSummary(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.nextModule)||void 0===t?void 0:t.summary)&&void 0!==e?e:""},nextModuleTitle(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.nextModule)||void 0===t?void 0:t.title)&&void 0!==e?e:""},qandasExist(){return!_.isEmpty(null===this||void 0===this?void 0:this.selectedQandas)},selectedAssignments(){var e;return!_.isNil(null===this||void 0===this||null===(e=this.selectedModule)||void 0===e?void 0:e.assignments)&&_.isArray(this.selectedModule.assignments)?_.filter(this.selectedModule.assignments,(function(e){return null===e||void 0===e?void 0:e.active})):[]},selectedCover(){var e,t,s,a;return(this.courseHasBegun?null!==(e=null===this||void 0===this||null===(t=this.selectedModule)||void 0===t?void 0:t.cover)&&void 0!==e?e:"":null!==(s=null===this||void 0===this||null===(a=this.currentCourse)||void 0===a?void 0:a.cover)&&void 0!==s?s:"")+"?nc="+this.randomIntFromInterval(1e4,1e5)},selectedCourseIsOnAir(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.selectedModule)||void 0===t?void 0:t.on_air)&&void 0!==e&&e},selectedDescription(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.selectedModule)||void 0===t?void 0:t.description)&&void 0!==e?e:""},selectedFacts(){var e;return!_.isNil(null===this||void 0===this||null===(e=this.selectedModule)||void 0===e?void 0:e.facts)&&_.isArray(this.selectedModule.facts)?_.filter(this.selectedModule.facts,(function(e){return null===e||void 0===e?void 0:e.active})):[]},selectedModule(){var e;return null!==(e=this.getModuleById(this.selectedModuleId))&&void 0!==e?e:{}},selectedModuleDate(){var e;return _.isNil(null===this||void 0===this||null===(e=this.selectedModule)||void 0===e?void 0:e.starts_ts)?"":this.relativeDateTime(this.selectedModule.starts_ts,!0)},selectedTitle(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.selectedModule)||void 0===t?void 0:t.t
1itle)&&void 0!==e?e:""},selectedModuleYoutubeId(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.selectedModule)||void 0===t?void 0:t.module_youtube_id)&&void 0!==e?e:""},selectedModuleHasVideo(){return!_.isEmpty(null===this||void 0===this?void 0:this.selectedModuleYoutubeId)},selectedModuleStreamingYoutubeId(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.selectedModule)||void 0===t?void 0:t.stream_youtube_id)&&void 0!==e?e:""},selectedModuleHasStream(){return!_.isEmpty(null===this||void 0===this?void 0:this.selectedModuleStreamingYoutubeId)},selectedModuleVideoSrc(){return null!==this&&void 0!==this&&this.selectedModuleHasVideo?this.playerUrl(null===this||void 0===this?void 0:this.selectedModuleYoutubeId,!1):""},streamingModuleVideoSrc(){return null!==this&&void 0!==this&&this.selectedModuleHasStream?this.playerUrl(null===this||void 0===this?void 0:this.selectedModuleStreamingYoutubeId,!0):""},selectedQandas(){var e;return!_.isNil(null===this||void 0===this||null===(e=this.selectedModule)||void 0===e?void 0:e.qandas)&&_.isArray(this.selectedModule.qandas)?_.filter(this.selectedModule.qandas,(function(e){return null===e||void 0===e?void 0:e.active})):[]},startDateTime(){return this.courseHasBegun?this.selectedModuleDate:this.courseDate},unreadAlertsExists(){if(this.$q.localStorage.has("alerts")&&_.isFinite(this.lastDismissed)){var e,t,s=null!==(e=this.$q.localStorage.getItem("alerts"))&&void 0!==e?e:[];if(_.isArray(s)&&!_.includes(s,null!==(t=this.currentAlertId)&&void 0!==t?t:0))return!0}return!1},videoSrc(){return this.courseIsLive?this.streamingModuleVideoSrc:this.selectedModuleVideoSrc}}),created(){this.checkGate(),this.$q.localStorage.has("alerts")||this.$q.localStorage.set("alerts",[])},data(){return{form:{email:null},fetchingCourse:!1,gate:!0,lastDismissed:0,aboutVideo:!1,selectedModuleId:0,serverValidation:{email:""},showAlertDialog:!1,validating:!1}},methods:ne()(ne()({},qf(["fetchCourse"])),{},{checkGate(){var e=this;this.IsJuniorRangerRegistered&&(e.gate=!1)},launchRangerVideo(){console.log("STARTING RANGER VIDEO"),this.aboutVideo=!0},startFirstCourse(){this.selectedModuleId=7},dismissAlert(){var e;this.showAlertDialog=!1,this.lastDismissed=this.$dayjs().unix();var t=null!==(e=this.$q.localStorage.getItem("alerts"))&&void 0!==e?e:[];_.isArray(t)||(t=[]),t.push(this.currentAlertId),this.$q.localStorage.set("alerts",t)},getModuleById(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!_.isNil(e)&&_.isFinite(_.toNumber(e))&&!_.isNil(this.modules)&&_.isArray(this.modules)){var t=_.find(this.modules,(function(t){return(null===t||void 0===t?void 0:t.id)==_.toNumber(e)}));if(!_.isNil(t)&&_.isFinite(_.toNumber(null===t||void 0===t?void 0:t.id)))return t}return{}},isFutureModule(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&!_.isNil(null===e||void 0===e?void 0:e.starts_ts)&&this.$dayjs.unix(e.starts_ts).isValid()&&this.$dayjs().isBefore(this.$dayjs.unix(e.starts_ts))},moduleAirs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.relativeDateTime(null===e||void 0===e?void 0:e.starts_ts)},selectModule(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;console.log(e),!_.isNil(e)&&_.isFinite(null===e||void 0===e?void 0:e.id)&&(this.selectedModuleId=null===e||void 0===e?void 0:e.id)},showAlert(){this.showAlertDialog=!0},validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):_.isEmpty(e)?"Your email is required.":!!this.isValidEmail(e)||"The format of your email is incorrect format."},validateUser(){var e=this;console.log("Starting Validation");var t=this;t.$refs.validateForm.validate().then((function(s){var a,i;s&&(console.log("Validation DATA OK."),t.validating=!0,t.$axios.post("/api/kids-course/validate",{email:null!==(a=null===t||void 0===t||null===(i=t.form)||void 0===i?void 0:i.email)&&void 0!==a?a:""}).then((function(){var s,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_.isEqual(null===a||void 0===a||null===(s=a.data)||void 0===s?void 0:s.registration,"ok")&&(t.gate=!1,t.$q.localStorage.set("jr","ok"),e.$q.notify({color:"light-baise",textColor:"dark-green",message:"Congratulations, we found your registration, please enjoy the course.",timeout:5e3}))})).catch((function(t){e.$q.notify({color:"light-baise",textColor:"dark-green",message:"Unfortunately we could not find your registration details for this course, please check your email address. <br><br> Alternatively reach out to us for help via our contact us link in the footer.",timeout:15e3,html:!0})}
1)).finally((function(){t.validating=!1})))}))}}),mixins:[hi,mi,Po],mounted(){this.checkGate(),this.fetchCourse()},props:{moduleId:{default:0},autoplay:{default:!0,type:Boolean,required:!1}},watch:{currentModule(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!_.isNil(e)&&_.isFinite(_.toNumber(null===e||void 0===e?void 0:e.id))&&_.isEqual(this.selectedModuleId,0)&&(this.selectedModuleId=_.toNumber(e.id))},IsJuniorRangerRegistered(e){e&&(this.gate=!1)},moduleId:{immediate:!0,handler(e){!_.isNil(e)&&_.isFinite(_.toNumber(e))&&(this.selectedModuleId=_.toNumber(e))}},selectedModule:{immediate:!0,handler(e){var t=this;!_.isNil(e)&&_.isFinite(_.toNumber(null===e||void 0===e?void 0:e.id))&&t.isFutureModule(e)&&t.$nextTick((function(){var e,s;t.$set(t,"selectedModuleId",null!==(e=null===(s=t.currentModule)||void 0===s?void 0:s.id)&&void 0!==e?e:0)}))}}}},Sf=_f,Cf=(s("ef353"),Object(Ee["a"])(Sf,Fv,Bv,!1,null,null,null)),Af=Cf.exports;ze()(Cf,"components",{QPage:Ci["a"],QImg:yi["a"],QTabs:rc["a"],QTab:nc["a"],QTooltip:Lc["a"],QBtn:De["a"],QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QCardActions:Le["a"],QIcon:Ai["a"]}),ze()(Cf,"directives",{ClosePopup:Y["a"]});var kf=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"col-12 text-left q-pl-md q-pt-xl text-h4 text-bold"},[e._v("\n          AfriTag FAQ\n        ")]),s("div",{staticClass:"q-pa-md"},[s("div",{staticClass:"text-h6 q-pt-sm"},[e._v("\n              What is an AfriTag?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              AfriTag is Africam’s new game which allows you as a community member to tag different species as they appear on the cameras. The key objective is to tag as many species as possible whilst enjoying viewing them live on the cameras. Each species that you tag has a unique rarity score based on how frequently they are seen. You may choose to be very selective and only tag your best photos and sightings. Alternatively, you may want to tag as many species as often as possible. It’s completely up to you. Please remember though that you can only tag one species per live  sighting session. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              How does my participation benefit conservation and wildlife preservation?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              As you know, Africam’s mission is to drive conservation awareness by showcasing Africa’s wildlife. By taking snapshots and tagging the animals, you help Africam to document where the animals are located. Furthermore, we pass this information onto the lodges and anti-poaching units. You can assist us further by adding identification notes to each tag specific to that animal when appropriate. In time and through the use of Artificial Intelligence partners, we plan to use the tags and snapshots to help with animal recognition to support anti-poaching efforts. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What do I do if I can’t identify a species?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-sm"},[e._v("    \n              First step will be to click on the Afritag Identity Kit below the photo. This will provide you with an easy reference guide to assist you in identifying the animals. Should you still not be able to find it, click on the “don’t know “option in the drop down in the top right hand corner. Your tag will be scheduled for review by our resident rangers with the correct score attributed to the species once reviewed. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What do I do if I tag a species that is not in the database?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              Should you know the animal on the camera but can’t find it as an option in the database, please can you select the “don’t know” option in the drop down. In the description, please name the animal. We cannot guarantee that we will add the animal to the database but will c
1onsider adding it should we have sufficient requests.\n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              Why are all animals not featured?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              Our initial list is 75 and we will be expanding the list to accommodate more as the game progresses. Should you feel strongly that we have omitted a species, feel free to email [email protected] with your motivation and we will consider adding the species to our database. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              Why are birds not featured?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              We see an incredible variety and volume of birds on Africam’s cameras.  We therefore believe that Birds should have their own category and we will be launching Africam birds shortly. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              How does the scoring work?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              For each species that you tag, a score will be attributed based on the rarity of that animal. The Africam Resident Rangers and Zoomies have compiled the animal database with the applicable scores. Rarity scores are based on how often the animals are seen on the live cameras and may differ from how endangered or rare they are in the various locations. Africam reserve the right to modify the rarity scores and add animals to the game should the need arise. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              Can I tag the same species multiple times in a live sighting session?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              No, you cannot tag the same species multiple times in a live sighting session. You may only tag a species once. Each community member playing the game may tag a species once from a live sighting. It is not in the spirit of the game to tag the same species multiple times to inflate your score.\n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What is a live sighting session?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              A Live sighting is defined as when a species type enters and exits that camera view session.\n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What should I write in the description?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("    \n              The description is not compulsory. Should you wish to add a description, please use it to outline any unique features or behaviour specific to that sighting. Importantly, it is of immense value should there be distinct markings or characteristics of the animal that you would like to highlight for identification purposes for others or for our rangers in the Africam Shows.\n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What do I do if I want to take multiple photos of the same animal in a live sighting session?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              We have enhanced and improved the snapshot function and you can take as many snapshots as you would like from a live sighting. However, we ask that you only tag that species once during a live sighting session. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              Can I tag Rhinos?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              No. Rhinos are endangered and under threat of poaching. To help protect them, please do not tag or post snapshots or discuss rhinos seen on Africam. Thank you for being part of the solution\n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              What do I do if a participant is not adhering to the rules?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n              Should you note that a community member has tagged the same species multiple times from a live sighting or is not adhering to the rules, please inform us and we will approach the member and remedy the scoring. \n          ")]),s("div",{staticClass:"text-h6"},[e._v("\n              How should I play AfriTag?\n          ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("  \n              AfriTag was designed for enjoyment. The game must be played in the right spirit. You may wish to have a small but very qualified tag list of rare and unseen animals. Alternatively, you may want to compete with others tag a high volume and variety of species. It’s entirely up to you! As mentioned in the rules, always be kind, considerate and share your knowledge and insights to other community members. Don’t be afraid to ask questions and please be patient and considerate to all Afritag participants and our Zoomies operating the Cameras.\n          ")])])]),s("site-footer")],1)},Tf=[],Pf={name:"SchedulePage",components:{Shows:qi},mixins:[hi,mi],mounted(){}},If=Pf,$f=Object(Ee["a"])(If,kf,Tf,!1,null,null,null),Ef=$f.exports;ze()($f,"components",{QPage:Ci["a"]});var Rf=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"col-12 text-left q-pl-md q-pt-xl text-h4 text-bold"},[e._v("\n          AfriTag Guidelines\n      ")]),s("div",{staticClass:"q-pa-md"},[s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n                  Welcome to the Afritag guidelines, the best place for you to view live animals in their natural environment and showcase your wildlife knowledge by tagging all the amazing species with their photos.\n              ")]),s("div",{staticClass:"text-subtitle2 text-bold q-pb-md"},[e._v("\n                  Afritag is Africam’s exciting new community game. Whilst watching the live streams, you can tag an animal. Each animal will have a rarity score based on how often they are seen. All tags will be recorded in your profile and within the Afritag leaderboard.  By tagging Africam’s animals, you help Africam and the lodges keep a record of the animals and their movements at the various waterholes. \n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Each community member playing the game may tag a species once from a live sighting. It is not in the spirit of the game to tag the same species multiple times to inflate your score. A Live sighting is defined as when a species type enters and exits that camera view session.\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Should you note that a community member has tagged the same species multiple times from a live sighting, please inform us and we will approach the member and remedy the scoring. \n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • The Africam Resident Rangers and Zoomies have compiled the animal database with the applicable scores. Rarity scores are based on how often the animals are seen on the live cameras and may differ from how endangered or rare they are in the various locations. Africam reserve the right to modify the rarity scores and add animals to the game should the need arise. \n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Should you not be able to identify an animal, please download the animal identity kit. Should you still not be able to identify an animal or believe that it is a new species, please select Don’t Know in the drop down list. You will be given a provisional score of 0 and your tag will be scheduled for review and possible verification by our resident rangers. Please note that Birds have been excluded at this stage. We are scheduled to launch our Bird tagging category in July. \n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • The description is not compulsory. Should you wish to add a de
1scription, please use it to outline any unique features or behaviour specific to that sighting. Importantly, it is of immense value should there be distinct markings or characteristics of the animal that you would like to highlight for identification purposes for others or for our rangers in the Africam Shows.\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Please note that no unlawful or objectionable content will be accepted. This includes harassing, defamatory, abusive, threatening, obscene, profane, sexually-oriented, racially offensive or otherwise objectionable material.\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Rhinos are endangered and under threat of poaching. To help protect them, please do not tag or post snapshots or discuss rhinos seen on Africam. Thank you for being part of the solution\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md q-pl-md"},[e._v("\n                  • Africam aspires to be a safe place where our wonderful community of wildlife enthusiasts can enjoy the live cameras, learn and share their knowledge. The Afritag game must be played with the right spirit. Above all, be kind, considerate and share your knowledge and insights to other community members. Don’t be afraid to ask questions and please be patient and considerate to all Afritag participants and our Zoomies operating the Cameras.\n              ")]),s("div",{staticClass:"text-subtitle2 text-bold"},[e._v("\n                  Please Note:\n              ")]),s("div",{staticClass:"text-subtitle2 q-pb-md"},[e._v("\n                  We reserve the right to terminate your registration and participation at any stage should you not adhere to the rules and guidelines as stated above.            \n              ")])])]),s("site-footer")],1)},Nf=[],Of={name:"SchedulePage",components:{Shows:qi},mixins:[hi,mi],mounted(){}},Lf=Of,Df=Object(Ee["a"])(Lf,Rf,Nf,!1,null,null,null),Vf=Df.exports;ze()(Df,"components",{QPage:Ci["a"]});var zf=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",[s("div",{staticClass:"justify-center"},[s("div",{staticClass:"col-12 text-center"}),s("div",{staticClass:"text-center q-pt-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pl-md q-pr-md":"col-12 q-pl-xl q-pr-xl"},[s("div",{class:e.$q.screen.width<1e3?"":"q-pr-xl q-pl-xl"},[s("div",{staticClass:"row q-pt-lg"},[s("div",{class:e.$q.screen.width<1e3?"col-12":"col-12 q-pr-xl q-pl-xl"},[s("q-img",{attrs:{"no-default-spinner":"",width:"250px",src:"logos/logo-black-on-trans.svg",ratio:563/139}}),s("div",{class:e.$q.screen.width<1e3?"text-h5 text-weight-bold text-center q-pt-lg":"q-pt-lg q-pr-xl q-pl-xl text-h5 text-weight-bold text-center"},[e._v("\n                   Join Africam to enjoy Ads Free live streams with \n                   exclusive highlights, mobile alerts and fun \n                   competitions and games. Watch now, cancel \n                   anytime.\n               ")])],1)]),s("div",{staticClass:"q-pb-md text-bold q-pb-xl q-pt-xl"},[s("q-btn",{attrs:{size:"1em",color:"brand-orange","text-color":"white",label:"VIEW PLANS  >>"},on:{click:e.goToPricing}})],1),s("div",{staticClass:"q-pt-xl q-pb-xl"},[s("hr")]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pl-md q-pr-md q-pt-xl q-pb-xl":"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-icon",{attrs:{size:"xl",name:"fas fa-bullhorn"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h4 text-weight-medium text-center")},[e._v("\n                        Ads-free\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-center q-pl-xl q-pr-xl")},[e._v("\n                      Ad-free live wildlife streams uniterrupted\n                    ")])])],1),s("div",{class:e.$q.screen.width<1e3?"col-12 q-pl-md q-pr-md q-pt-xl q-pb-xl":"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-icon",{attrs:{size:"xl",name:"fas fa-image"}}
1),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h4 text-weight-medium text-center")},[e._v("\n                        SafariSnaps & Photos\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"")},[e._v("\n                        Take photos, win prizes & play Safarisnaps, the addictive conservation animal tagging game\n                    ")])])],1),s("div",{class:e.$q.screen.width<1e3?"col-12 q-pl-md q-pr-md q-pt-xl q-pb-xl":"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-icon",{attrs:{size:"xl",name:"fas fa-star"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h4 text-weight-medium text-center")},[e._v("\n                        Exclusive Content\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"")},[e._v("\n                        Expert Ranger shows, behind the scenes features and much, much more...\n                    ")])])],1)]),s("div",{staticClass:"q-pt-xl q-pb-xl"},[s("hr")]),s("div",{class:e.$q.screen.width<1e3?"text-h4 text-weight-medium text-center q-pt-lg":"q-pt-lg q-pr-xl q-pl-xl text-h4 text-weight-medium text-center"},[e._v("\n                   Your window into the African wild anywhere, any time and on any device\n               ")]),s("div",{class:e.$q.screen.width<1e3?"text-h4 text-weight-medium text-center q-pt-lg":"q-pt-lg q-pr-xl q-pl-xl text-h4 text-weight-medium text-center"},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/devices4.jpg"},on:{click:e.launchPremiumVideo}})],1),s("div",{staticClass:"q-pt-xl q-pb-xl"},[s("hr")]),s("div",{class:e.$q.screen.width<1e3?"text-h3 text-weight-bold text-center q-pt-lg":"q-pt-lg q-pr-xl q-pl-xl text-h3 text-weight-bold text-center"},[e._v("\n                   Exclusive Content\n               ")]),s("div",{class:e.$q.screen.width<1e3?"text-h5 text-weight-bold text-center q-pt-lg":"q-pt-lg q-pr-xl q-pl-xl text-h5 text-weight-bold text-center"},[e._v("\n                   Discover the magic of African wildlife with \n                   exclusive shows, behind the scenes features & \n                   showcase events.\n               ")]),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<1e3?"col-12 q-pl-md q-pr-md q-pt-xl q-pb-xl":"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{attrs:{src:"https://animal-images-a-z.s3.eu-west-2.amazonaws.com/ss_very_rare.jpg"}})],1),s("div",{class:e.$q.screen.width<1e3?"col-12 q-pl-md q-pr-md q-pt-xl q-pb-xl":"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{attrs:{src:"/images/always-wild1.jpg",ratio:16/9}})],1),s("div",{class:e.$q.screen.width<1e3?"col-12 q-pl-md q-pr-md q-pt-xl q-pb-xl":"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-img",{attrs:{src:"https://i.ytimg.com/vi/tdAZxZXS0tw/hqdefault.jpg",ratio:16/9}})],1)]),s("div",{staticClass:"q-pt-xl q-pb-xl"},[s("hr")]),s("div",{ref:"pricingstart",staticClass:"row"},[s("div",{staticClass:"col-12 q-pt-sm"},[s("div",{class:e.$q.screen.width<1e3?"text-h3 text-weight-medium  q-pt-lg":"q-pt-lg q-pr-xl q-pl-xl text-h3 text-weight-medium"},[e._v("\n                          PRICING OPTIONS"),s("br")])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-card",{staticClass:"pricing-card"},[s("q-card-section",[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md")},[s("div",{staticClass:"q-pb-sm"},[s("q-img",{attrs:{"no-default-spinner":"",width:"100px",src:"logos/logo-black-on-trans.svg",ratio:563/139}})],1),s("div",{class:(e.$q.screen.width,"text-h4 text-weight-medium  text-center")},[e._v("\n                        Africam"),s("br"),e._v("Community\n                    ")])])]),s("q-card-section",[s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-subtitle1")},[e._v("\n                        For the person who enjoys participating in Africam's games & competitions on Africam.com\n                    ")])]),s("div",{class:(e.$q.screen.width,"col
1-12 q-pt-md")},[s("div",{class:(e.$q.screen.width,"text-h4 text-weight-medium  text-center")},[e._v("\n                        $4.99\n                    ")])])]),s("div",[s("hr")]),s("q-card-section",[s("q-list",[s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                  Ads free Africam streams on Africam.com\n                              ")])])],1),s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                 Take photos and participate in photo competitions\n                              ")])])],1),s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                 Play SafariSnaps game and compete for prizes\n                              ")])])],1),s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                 Exclusive content including shows, educational courses and behind the scenes footage\n                              ")])])],1),s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                 Single Boma private chat room\n                              ")])])],1)],1)],1)],1),s("div",{staticClass:"q-pt-md"},[s("q-btn",{attrs:{size:"1em",color:"brand-orange","text-color":"white",to:{name:"subscribe"},label:"SIGN UP  >>"}})],1),s("div",{staticClass:"text-subtitle2 q-pt-md"},[e._v("\n                  2-week free trial."),s("br"),e._v("Cancel anytime\n                ")])],1),s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-card",{staticClass:"pricing-card"},[s("q-card-section",[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md")},[s("div",{staticClass:"q-pb-sm"},[s("q-img",{attrs:{"no-default-spinner":"",width:"100px",src:"images/youtube-logo.jpg",ratio:563/139}})],1),s("div",{class:(e.$q.screen.width,"text-h4 text-weight-medium  text-center")},[e._v("\n                        Youtube "),s("br"),e._v(" Community\n                    ")])])]),s("q-card-section",[s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-subtitle1")},[e._v("\n                        For the person who is \n                        active on YouTube. \n                        Watch Ads free youtube streams with \n                        individual chat rooms\n                    ")])]),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md")},[s("div",{class:(e.$q.screen.width,"text-h4 text-weight-medium  text-center")},[e._v("\n                        $4.99\n                    ")])])]),s("div",[s("hr")]),s("q-card-section",[s("q-list",[s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                  Ads free Africam streams on Youtube\n                              ")])])],1),s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                 Members only live chats \n                                 for each stream with \n                                 loyalty badges and chat \n                                 emojis\n                              ")])])],1),s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                 Early access to new live streams\n                              ")])])],1),s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                 Members only polls\n                              ")])])],1),s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                 Exclusive content \n                                 including shows, \n                                 education courses & \n                                 behind the scenes \n                                 footage.\n                              ")])])],1)],1)],1)],1),s("div",{staticClass:"q-pt-md"},[s("q-btn",{attrs:{size:"1em",color:"brand-orange","text-color":"white",type:"a",href:"https://www.youtube.com/channel/UCuoNAKa3P0QR1Lw9QdpmoVg/join",target:"_blank",label:"SIGN UP  >>"}})],1),s("div",{staticClass:"text-subtitle2 q-pt-md"},[e._v("\n                  Sign up on Youtube\n                ")])],1),s("div",{staticClass:"col-md-4 q-pl-md q-pr-md q-pt-xl q-pb-xl"},[s("q-card",{staticClass:"pricing-card"}
1,[s("q-card-section",[s("div",{class:(e.$q.screen.width,"col-12 q-pt-md")},[s("div",{staticClass:"q-pb-sm"},[s("q-img",{attrs:{"no-default-spinner":"",width:"80px",src:"logos/logo-black-on-trans.svg",ratio:563/139}}),s("q-img",{attrs:{"no-default-spinner":"",width:"80px",src:"images/youtube-logo.jpg",ratio:563/139}})],1),s("div",{class:(e.$q.screen.width,"text-h4 text-weight-medium  text-center")},[e._v("\n                        Africam"),s("br"),e._v("All Access\n                    ")])])]),s("q-card-section",[s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-justify text-subtitle1")},[e._v("\n                        For the avid Africam supporter. You have access to everything Africam has to offer"),s("br")])]),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md")},[s("div",{class:(e.$q.screen.width,"text-h4 text-weight-medium  text-center")},[e._v("\n                        $7.99\n                    ")])])]),s("div",[s("hr")]),s("q-card-section",[s("q-list",[s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                  All the benefits of the Africam community.\n                              ")])])],1),s("q-item",{staticClass:"text-left"},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{size:"xs",color:"brand-orange",name:"fas fa-check"}})],1),s("q-item-section",[s("div",{class:e.$q.screen.width<1460?"text-subtitle2":"text-subtitle1"},[e._v("\n                                 All the benefits of the Youtube community.\n                              ")])])],1)],1)],1)],1),s("div",{staticClass:"q-pt-md"},[s("q-btn",{attrs:{size:"1em",color:"brand-orange","text-color":"white",type:"a",href:"https://www.youtube.com/channel/UCuoNAKa3P0QR1Lw9QdpmoVg/join",target:"_blank",label:"SIGN UP  >>"}})],1),s("div",{staticClass:"text-subtitle2 q-pt-md"},[e._v("\n                  Sign up on Youtube"),s("br"),e._v("\n                  This will give you access to Africam communty as well\n                ")])],1)]),s("div",{staticClass:"q-pt-xl q-pb-xl"},[s("hr")]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 q-pt-sm"},[s("div",{class:e.$q.screen.width<1e3?"text-h3 text-weight-medium  q-pt-lg":"q-pt-lg q-pr-xl q-pl-xl text-h3 text-weight-medium"},[e._v("\n                          Frequently Asked Questions"),s("br"),s("br")])])]),s("div",{staticClass:"col-xs-12 col-md-7 q-pb-xl text-left"},[s("q-list",[s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup",label:"How do I watch the live cameras?"}},[s("q-card",[s("q-card-section",{staticClass:"q-pa-lg"},[e._v('\n                    Watching the live cams on Africam is easy. Simply click on the "Live" section. Choose from a selection of available camera feeds and enjoy the live streams in real-time.\n                  ')])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup",label:"Are the live wildlife cameras available 24/7?"}},[s("q-card",[s("q-card-section",[e._v("\n                    Yes, our live cams are available 24/7, providing continuous access to wildlife activities day and night. However, occasionally, cameras might experience downtime for maintenance or technical reasons.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup",label:"Are there educational resources available on Africam?"}},[s("q-card",[s("q-card-section",[e._v("\n                    Absolutely! We are committed to wildlife conservation and education. Our website provides children’s courses, animal facts and expert ranger shows about the animals you can see on our live cameras. We strive to create awareness and promote the importance of protecting African wildlife.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup",label:"What is Africam's Premium Subscription?"}},[s("q-card",[s("q-card-section",[e._v("\n                    Africam’s Premium Subscription is a paid membership program that offers exclusive benef
1its to our subscribers. By becoming a premium member, you help us grow our camera network – maintaining the sound and quality of the cameras and funding new camera installations in exciting locations. We also offer SafariSnaps, a fun tagging game, Junior Ranger and AfriExpert to expand your wildlife knowledge, the multi-stream dashboard, community chat, snapshot function including photo competitions.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup",label:"How much does it cost?"}},[s("q-card",[s("q-card-section",[e._v("\n                    The monthly subscription is $4.99 (+VAT) per month. No extra costs, no contracts and you can cancel anytime.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup",label:"What is SafariSnaps?"}},[s("q-card",[s("q-card-section",[e._v("\n                    SafariSnaps is a community game offered by Africam, where participants can tag animals while watching live wildlife streams. Each animal has a rarity score based on its frequency of appearance. By tagging animals, participants help Africam and the lodges keep a record of the animals and their movements at different waterholes.\n                  ")])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup",label:"Can I take photos on Africam?"}},[s("q-card",[s("q-card-section",[s("span",[e._v("\n                     Choose from a selection of live wildlife cameras to find captivating moments of animals or beautiful landscapes. Once you witness a moment worth capturing, click on the photo button provided and add a description below if desired. Premium subscribers can save photos onto their profile gallery or download the photo and enter it into the virtual wildlife competition by sending it to\n                       \n                        "),s("a",{staticClass:"text-black",attrs:{href:"mailto:[email protected]"}},[e._v("\n                        [email protected]\n                        ")])])])],1)],1),s("q-expansion-item",{attrs:{"expand-icon":"fas fa-plus","expanded-icon":"fas fa-minus","expand-icon-class":"text-black",group:"faqgroup",label:"How do I cancel?"}},[s("q-card",[s("q-card-section",[e._v("\n                    Africam is flexible. There are no nasty long term contracts and no commitments. You can easily cancel your account online at any time with no cancellation fees. Simply go to your profile and select Subscription Management, from there you can cancel, pause or restart your subscription. You can still enjoy the remainder of your current subscription period and your Premium membership will only cancel on the last day.\n                  ")])],1)],1)],1),s("div",{staticClass:"q-pa-md"},[e._v("\n            If you have any further questions or inquiries, don't hesitate to contact us.\n            ")])],1)])])])])]),s("site-footer"),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showVideoPopup=!1}},model:{value:e.showVideoPopup,callback:function(t){e.showVideoPopup=t},expression:"showVideoPopup"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:e.autoplay,previewImageSize:"maxresdefault",src:e.videoSrc}})],1)],1)],1)],1)},Mf=[],jf={name:"LearnPage",components:{},computed:{isMobile(){return!(this.$q.screen.width<1023)},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}}},data(){return{afriExpert:!1,isLandingPage:_.get(this,"$route.query.isLandingPage",!0),isLodgePartnerships:_.get(this,"$route.query.isLodgePartnerships",!1),isConservationCampaigns:_.get(this,"$route.query.isConservationCampaigns",!1),isOurCommunity:!1,videoSelection:"",showVideoPopup:!1}},methods:{insightVideosLink(){this.$router.push({name:"video-highlights",query:{learnLink:!0,filteredType:"insight"}})},launchLodgePartnerships(){window.scrollTo(0,0),this.isLandingPage=!1,this.isLodgePartnerships=!0,this.isOurCommunity=!1,this.isConservationCampaigns=!1},goToPricing(){this.$refs.pricingstart.scrollIntoView({behavior:"smooth"})},launchLandingPage(){window.scrollTo(0,0),this.isLandingPage=!0,this.isLodgePartnerships=!1,this.isOurCommunity=!1,this.isConservationCampaigns=!1},launchOurCommunity(){window.scrollTo(0,0),this.isLandingPage=!1,this.isConservationCampaigns=!1,this.isLodgePartnerships=!1,this.isOurCommunity=!0},launchConservationCampaigns(){window.scrollTo(0,0),this.isLandingPage=!1,this.isLodgePartnerships=!1,this.isOurCommunity=!1,this.isConservationCampaigns=!0},launchExploreVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/oggbO3-YNJ8?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchSamsungVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/0c6M-viRRXQ?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchCareVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/yTJO8W0XiHs?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchMambasVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/OiBFbTwvWJs?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},launchPremiumVideo(){this.showVideoPopup=!0,this.videoSrc="https://www.youtube.com/embed/YEoaAH5p4j4?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"},getVideoSrc(){this.videoSrc=videoSelection}},props:{autoplay:{default:!0,type:Boolean,required:!1}},mixins:[hi,mi],mounted(){}},Qf=jf,Uf=(s("33f4"),Object(Ee["a"])(Qf,zf,Mf,!1,null,null,null)),Ff=Uf.exports;ze()(Uf,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QIcon:Ai["a"],QCard:Ne["a"],QCardSection:Oe["a"],QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"],QExpansionItem:Dr["a"],QDialog:Re["a"]}),ze()(Uf,"directives",{ClosePopup:Y["a"]});var Bf=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{staticClass:"set-margin"},[s("div",{staticClass:"row q-pt-xl q-pb-xl"},[s("div",{staticClass:"col-md-6 col-12"},[s("div",{staticClass:"text-h3 text-grey-10 q-pt-xl"},[s("b",[e._v("JOIN")]),e._v(" Our Wildlife Community\n        ")]),s("div",{staticClass:"q-pt-lg q-pb-lg text"},[e._v("\n          Unlock exclusive access to the wild -\nwatch, interact and explore like never before.\n        ")]),s("div",[s("q-btn",{staticClass:"try-button",staticStyle:{width:"275px"},attrs:{flat:"",rounded:"",label:"TRY FOR FREE",to:{name:"details"}},on:{click:e.trackTryButton}})],1),s("div",{staticClass:"text-caption2 q-pt-md q-pb-xl"},[s("b",[e._v("14 Days Free Trial")]),e._v(" - then from "),s("b",[e._v("$2.45")]),e._v(" +VAT per month*"),s("br"),s("i",[e._v("*with yearly package")])])]),s("div",{staticClass:"col-md-6 col-12 q-pl-lg q-pr-lg"},[s("q-img",{staticClass:"video-image relative-position cursor-pointer",attrs:{src:"/images/subscribe-giraffe.png","spinner-color":"white"},on:{click:e.launchVideo}},[s("div",{staticClass:"absolute-full flex flex-center column overlay-content q-mt-xl"},[s("div",{class:e.$q.screen.width<800?"play-circle":"play-circle q-mt-xl"},[s("q-icon",{staticClass:"play-icon",attrs:{name:"fas fa-play",size:"23px"}})],1),e.$q.screen.width>1100?s("div",{staticClass:"text-white why-subscribe-text text-h5 q-mt-xl"},[s("b",{staticClass:"marketing-orange"},[e._v("WHY")]),e._v(" Subscribe"),s("br"),e._v(" To Africam?\n        ")]):e._e(
1)])])],1)]),e.$q.screen.width>1100?s("div",{class:e.$q.screen.width<800?"col-12":"col-7"},[s("div",{staticClass:"row q-pt-xl q-pb-xl"},[s("div",{class:e.$q.screen.width<1e3?"text-h4 text-center q-pt-lg":"q-pt-lg text-h4 text-center"},[e._v("\n              Experience the wild beauty of Africa from anywhere, for only $2.45 plus VAT p/month*\n                 ")]),s("div",{staticClass:"row text-center text-caption"},[s("div",{staticClass:"text-center"},[e._v("\n                  *annual subscription discount applies\n                  ")])])]),e.$q.screen.width>1100?s("div",{staticClass:"row q-pt-xl q-pb-xl"},[s("div",{class:e.$q.screen.width<1e3?"col-12 text-center":"col-md-3 text-center"},[s("q-icon",{attrs:{size:"xl",name:"fas fa-bullhorn"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5")},[e._v("\n                          Ads-free "),s("br"),e._v(" Streaming\n                      ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-center text-caption")},[e._v("\n                        Ad-free live wildlife streams across all our locations, 24-hours a day, from any device\n                      ")])])],1),s("div",{class:e.$q.screen.width<1e3?"col-12 text-center q-pt-lg":"col-md-3 text-center"},[s("q-icon",{attrs:{size:"xl",name:"fas fa-image"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5")},[e._v("\n                          SafariSnaps "),s("br"),e._v(" & Photos\n                      ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-center text-caption")},[e._v("\n                        Take photos, win prizes & play Safarisnaps, the addictive conservation animal-tagging game\n                      ")])])],1),s("div",{class:e.$q.screen.width<1e3?"col-12 text-center q-pt-lg":"col-md-3 text-center"},[s("q-icon",{attrs:{size:"xl",name:"fas fa-mobile"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md")},[s("div",{class:(e.$q.screen.width,"text-h5")},[e._v("\n                          Wildlife "),s("br"),e._v("App Alerts\n                      ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-center text-caption")},[e._v("\n                        Get instantly alerted when your favourite species are spotted on any of our cameras\n                      ")])])],1),s("div",{class:e.$q.screen.width<1e3?"col-12 text-center q-pt-lg":"col-md-3 text-center"},[s("q-icon",{attrs:{size:"xl",name:"fas fa-star"}}),s("div",{class:(e.$q.screen.width,"col-12 q-pt-md q-pb-md text-center")},[s("div",{class:(e.$q.screen.width,"text-h5")},[e._v("\n                          Membership"),s("br"),e._v("Content\n                      ")])]),s("div",{class:(e.$q.screen.width,"col-12")},[s("div",{class:(e.$q.screen.width,"text-center text-caption")},[e._v("\n                        Exclusive access to behind the scenes features, weekly shows, Animal ID kits & more\n                      ")])])],1),s("div",{staticClass:"q-pt-xl text-center q-pb-lg"},[s("q-btn",{staticClass:"try-button",staticStyle:{width:"275px"},attrs:{flat:"",rounded:"",label:"TRY FOR FREE",to:{name:"details"}},on:{click:e.trackTryButton}})],1)]):e._e()]):e._e()]),s("site-footer"),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.aboutVideo=!1}},model:{value:e.aboutVideo,callback:function(t){e.aboutVideo=t},expression:"aboutVideo"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidthVideo},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("youtube",{staticClass:"rounded-borders",attrs:{autoplay:e.autoplay,previewImageSize:"maxresdefault",src:"https://www.youtube.com/embed/NRVRoQj9bPk?rel=0&modestbranding=1&enablejsapi=1&origin=https%3A%2F%2Fwww.africam.com"}})],1)],1)],1)],1)},Hf=[],Gf=Object(ce["a"])("content"),Wf=Gf.mapGetters,Yf=Object(ce["a"])("user"),Kf=Yf.mapActions,Zf=Yf.mapGetters,Jf={name:"LiveStreamsPage",computed:ne()(ne()(ne()({},Wf(["streams"])),Zf(["getAuthenticated","getIsSubscriber","getIsUser"])),{},{columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},imageWidthVideo(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}},currentStreams(){return this.streams.filter((function(e){return e.active}))},offlineStreams(){return this.streams.filter((function(e){return!e.active}))},statusStreams(){return this.streams.filter((function(e){return e.status_update}))}
1,weightedStreams(){return this.currentStreams.sort((function(e,t){return e.weight-t.weight}))},finalStreams(){return this.weightedStreams.filter((function(e){return!e.status_update}))},checkStreamsStatus(){return this.statusStreams.length>0}}),data(){return{perRow:3,refresh:30,slotSize:0,aboutVideo:!1,adsOn:!1,upgradeAction:{},upgradeCTA:"",upgradeMessage:"",showUpgradePrompt:!1}},methods:ne()(ne()({},Kf(["fetchUser"])),{},{adSlotResize(e){this.slotSize=e.width},checkIfUserOnly(){this.getIsUser&&!this.getIsSubscriber&&this.$router.push({name:"subscribe"})},trackTryButton(){this.$trackEvent({event:"community_tryfree",interactionType:"CTA Click",interactionElementName:"Landing page try free button"})},launchVideo(){this.$trackEvent({event:"community_video",interactionType:"CTA Click",interactionElementName:"Landing page subscription video view"}),this.aboutVideo=!0},goToStream(e){if(!_.isNil(e))return e.subscriber_only?this.getIsSubscriber?void le["a"].$emit("routeTo",{name:"stream",params:{slug:`${e.slug}`}}):(this.upgradeAction={name:"premium"},this.upgradeCTA="SUBSCRIBE",this.upgradeMessage="This Live stream is only available on Africam Premium. Subscribe now and enjoy ads free live streams and subscriber exclusive content, and help promote wildlife conservation.",void(this.showUpgradePrompt=!0)):void le["a"].$emit("routeTo",{name:"stream",params:{slug:`${e.slug}`}})},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%this.perRow===0}}),mixins:[hi,mi],mounted(){this.perRow=this.sensibleRowsPerPage(3,"streamsViewPerRow"),this.checkIfUserOnly()},props:{autoplay:{default:!0,type:Boolean,required:!1}},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("streamsViewPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("streamsViewPerRow"))&&void 0!==t?t:3)}}},Xf=Jf,eb=(s("b3bf"),Object(Ee["a"])(Xf,Bf,Hf,!1,null,null,null)),tb=eb.exports;ze()(eb,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QIcon:Ai["a"],QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"]}),ze()(eb,"directives",{ClosePopup:Y["a"]});var sb=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",[s("div",{staticClass:"q-pt-xl row items-start justify-center q-gutter-md process-steps set-margin"},[s("div",{staticClass:"column items-center"},[s("q-icon",{staticClass:"marketing-orange",attrs:{name:"fas fa-check-circle",size:e.$q.screen.width<750?"sm":"md"}}),s("div",{staticClass:"text-caption marketing-orange q-mt-xs"},[e._v("Details")])],1),s("q-img",{style:e.$q.screen.width<750?"width:0px":"width:100px",attrs:{src:"/images/subscription-arrow1.png"}}),s("div",{staticClass:"column items-center"},[s("q-icon",{attrs:{name:"fas fa-check-circle",color:"grey-5",size:e.$q.screen.width<750?"sm":"md"}}),s("div",{staticClass:"text-caption text-grey-5 q-mt-xs"},[e._v("Select Package")])],1),s("q-img",{style:e.$q.screen.width<750?"width:0px":"width:100px",attrs:{src:"/images/subscription-arrow2.png"}}),s("div",{staticClass:"column items-center"},[s("q-icon",{attrs:{name:"fas fa-check-circle",color:"grey-5",size:e.$q.screen.width<750?"sm":"md"}}),s("div",{staticClass:"text-caption text-grey-5 q-mt-xs"},[e._v("Payment")])],1)],1),s("div",{staticClass:"row q-pt-xl q-pa-xl",class:e.$q.screen.width<750?"row q-pt-lg":"row q-pt-xl q-pa-xl",staticStyle:{height:"100vh"},style:{minHeight:e.minFormHeight}},[s("div",{staticClass:"col-md-5 col-12"},[s("div",{class:e.$q.screen.width<750?"":"q-pr-xl q-pl-xl"},[s("q-form",{ref:"signInForm",attrs:{"no-error-focus":"",onautocomplete:"off"},on:{submit:function(t){return t.preventDefault(),e.register(t)}}},[s("q-resize-observer",{on:{resize:e.formResize}}),s("div",{},[s("div",{staticClass:"text-h4 q-my-xs q-mb-sm"},[s("b",[e._v("Enter")]),e._v(" your details")])]),s("div",{staticClass:"row q-mt-md q-pb-md"},[s("div",{staticClass:"col-xs-12"},[s("div",{staticClass:"row q-col-gutter-sm"},[s("div",{staticClass:"text-caption"},[e._v("\n                      E-mail\n                    ")]),s("div",{staticClass:"col-xs-12"},[s("q-input",{ref:"email",staticClass:"details-form",attrs:{"error-message":e.serverValidation.email,error:!!e.hasServerError("email"),"lazy-rules":!0,rules:[e.validateEmail],dense:"",rounded:"",outlined:"","bg-color":"white",label:"[email protected]",maxlength:"64",name:"email",type:"email"},on:{focus:function(t){return e.clearInputValidation("email")}},scopedSlots:e._u([{key:"prepend",fn:function(){return[s("q-icon",{staticClass:"q-ml-sm",attrs:{color:"grey-4",size:"xs",name:"fas fa-at"}})]},proxy:!0}]),model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}})],1),s("div",{staticClass:"text-caption"},[e._v("\n                      Password\n                    ")]),s("div",{staticClass:"col-xs-12"},[s("q-input",{ref:"password",attrs:{"error-message":e.serverValidation.password,error:!!e.hasServerError("password"),rules:[e.validatePassword],type:e.isPwd?"password":"text",autocomplete:"new-password","bg-color":"white",dense:"",rounded:"",outlined:"","hide-hint":"",hint:"Your password must be at least 6 characters","input-class":"text-body2",label:"","lazy-rules":!0},scopedSlots:e._u([{key:"prepend",fn:function(){return[s("q-icon",{staticClass:"q-ml-sm",attrs:{color:"grey-4",size:"xs",name:"fas fa-key"}})]},proxy:!0},{key:"append",fn:function(){return[s("q-icon",{staticClass:"cursor-pointer",attrs:{color:"grey-4",size:"xs",name:e.isPwd?"far fa-eye":"far fa-eye-slash"},on:{click:function(t){e.isPwd=!e.isPwd}}},[s("q-tooltip",{attrs:{anchor:"top middle",self:"bottom middle","transition-show":"fade","transition-hide":"fade"}},[e._v("Show my password\n                            ")])],1)]},proxy:!0}]),model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),s("div",{staticClass:"col-xs-12 text-center"},[s("q-btn",{staticClass:"q-mb-sm details-submit",attrs:{loading:e.validatingEmail,outline:"",rounded:"","full-width":"",color:"brand-orange",size:"md",type:"submit"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"})]},proxy:!0}])},[e.validatingEmail?e._e():s("div",[s("div",{staticClass:"inline-block",staticStyle:{padding:"4px 8px"}},[e._v("NEXT: SELECT PACKAGE")])])]),s("br")],1)])])]),s("div",{staticClass:"col-12 text-normal text-caption"},[s("p",[e._v("By continuing you agree to our \n                  "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showPrivacyPolicy}},[e._v("Privacy Policy ")]),e._v("\n                  &\n                  "),s("a",{staticClass:"cursor-pointer text-brand-orange",on:{click:e.showTermsOfService}}
1,[e._v("Terms of Service")])])])],1)],1)]),e.$q.screen.width>767?s("div",{staticClass:"col-md-7 col-12 q-pr-xl q-pl-xl"},[s("q-card",{staticClass:"bg-dark-marketing text-dark q-pa-xl flat",attrs:{flat:""}},[s("q-card-section",[s("div",{staticClass:"text-h5 q-mb-xl text-weight-bold"},[s("b",[e._v("Why")]),e._v(" subscribe to Africam?\n      ")]),s("div",{staticClass:"q-gutter-md"},[s("div",{staticClass:"row no-wrap items-start"},[s("q-icon",{staticClass:"marketing-orange q-mt-xs q-mr-md",attrs:{name:"fas fa-check",size:"xs"}}),s("div",[s("div",{staticClass:"text-weight-bold"},[e._v("Ads-free Streaming")]),s("div",{staticClass:"text-caption text-grey-8"},[e._v("Ads-free live wildlife streams across all our locations, 24-hours a day, from any device")])])],1),s("div",{staticClass:"row no-wrap items-start"},[s("q-icon",{staticClass:"marketing-orange q-mt-xs q-mr-md",attrs:{name:"fas fa-check",size:"xs"}}),s("div",[s("div",{staticClass:"text-weight-bold"},[e._v("SafariSnaps & Photos")]),s("div",{staticClass:"text-caption text-grey-8"},[e._v("Take photos, win prizes & play SafariSnaps, the addictive conservation animal-tagging game")])])],1),s("div",{staticClass:"row no-wrap items-start"},[s("q-icon",{staticClass:"marketing-orange q-mt-xs q-mr-md",attrs:{name:"fas fa-check",size:"xs"}}),s("div",[s("div",{staticClass:"text-weight-bold"},[e._v("Wildlife App Alerts")]),s("div",{staticClass:"text-caption text-grey-8"},[e._v("Get instantly alerted when your favourite species are spotted on any of our cameras")])])],1),s("div",{staticClass:"row no-wrap items-start"},[s("q-icon",{staticClass:"q-mt-xs q-mr-md marketing-orange",attrs:{name:"fas fa-check",size:"xs"}}),s("div",[s("div",{staticClass:"text-weight-bold"},[e._v("Membership Content")]),s("div",{staticClass:"text-caption text-grey-8"},[e._v("Exclusive access to behind-the-scenes features, weekly shows, Animal ID kits & more")])])],1)])])],1)],1):e._e()])]),s("q-dialog",{on:{hide:e.termsPrivacyClosed},model:{value:e.showTermsPrivacy,callback:function(t){e.showTermsPrivacy=t},expression:"showTermsPrivacy"}},[s("q-card",{staticStyle:{"min-height":"80vh",width:"80vw","max-width":"1200px"}},[s("q-card-section",{staticClass:"scroll",staticStyle:{"max-height":"calc(80vh - 52px)"}},[e.showPrivacy?s("privacy-policy"):e._e(),e.showTerms?s("terms-of-service"):e._e()],1),s("q-separator"),s("q-card-actions",{staticClass:"bg-light-baise",staticStyle:{"min-height":"52px"},attrs:{align:"right"}},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{color:"brand-orange",flat:"",label:"CLOSE"}})],1)],1)],1),s("site-footer")],1)},ab=[],ib=Object(ce["a"])("user"),ob=ib.mapMutations,rb=ib.mapGetters,nb=ib.mapActions,lb={name:"RegisterPage",components:{privacyPolicy:Oo,termsOfService:jo},computed:ne()(ne()(ne()({},rb(["getHasSubscription","getIsSubscriber","getIsUser"])),nb(["fetchUser"])),{},{minFormHeight(){return`${(null===this||void 0===this?void 0:this.formHeight)||575}px`}}),created(){this.getIsUser&&this.$router.push({name:"subscribe"})},data(){return{form:{email:null,password:null},isPwd:!0,isSubscribing:!1,hasRegisterError:!1,formHeight:575,serverValidation:{email:"",password:""},showPrivacy:!1,showTerms:!1,showTermsPrivacy:!1,validatingEmail:!1,validatingGoogle:!1}},methods:ne()(ne()(ne()({},nb(["serverLogin"])),ob(["setFirebaseToken"])),{},{formResize(e){this.formHeight=(null===e||void 0===e?void 0:e.height)||575},register(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s,a,i,o,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e,s.hasRegisterError=!1,e.$trackEvent({event:"login",interactionType:"Email Subscribe click",interactionElementName:"Subscribe Email Button"},{"subscribe-method":"Email"}),t.prev=3,s.validatingEmail=!0,t.next=7,Ad.a.auth().setPersistence(Ad.a.auth.Auth.Persistence.LOCAL);case 7:return a=null,i=!1,t.next=11,s.$firebaseAuth.createUserWithEmailAndPassword(s.form.email,s.form.password).catch((function(e){switch(console.log("signInWithEmailAndPassword catch:",e),s.hasRegisterError=!0,s.registerError=e.message,e.code){case"auth/email-already-in-use":i=!0,s.hasRegisterError=!1;break;case"auth/invalid-email":s.registerError="Your Email Address is invali
1d.",s.serverValidation.email=s.registerError;break}}));case 11:if(a=t.sent,!i){t.next=16;break}return t.next=15,s.$firebaseAuth.signInWithEmailAndPassword(s.form.email,s.form.password).catch((function(e){switch(console.log("signInWithEmailAndPassword catch:",e),s.hasRegisterError=!0,s.registerError=e.message,e.code){case"auth/user-disabled":s.registerError="Your account is currently disabled, please contact us to assist you.";break;case"auth/wrong-password":s.signInError='The password you entered does not match the one we have for you on record. <br><br> <span class="text-caption"> <strong>N.B.</strong> If you previously used the Google Sign in option and you would now like to use email/password verification, you will need to do a password reset using the FORGOT PASSWORD link and assign yourself a password.</span>',s.serverValidation.password="Your password is incorrect or missing.",s.showResetPassword=!0}}));case 15:a=t.sent;case 16:if(a&&!i&&(console.log("This is a new user that has just registered"),e.$trackEvent({event:"new_user_registration",interactionType:"Register Complete",interactionElementName:"Details Section Complete"},{"register-method":"Google"})),!a||s.hasRegisterError){t.next=22;break}return r=null===(o=a)||void 0===o?void 0:o.user,s.$log("USER RETURNED:",r),t.next=22,e.setTokenAndLoginToApi(r,"validatingEmail");case 22:s.hasRegisterError&&(s.$q.notify({color:"dark-green",closeBtn:"dismiss",html:!0,message:s.registerError,textColor:"white",timeout:3e4}),s.signingUp=!1,s.validatingEmail=!1),t.next=30;break;case 25:t.prev=25,t.t0=t["catch"](3),s.$q.notify({color:"dark-green",closeBtn:"dismiss",html:!0,message:t.t0.message||"Unfortunately we had a technical issue, please try again in a few minutes or alternatively contact us for help.",textColor:"white",timeout:3e4}),s.signingUp=!1,s.validatingEmail=!1;case 30:case"end":return t.stop()}}),t,null,[[3,25]])})))()},resetPassword(){var e=this,t=this;if(!0===t.validateEmail(t.form.email)){this.sendingReset=!0;var s={url:location.protocol+"//"+location.hostname+"/auth/sign-in"};t.$firebaseAuth.sendPasswordResetEmail(t.form.email,s).then((function(){t.$q.notify({color:"dark-green",textColor:"white",message:"We have sent a reset link to your email."})})).catch((function(e){"auth/user-not-found"===e.code?t.$q.notify({color:"dark-green",textColor:"white",message:"You do not have an account with us, please register, it's FREE."}):t.$q.notify({color:"dark-green",textColor:"white",message:"We could not send you a reset link, please contact us to help."})})).finally((function(){e.sendingReset=!1}))}else t.$q.notify({color:"dark-green",textColor:"white",message:"Please enter a valid email address."})},setTokenAndLoginToApi(){var e=arguments,t=this;return F()(regeneratorRuntime.mark((function s(){var a,i,o;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:a=e.length>0&&void 0!==e[0]?e[0]:null,i=e.length>1&&void 0!==e[1]?e[1]:null,o=t,!_.isNil(a)&&_.isObject(a)&&(a?a.getIdToken().then((function(e){console.log("[login] getIdToken() resolved"),_.isEmpty(e)||(console.log("[login] Token received:",e),o.setFirebaseToken(e),console.log("[login] setFirebaseToken() called"),o.$store.state.user.intendedPath?console.log("[login] intendedPath already set:",o.$store.state.user.intendedPath):(console.log('[login] No intendedPath set; setting default to "/dashboard"'),o.$store.commit("user/setIntendedPath",{path:"subscribe",query:null},{root:!0})),console.log("[login] Calling serverLogin"),o.serverLogin().then((function(e){console.log("[login] serverLogin response:",e),o.signingUp=!1,o.validatingEmail=!1,o.fromStep1=!0,o.step=2})).finally((function(){console.log("GOING TO FETCH THE USER AND CHECK FOR SUB NOW"),t.fetchUser(),!_.isNil(i)&&_.has(o,i)&&(o[i]=!1)})))})).catch((function(e){o.$log("GET USER TOKEN CATCH:",e),!_.isNil(i)&&_.has(o,i)&&(o[i]=!1)})):o.$log("USER/TOKEN MISSING:"));case 4:case"end":return s.stop()}}),s)})))()},showPrivacyPolicy(){this.showTerms=!1,this.showPrivacy=!0,this.showTermsPrivacy=!0},showTermsOfService(){this.showPrivacy=!1,this.showTerms=!0,this.showTermsPrivacy=!0},signInWithGoogle(){var e=this;return F()(regeneratorRuntime.mark((function t(){var s,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e,e.$trackEvent({event:"login",interactionType:"Google Register click",interactionElementName:"Register Google Button"},{"register-method":"Google"}),s.validatingGoogle=!0,t.next=5,Ad.a.auth().setPersistence(Ad.a.auth.Auth.Persistence.LOCAL);case 5:a=new Ad.a.auth.GoogleAuthProvider,s.$firebaseAuth.signInWithPopup(a).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=_.get(t,"user",null);console.log("USER",s),e.setTokenAndLoginToApi(s,"validatingGoogle")})).catch((function(e){e.code,e.message,e.email,e.credential;console.log("ERRRRRRRROR:",e)}));case 7:case"end":return t.stop()}}),t)})))()},termsPrivacyClosed(){this.showTermsPrivacy=!1,this.showPrivacy=!1,this.showTerms=!1}
1,validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):_.isEmpty(e)?"Your email is required.":!!this.isValidEmail(e)||"The format of your email is incorrect format."},validatePassword(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.password",!1)?this.getServerError("password"):_.isEmpty(e)?"Your password is required.":!(_.toString(e).length<6)||"Must be at least 6 characters."}}),mixins:[hi,mi,Po],mounted(){}},cb=lb,db=(s("ec64"),Object(Ee["a"])(cb,sb,ab,!1,null,null,null)),ub=db.exports;ze()(db,"components",{QPage:Ci["a"],QIcon:Ai["a"],QImg:yi["a"],QForm:Fo["a"],QResizeObserver:ho["a"],QInput:Bo["a"],QTooltip:Lc["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"],QCard:Ne["a"],QCardSection:Oe["a"],QDialog:Re["a"],QSeparator:Go["a"],QCardActions:Le["a"]}),ze()(db,"directives",{ClosePopup:Y["a"]});var hb=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.showAnimals?s("div",{staticClass:"q-pt-md"},[s("router-link",{staticClass:"text-left text-body text-black text-underline cursor-pointer underline-links",attrs:{to:{name:"resources"}}},[s("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"}),e._v(" Resources\n      ")]),e._v("\n        >  Animals A-Z\n    ")],1):s("div",{staticClass:"q-pt-md"},[s("router-link",{staticClass:"text-left text-body text-black text-underline cursor-pointer underline-links",attrs:{to:{name:"resources"}}},[s("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"}),e._v(" Resources\n      ")]),e._v("\n        >  Birds A-Z\n    ")],1),s("div",{staticClass:"app-width col-12 q-pt-md"},[e.showAnimals?s("page-title",{attrs:{title:"Africam Animals A-Z"}}):s("page-title",{attrs:{title:"Africam Birds A-Z"}}),e.showAnimals?s("p",[e._v("Click on an animal to start learning")]):s("p",[e._v("Select a bird you would like to learn more about")])],1),s("div",{staticClass:"row"},e._l(e.alphabetOptions,(function(t,a){return s("div",[s("q-btn",{attrs:{color:e.alphabetOptions[a].color,label:e.alphabetOptions[a].label,"text-color":"black"},on:{click:function(t){return e.selectLetter(a)}}})],1)})),0),s("div",{staticClass:"row q-pt-sm q-pb-sm"},[s("q-btn",{attrs:{color:"white","text-color":"black",label:"Show All"},on:{click:e.showAllAnimals}})],1),e.fetchingAnimalOptions?s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-left"},[s("span",{staticClass:"q-mr-sm text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("Loading Animals\n        ")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)]):s("div",[e.letterSelected?s("div",[s("div",{staticClass:"row q-pt-lg text-bold text-h3"},[s("span",{domProps:{textContent:e._s(e.letterHeading)}})]),s("div",{staticClass:"row q-col-gutter-sm q-mt-md q-mb-lg"},[e._l(e.selectedAnimalIndicies,(function(t){return s("div",{staticClass:"col-md-3 col-sm-6 col-xs-12"},[s("router-link",{attrs:{to:{name:"animal",params:{id:String(e.animalIds[t]),type:e.selectedAnimalType}}}},[s("div",{staticClass:"cursor-pointer text-grey-9 text-subtitle2 col-3 row"},[s("q-img",{attrs:{src:e.animalImages[t]}}),s("span",{domProps:{textContent:e._s(e.animalNames[t])}})],1)])],1)}))],2)]):e._e(),e.letterSelected?e._e():s("div",[e.showAnimals?s("div",{staticClass:"row q-col-gutter-sm q-mt-md q-mb-lg"},[e._l(e.storeAnimals,(function(t){return["Not sure?"!=t.name?s("div",{key:t.name+"-"+t.id,staticClass:"col-md-3 col-sm-6 col-xs-12"},[s("router-link",{attrs:{to:{name:"animal",params:{id:String(t.id),type:"animals"}}}},[s("div",{staticClass:"cursor-pointer text-grey-9 text-subtitle2 col-3 row"},[s("q-img",{attrs:{src:t.avatar}}),e._v("\n                  "+e._s(t.name)+"\n                ")],1)])],1):e._e()]}))],2):s("div",{staticClass:"row q-col-gutter-sm q-mt-md q-mb-lg"},[e._l(e.storeBirds,(function(t){return["Not sure?"!=t.name?s("div",{key:t.name+"-"+t.id,staticClass:"col-md-3 col-sm-6 col-xs-12"},[s("router-link",{attrs:{to:{name:"animal",params:{id:String(t.id),type:"birds"}}}},[s("div",{staticClass:"cursor-pointer text-grey-9 text-subtitle2 col-3 row"},[s("q-img",{attrs:{src:t.avatar}}),e._v("\n                  "+e._s(t.name)+"\n                ")],1)])],1):e._e(
1)]}))],2)])])]),s("site-footer")],1)},mb=[],pb=Object(ce["a"])("user"),gb=pb.mapGetters,vb=Object(ce["a"])("animals"),fb=vb.mapGetters,bb=Object(ce["a"])("photos"),wb=(bb.mapGetters,bb.mapActions),yb={name:"AnimalResultsPage",components:{rangerVideoPreview:Gh},computed:ne()(ne()(ne()({},gb(["getAuthenticated","getIsSubscriber"])),fb(["animals","birds"])),{},{columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},animalNameOptions(){var e,t;return null!==(e=null===(t=this.$data.allAnimals)||void 0===t?void 0:t.name)&&void 0!==e?e:"loading"},storeAnimals(){return this.animals},storeBirds(){return this.birds},showBirds(){return"birds"===this.$route.params.type},showAnimals(){return"animals"===this.$route.params.type},selectedAnimalType(){return this.showAnimals?"animals":"birds"}}),data(){return{animal:{},dontKnow:21,allAnimals:[],buttonActivated:!1,animalNames:[],animalIds:[],animalImages:[],finds:[],alphabet:null,fetchingAnimalOptions:!1,loadingAnimal:!1,allVideosAreLoaded:!1,currentPremiumVideo:{storage_reference:null},fetchingVideos:!1,focusedVideo:{},lastPage:1,lastPhotoPage:1,loadingVideos:!1,perRow:3,showFocusedVideo:!1,showPremiumVideoModal:!1,showUpgradePrompt:!1,slotSize:0,upgradeAction:{},upgradeCTA:"",upgradeMessage:"",videos:[],photos:[],preSelect:!!_.get(this,"$route.query.preSelect",!1)&&[_.get(this,"$route.query.preSelect",!1)],preLetter:_.get(this,"$route.query.preLetter",!1)?_.get(this,"$route.query.preLetter",!1):"",selectedLetter:"",letterHeading:"",letterSelected:"false",allPhotosAreLoaded:!1,fetchingPhotos:!1,focusedPhoto:{},preSelectedLetterIndex:"",filteredAnimals:[],filteredAnimalsIndex:[],selectedAnimalIndicies:[],showFocusedPhoto:!1,alphabetOptions:[{label:"A",value:"a"},{label:"B",value:"b"},{label:"C",value:"c"},{label:"D",value:"d",selected:!1},{label:"E",value:"e",selected:!1},{label:"F",value:"f",selected:!1},{label:"G",value:"g",selected:!1},{label:"H",value:"h",selected:!1},{label:"I",value:"i",selected:!1},{label:"J",value:"j",selected:!1},{label:"K",value:"k",selected:!1},{label:"L",value:"l",selected:!1},{label:"M",value:"m",selected:!1},{label:"N",value:"n",selected:!1},{label:"O",value:"o",selected:!1},{label:"P",value:"p",selected:!1},{label:"Q",value:"q",selected:!1},{label:"R",value:"r",selected:!1},{label:"S",value:"s",selected:!1},{label:"T",value:"t",selected:!1},{label:"U",value:"u",selected:!1},{label:"V",value:"v",selected:!1},{label:"W",value:"w",selected:!1},{label:"X",value:"x",selected:!1},{label:"Y",value:"y",selected:!1},{label:"Z",value:"z",selected:!1}],videoTypes:["highlight","insight","pick","rare"]}},methods:ne()(ne()({},wb(["clearPhotos","fetchPhotos"])),{},{adSlotResize(e){this.slotSize=e.width},checkDontKnow(){return console.log("CHECKING DONT KNOW"),this.animal.id>7},checkForStoreAnimals(){console.log("CHECKING FOR STORE ANIMALS"),console.log(this.storeAnimals),console.log("STORE ANIMALS ABOVE")},showAllAnimals(){console.log("SHOWING ALL ANIMALS"),this.letterSelected=!1;for(var e=0,t=this.alphabetOptions.length;e<t;e++)this.$set(this.alphabetOptions[e],"color","white");console.log(this.alphabetOptions)},addFind(){this.finds.push({id:uuidv4(),value:""})},checkForPreSelect(){var e=this;this.preSelect?this.selectPreLetter():(this.selectedLetter="A",this.preSelectedLetterIndex=this.alphabetOptions.findIndex((function(t){return t.label===e.selectedLetter})),this.alphabetOptions[this.preSelectedLetterIndex].color="grey-4",this.filteredAnimals=this.animalNames.filter((function(t){return t.startsWith(e.selectedLetter)})),console.log(this.filteredAnimals),this.letterHeading=this.selectedLetter,this.animalNames.forEach((function(t,s){e.filteredAnimals.includes(t)&&e.selectedAnimalIndicies.push(s)})),console.log(this.selectedAnimalIndicies)),console.log("CHECKING FOR PRE SELECT"),console.log(this.preSelect),console.log("CHECKING FOR SELECTED LETTER"),console.log(this.letterSelected)},checkForHighlightLetter(){var e=this;this.preSelect&&(this.selectedLetter=this.preLetter,this.preSelectedLetterIndex=this.alphabetOptions.findIndex((function(t){return t.label===e.selectedLetter})),console.log("*************PRE LETTER**************"),console.log(this.preSelectedLetterIndex),this.alphabetOptions[this.preSelectedLetterIndex].color="grey-4",console.log("CHECKING FOR PRE SELECT"),console.log(this.preSelect),console.log("CHECKING FOR SELECTED LETTER"),console.log(this.letterSelected))},selectLetter(e){for(var t=this,s=0,a=this.alphabetOptions.length;s<a;s++)this.$set(this.alphabetOptions[s],"color","white");this.letterSelected=!0,this.selectedAnimalIndicies.length=0,this.selectedLetter=this.alphabetOptions[e].label,this.alphabetOptions[e].color="grey-4",console.log(this.animalNames),console.log(this.selectedLetter),this.filteredAnimals=this.animalNames.filter((function(e){return e.startsWith(t.selectedLetter)&&"Not sure?"!=e})),console.log(this.filteredAnimals),this.letterHeading=this.selectedLetter,this.animalNames.forEac
1h((function(e,s){t.filteredAnimals.includes(e)&&t.selectedAnimalIndicies.push(s)})),console.log(this.selectedAnimalIndicies)},selectPreLetter(){var e=this;this.letterSelected=!0,this.selectedAnimalIndicies.length=0,this.selectedLetter=this.preLetter,console.log(this.animalNames),console.log(this.selectedLetter),this.filteredAnimals=this.animalNames.filter((function(t){return t.startsWith(e.selectedLetter)})),console.log(this.filteredAnimals),this.letterHeading=this.selectedLetter,this.animalNames.forEach((function(t,s){e.filteredAnimals.includes(t)&&e.selectedAnimalIndicies.push(s)})),console.log(this.selectedAnimalIndicies)},directStreamPlayerClosed(){this.showPremiumVideoModal=!1},animalAvatar(){return this.animal.avatar},filterBy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||_.includes(this.videoTypes,e)||this.videoTypes.push(e)},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0},getAnimalOptions(){var e=this;e.fetchingAnimalOptions=!0,console.log("REMOVING DONT KNOW"),console.log("=================ALL ANIMAL NAMES================================="),e.animalNames=e.showAnimals?e.storeAnimals.map((function(e){return e.name})):e.storeBirds.map((function(e){return e.name})),console.log(e.animalNames),console.log("=================ALL ANIMAL IDs================================="),e.animalIds=e.showAnimals?e.storeAnimals.map((function(e){return e.id})):e.storeBirds.map((function(e){return e.id})),console.log(e.animalIds),e.animalImages=e.showAnimals?e.storeAnimals.map((function(e){return e.avatar})):e.storeBirds.map((function(e){return e.avatar})),this.checkForPreSelect(),e.fetchingAnimalOptions=!1,console.log("finished")}}),mixins:[hi,mi],mounted(){var e=this;e.checkForHighlightLetter(),e.getAnimalOptions(),e.checkForStoreAnimals(),e.perRow=e.sensibleRowsPerPage(3,"highlightsPerRow")},created(){},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)},videoTypes(){var e=this;this.$nextTick((function(){e.videos=[],e.$refs.videoScroller.reset(),e.$refs.videoScroller.trigger()}))}},props:{}},xb=yb,qb=Object(Ee["a"])(xb,hb,mb,!1,null,null,null),_b=qb.exports;ze()(qb,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QSpinnerDots:mo["a"]});var Sb=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"col-12 q-pt-xl q-pb-sm"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-8"},[s("page-title",{attrs:{title:"Learn With Africam"}})],1)]),s("p",[e._v("\n        African Wildlife education for kids and adults, click on an image to\n        continue.\n      ")])]),s("div",{staticClass:"row q-col-gutter-lg"},[s("div",{staticClass:"col-xs-12 col-sm-6 q-pb-xl"},[s("div",{staticClass:"text-caption q-pb-xs"},[e._v("\n          Kids become certified Junior Rangers with unlimited videos, quizzes,\n          and kids shows\n        ")]),s("div",[s("router-link",{attrs:{to:{name:"junior-ranger"}}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/junior-ranger-learn.jpg",ratio:16/9}})],1)],1)]),s("div",{staticClass:"col-xs-12 col-sm-6"},[e.afriExpert?e._e():s("div",{staticClass:"text-caption q-pb-xs"},[e._v("\n          Become a wildlife expert with all the African animals A-Z, ranger\n          insights, and curated courses\n        ")]),e.afriExpert?s("div",{staticClass:"text-caption q-pb-xs"},[e._v("\n          Expand your wildlife knowledge with our in-depth and educational\n          ranger insights\n        ")]):e._e(),s("div",[s("router-link",{attrs:{to:{name:"afriexpert"}}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/afriexpert-learn.jpg",ratio:16/9}})],1)],1)])])]),s("site-footer")],1)},Cb=[],Ab={name:"LearnPage",components:{},data(){return{afriExpert:!1}},methods:{insightVideosLink(){this.$router.push({name:"video-highlights",query:{learnLink:!0,filteredType:"insight"}})}},mixins:[hi,mi],mounted(){}},kb=Ab,Tb=Object(Ee["a"])(kb,Sb,Cb,!1,null,null,null),Pb=Tb.exports;ze()(Tb,"components",{QPage:Ci["a"],QImg:yi["a"]});var Ib=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"q-pt-lg"},[s("page-title",{attrs:{title:"How to Download The Alerts App"}}),s("p",[e._v("\n        Never miss a sighting again with the Africam Alerts App!\n      ")]),e._v("\n\n\n\n      Our app allows you to customize alerts for specific animals based on your viewing preferences.\n      As soon as your chosen critter is spotted on one of our cameras, you’ll immediately receive a notification.\n\n\n      The Alert App is a Progressive Web App (PWA), which integrates seamlessly onto your phone —\n      no need to download it from an app store.\n\n      It is the perfect way to stay connected to Africa's wildlife.\n      Follow the instructions below to get started on your Ap
1ple or Android device.\n\n\n\n    ")],1),s("div",{staticClass:"q-pl-xl q-pr-xl"},[s("div",{staticClass:"row q-pa-md"},[s("div",{staticClass:"col-xs-12 col-md-6 q-pa-md"},[s("h5",{staticClass:"text-h6 q-mb-sm"},[s("i",{staticClass:"fab fa-apple q-mr-sm"}),e._v("HOW TO DOWNLOAD iOS\n          ")]),s("div",{staticClass:"responsive-video"},[s("iframe",{attrs:{title:"How To Download The Africam App on IOS Devices",src:"https://www.youtube.com/embed/60CfuwolCZ0",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""}})]),s("p",[e._v("For Apple:")]),s("ol",[s("li",[e._v("Search for "),s("strong",[e._v("app.africam.com")]),e._v(" in your search engine.")]),s("li",[e._v("Tap the "),s("em",[e._v("Share")]),e._v(" icon, scroll down, select "),s("em",[e._v("Add to Home Screen")]),e._v(", then tap "),s("em",[e._v("Add")]),e._v(".\n            ")]),s("li",[e._v("Navigate to your home screen to find the Africam App.")]),s("li",[e._v("Open the app and enter your username and password.")]),s("li",[e._v("Select "),s("em",[e._v("Enable Notifications")]),e._v(", then tap "),s("em",[e._v("Allow")]),e._v(".")]),s("li",[e._v("Select the "),s("em",[e._v("My Alerts")]),e._v(" tab and choose which animals you wish to receive notifications for.")])]),s("p",[e._v("Happy Sightings!")])]),s("div",{staticClass:"col-xs-12 col-md-6 q-pa-md"},[s("h5",{staticClass:"text-h6 q-mb-sm"},[s("i",{staticClass:"fab fa-android fa-lg q-mr-sm"}),e._v("HOW TO DOWNLOAD ANDROID\n          ")]),s("div",{staticClass:"responsive-video"},[s("iframe",{attrs:{title:"How To Download Africam Alerts App on Android Devices",src:"https://www.youtube.com/embed/UBytvvn3vfk",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""}})]),s("p",[e._v("For Android:")]),s("ol",[s("li",[e._v("Search for "),s("strong",[e._v("app.africam.com")]),e._v(" in your device’s search engine.")]),s("li",[e._v("Select "),s("em",[e._v("Install")]),e._v(", and once installed, close your browser.")]),s("li",[e._v("Navigate to your home screen to find the Africam App.")]),s("li",[e._v("Open the app and enter your username and password.")]),s("li",[e._v("Select "),s("em",[e._v("Enable Notifications")]),e._v(", then select "),s("em",[e._v("Allow")]),e._v(".")]),s("li",[e._v("Select the "),s("em",[e._v("My Alerts")]),e._v(" tab and choose which animals you wish to receive notifications for.")])]),s("p",[e._v("Happy Sightings!")])])])])]),s("site-footer")],1)},$b=[],Eb={name:"AlertsAppPage",mixins:[hi,mi]},Rb=Eb,Nb=(s("1743"),Object(Ee["a"])(Rb,Ib,$b,!1,null,null,null)),Ob=Nb.exports;ze()(Nb,"components",{QPage:Ci["a"]});var Lb=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"q-pt-lg"},[s("page-title",{attrs:{title:"Africam Shop"}}),s("p",[e._v("\n        Show your love and support by purchasing exclusive Africam merch from our shop. We have two shops, one for South African purchases and one for International purchases, to ensure quality service no matter where you are in the world.\n      ")])],1),s("div",[s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-md-6 q-pa-md"},[s("a",{staticClass:"no-underline",attrs:{href:"https://africam-shop.fourthwall.com/",target:"_blank"}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/shopww.jpg",ratio:16/9}})],1)]),s("div",{staticClass:"col-xs-12 col-md-6 q-pa-md"},[s("a",{staticClass:"no-underline",attrs:{href:"https://teeprint.co.za/store/africam/",target:"_blank"}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/shopsa.jpg",ratio:16/9}})],1)])])])]),s("site-footer")],1)},Db=[],Vb={name:"AlertsAppPage",mixins:[hi,mi]},zb=Vb,Mb=(s("c306"),Object(Ee["a"])(zb,Lb,Db,!1,null,null,null)),jb=Mb.exports;ze()(Mb,"components",{QPage:Ci["a"],QImg:yi["a"]});var Qb=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[s("div",{staticClass:"col-12 q-pt-xl q-pb-sm"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-8"},[s("page-title",{attrs:{title:"Resources"}})],1)]),s("p",[e._v("Our resources will help you navigate all things Africam")])]),s("div",{staticClass:"row q-col-gutter-md"},[s("div",{staticClass:"col-xs-12 col-sm-4 q-pb-md"},[s("div",[s("router-link",{attrs:{to:{name:"animals-a-to-z",params:{type:"animals"}}}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/Animal
1s A-Z.jpg",ratio:16/9}})],1)],1),s("div",{staticClass:"text-body1 q-pb-lg"},[e._v("\n          Animals A-Z is a great way to expand your wildlife knowledge, featuring \n          detailed info on unique creatures seen on Africam.\n       \n            "),s("router-link",{staticClass:"text-left text-body2 text-underline cursor-pointer underline-links",attrs:{to:{name:"animals-a-to-z",params:{type:"animals"}}}},[s("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"},[e._v("Access Animals A-Z HERE")])])],1)]),s("div",{staticClass:"col-xs-12 col-sm-4 q-pb-xl"},[s("div",[s("router-link",{attrs:{to:{name:"animals-a-to-z",params:{type:"birds"}}}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/Birds A-Z.jpg",ratio:16/9}})],1)],1),s("div",{staticClass:"text-body1 q-pb-lg"},[e._v("\n          Birds A-Z is a helpful guide for mastering birding, with details on \n          appearance, habitat, and traits of birds seen on Africam.\n          "),s("router-link",{staticClass:"text-left text-body2 text-underline cursor-pointer underline-links",attrs:{to:{name:"animals-a-to-z",params:{type:"birds"}}}},[s("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"},[e._v("Access Birds A-Z HERE")])])],1)]),s("div",{staticClass:"col-xs-12 col-sm-4 q-pb-xl"},[s("div",[s("a",{staticClass:"no-underline",attrs:{href:"https://africam.com/blog/",target:"_blank"}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/Blog-Option-4.jpg",ratio:16/9}})],1)]),s("div",{staticClass:"text-body1 q-pb-lg"},[e._v("\n          Our blog keeps you updated on all things Africam, from new cameras and\n          team insights to leaderboards, competitions, and more.\n          "),s("a",{staticClass:"text-left text-body2 text-underline cursor-pointer underline-links",attrs:{href:"https://africam.com/blog/",target:"_blank"}},[s("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"},[e._v("Access the Blog HERE")])])])]),s("div",{staticClass:"col-xs-12 col-sm-4 q-pb-xl"},[s("div",[s("router-link",{attrs:{to:{name:"shows"}}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/Shows (Option 1).jpg",ratio:16/9}})],1)],1),s("div",{staticClass:"text-body1 q-pb-lg"},[e._v("\n         In partnership with Explore.org, our weekly shows spotlight Africam  wildlife,\n          featuring live cameras, top sightings, and real-time Q&As with  expert rangers.\n          "),s("router-link",{staticClass:"text-left text-body2 text-underline cursor-pointer underline-links",attrs:{to:{name:"shows"}}},[s("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"},[e._v("Access the Shows HERE")])])],1)]),s("div",{staticClass:"col-xs-12 col-sm-4 q-pb-xl"},[s("div",[s("router-link",{attrs:{to:{name:"the-boma"}}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/MultiView.jpg",ratio:16/9}})],1)],1),s("div",{staticClass:"text-body1 q-pb-lg"},[e._v("\n         This will allow you to easily open and view several livestreams at \n          once, ensuring that you never miss a beat.\n          "),s("router-link",{staticClass:"text-left text-body2 text-underline cursor-pointer underline-links",attrs:{to:{name:"the-boma"}}},[s("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"},[e._v("Access Multistream HERE")])])],1)]),s("div",{staticClass:"col-xs-12 col-sm-4 q-pb-xl"},[s("div",[s("router-link",{attrs:{to:{name:"alerts-app"}}},[s("q-img",{staticClass:"cursor-pointer",attrs:{src:"/images/AlertApp.jpg",ratio:16/9}})],1)],1),s("div",{staticClass:"text-body1 q-pb-lg"},[e._v("\n         Our Alert App lets you choose which animals to watch for and notifies you\n          instantly when your selected wildlife appears on screen.\n          "),s("router-link",{staticClass:"text-left text-body2 text-underline cursor-pointer underline-links",attrs:{to:{name:"alerts-app"}}},[s("div",{staticClass:"text-left text-black text-body2 text-underline cursor-pointer underline-links q-pt-xs"},[e._v("Access the Download Instructions HERE")])])],1)]),s("div",[s("br")])])]),s("site-footer")],1)},Ub=[],Fb={name:"LearnPage",components:{},data(){return{afriExpert:!1}},methods:{insightVideosLink(){this.$router.push({name:"video-highlights",query:{learnLink:!0,filteredType:"insight"}})}},mixins:[hi,mi],mounted(){}},Bb=Fb,Hb=Object(Ee["a"])(Bb,Qb,Ub,!1,null,null,null),Gb=Hb.exports;ze()(Hb,"components",{QPage:Ci["a"],QImg:yi["a"]});var Wb=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.rowSelected?s("div",{staticClass:"q-pa-md"},[s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<600?"col-12 q-pa-md text-h7":"col-12 q-pa-md text-h5"},[s("selected-user-gallery",{attrs:{selectedUserId:e.selectedUserId}}
1)],1)])]):e._e(),e.rowSelected?e._e():s("div",{staticClass:"row justify-center",class:e.getIsSubscriber?"q-my-xl":"q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"col-12 text-left text-h4 q-pt-lg"},[s("q-img",{staticClass:"afritag-logo",attrs:{"no-default-spinner":"",src:"/images/afritag-logo.svg"}})],1),s("div",{staticClass:"col-md-12 col-lg-5 text-h5 q-pt-md text-weight-medium q-pb-xs",domProps:{textContent:e._s(e.pageLabel)}}),s("div",{staticClass:"row q-mb-sm q-pt-md"},[s("div"),s("div",{staticClass:"text-right col-xs-12 col-md-12 text-smaller text-grey-5"},[e._v("\n            Photos Per Row\n            "),s("q-btn-toggle",{staticClass:"q-ml-sm",attrs:{options:e.perRowOptions,color:"grey-9","text-color":"white","toggle-color":"brand-orange","toggle-text-color":"black"},model:{value:e.perRow,callback:function(t){e.perRow=t},expression:"perRow"}})],1)]),s("q-infinite-scroll",{ref:"photoScroller",staticClass:"row q-col-gutter-lg q-mt-md",attrs:{offset:2e3},on:{load:e.loadMorePhotos},scopedSlots:e._u([{key:"loading",fn:function(){return[s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                    q-mr-sm\n                    text-weight-bold text-caption text-uppercase text-grey-6\n                  "},[e._v("Loading SafariSnaps")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1)])]},proxy:!0}],null,!1,1382656660)},[e._l(e.currentHighlights,(function(t,a){return[s("div",{key:"scroll-afritag-"+a,staticClass:"cursor-pointer",class:e.columnClasses},[s("afritag-preview",{attrs:{photo:t}})],1)]}))],2),s("div",{staticClass:"row"},[e.allPhotosAreLoaded?s("div",{staticClass:"col-12 full-width q-my-md"},[s("div",{staticClass:"text-center"},[s("span",{staticClass:"\n                  q-mr-sm\n                  text-weight-bold text-caption text-uppercase text-grey-6\n                "},[e._v("\n                All SafariSnaps have been loaded.")])])]):e._e()])],1)])]),s("site-footer"),s("afritag-preview",{staticClass:"hidden",attrs:{photo:e.focusedPhoto,"show-modal":e.showFocusedPhoto}}),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showGuidelines=!1}},model:{value:e.showGuidelines,callback:function(t){e.showGuidelines=t},expression:"showGuidelines"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-guidelines")],1)],1)],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showFaq=!1}},model:{value:e.showFaq,callback:function(t){e.showFaq=t},expression:"showFaq"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-faq")],1)],1)],1)],1)},Yb=[],Kb=Object(ce["a"])("photos"),Zb=(Kb.mapGetters,Kb.mapActions),Jb=Object(ce["a"])("user"),Xb=Jb.mapGetters,ew=Object(ce["a"])("destination"),tw=ew.mapGetters,sw={components:{afritagGuidelines:Yi,afritagFaq:to,selectedUserGallery:go},name:"AllDestinationAfritags",computed:ne()(ne()(ne()({},Xb(["getAuthenticated","getIsSubscriber"])),tw(["getDestinationBySlug"])),{},{backButtonLabel(){return console.log("CHECKING THE SLUG HERE"),console.log(this.slug),this.slug},lodgeLabel(){return this.lodgeName},pageLabel(){return"Most recent "+this.lodgeName+"  SafariSnaps"},backButtonColClass(){return this.$q.screen.width<=480?"col-xs-12 col-md-6 text-center q-mb-md":"col-xs-12 col-md-6 text-left"},streamCode(){return console.log("CHECKING FOR STREAM CODE"),this.urlCode},columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio},currentHighlights(){return this.photos}}),created(){_.get(this,"$route.params.id",!1)&&this.getFocusedPhoto()},data(){return{allPhotosAreLoaded:!1,slug:_.get(this,"$route.query.slug",!1),urlCode:_.get(this,"$route.query.urlCode",!1),lodge:_.get(this,"$route.query.lodge",!1),lodgeName:_.get(this,"$route.query.lodgeName",!1),showGuidelines:!1,show
1Faq:!1,fetchingPhotos:!1,focusedPhoto:{},lastPage:1,meta:{title:"Africam Latest SafariSnaps."},selectedUserId:"",rowSelected:!1,perRow:3,photos:[],showFocusedPhoto:!1,slotSize:0,data:[]}},meta(){return{title:this.meta.title}},methods:ne()(ne()({},Zb(["clearPhotos","fetchPhotos"])),{},{adSlotResize(e){this.slotSize=e.width},launchGuidelines(){this.showGuidelines=!0},launchFaq(){this.showFaq=!0},getFocusedPhoto(){var e=this;e.fetchPhotos({filters:{stream:e.streamCode,isAfritag:!0}}).then((function(t){console.log("THIS IS THE STREAM CODE"),console.log(e.streamCode);var s=_.get(t,"data.data",[]);_.isArray(s)&&!_.isEmpty(s)&&(e.$set(e,"focusedPhoto",s[0]),e.$nextTick((function(){e.showFocusedPhoto=!0})),e.$log("FOCUSED PHOTO:",e.focusedPhoto))}))},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0},loadMorePhotos(e,t){var s=this;if(e>s.lastPage)return t(),void(s.allPhotosAreLoaded=!0);s.fetchPhotos({filters:{stream:s.streamCode,isAfritag:!0},page:e,per_page:s.dbPageSize(),isAfritag:!0}).then((function(e){_.each(_.get(e,"data.data",[]),(function(e){s.photos.push(e)})),s.lastPage=_.get(e,"data.meta.pagination.total_pages",1)})).finally((function(){t()}))}}),mixins:[hi,mi],mounted(){var e=this;e.perRow=e.sensibleRowsPerPage(3,"highlightsPerRow"),e.clearPhotos(),e.$refs.photoScroller.trigger(),e.$log("PHOTO ID:",e.$route.params.id)},watch:{perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)}}},aw=sw,iw=Object(Ee["a"])(aw,Wb,Yb,!1,null,null,null),ow=iw.exports;ze()(iw,"components",{QPage:Ci["a"],QImg:yi["a"],QBtnToggle:So["a"],QInfiniteScroll:uo["a"],QSpinnerDots:mo["a"],QDialog:Re["a"],QCard:Ne["a"],QIcon:Ai["a"],QCardSection:Oe["a"]}),ze()(iw,"directives",{ClosePopup:Y["a"]});var rw=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-page",{class:[e.appPadding]},[e.rowSelected?s("div",{staticClass:"q-pa-md"},[s("div",{staticClass:"row"},[s("q-btn",{staticClass:"q-pr-sm",attrs:{outline:"",dense:"",color:"grey",label:"Back To Test 2",icon:"fas fa-chevron-left"},on:{click:function(t){e.rowSelected=!1}}})],1),s("div",{staticClass:"row"},[s("div",{class:e.$q.screen.width<600?"col-12 q-pa-md text-h7":"col-12 q-pa-md text-h5"},[s("selected-user-gallery",{attrs:{selectedUserId:e.selectedUserId}})],1)])]):e._e(),e.rowSelected?e._e():s("div",{staticClass:"row justify-center",class:e.getIsSubscriber?"q-my-xl":"q-mb-xl"},[s("div",{staticClass:"app-width col-12"},[s("div",{staticClass:"col-12 text-h4 q-pt-lg"},[s("q-img",{staticClass:"afritag-logo",attrs:{"no-default-spinner":"",src:"/images/afritag-logo.svg"}})],1),e.streamsAreLoaded?s("div",{staticClass:"col-md-12 col-lg-5 text-h5 q-pt-lg text-weight-medium q-pb-lg",domProps:{textContent:e._s(e.pageLabel)}}):e._e(),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12"},[e.streamsAreLoaded?s("div",[e.showNoData?s("div",[e._v("\n                      No data found\n                  ")]):e._e(),s("animals-tagged",{attrs:{isPage:!0,stream:e.getStream}})],1):s("div",[s("span",{staticClass:"q-pt-lg q-pb-lg text-weight-bold text-caption text-uppercase text-grey-6"},[e._v("Loading Data\n                ")]),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}}),s("q-linear-progress",{staticClass:"q-mt-md",attrs:{value:e.uploadProgress,color:"brand-orange",rounded:"",size:"23px","track-color":"grey-5"}},[s("div",{staticClass:"absolute-full flex flex-center"},[s("q-badge",{attrs:{color:"white","text-color":"grey-10",label:e.uploadProgressLabel}})],1)])],1)])])])])]),s("site-footer"),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showGuidelines=!1}},model:{value:e.showGuidelines,callback:function(t){e.showGuidelines=t},expression:"showGuidelines"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-guidelines")],1)],1)],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.showFaq=!1}},model:{value:e.showFaq,callback:function(t){e.showFaq=t},expression:"showFaq"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[s("afritag-faq")],1)],1)],1)],1)},nw=[],lw=Object(ce["a"])("photos"),cw=(lw.mapGetters,lw.mapActions),dw=Object(ce["a"])("user"),uw=dw.mapGetters,hw=Object(ce["a"])("destination"),mw=hw.mapGetters,pw={components:{afritagGuidelines:Yi,afritagFaq:to,selectedUserGallery:go},name:"AllDestinationAnimalsTagged",computed:ne()(ne()(ne()({},uw(["getAuthenticated","getIsSubscriber"])),mw(["getDestinationBySlug"])),{},{backButtonLabel(){},backButtonColClass(){return this.$q.screen.width<=480?"col-xs-12 col-md-6 text-center q-mb-md":"col-xs-12 col-md-6 text-left"},uploadProgress(){return this.progress/100},uploadProgressLabel(){return this.requestingUploadLink?"LOADING DATA":Math.round(this.progress)+"%"},pageLabel(){return"Most recent "+this.lodgeName+"  animals tagged"},columnClasses(){switch(this.perRow){case 1:return"col-12";case 2:return"col-6";case 3:return"col-4";case 4:return"col-3";default:return"col-3"}},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio},currentHighlights(){return this.photos}}),created(){_.get(this,"$route.params.id",!1)&&this.getFocusedPhoto()},data(){return{progress:10,allPhotosAreLoaded:!1,showGuidelines:!1,requestingUploadLink:!1,lodgeSlug:"",getStream
1:{},showNoData:!1,streamsAreLoaded:!1,testVariable:!1,lodgeName:"",showFaq:!1,lodgeUrl:_.get(this,"$route.query.lodgeUrl",!1),fetchingPhotos:!1,focusedPhoto:{},lastPage:1,meta:{title:"Africam Latest SafariSnap Tags."},selectedUserId:"",rowSelected:!1,perRow:3,photos:[],showFocusedPhoto:!1,slotSize:0,data:[]}},meta(){return{title:this.meta.title}},methods:ne()(ne()({},cw(["clearPhotos","fetchPhotos"])),{},{adSlotResize(e){this.slotSize=e.width},progressTimer(){var e=this;this.interval=setInterval((function(){e.progress>=100?clearInterval(e.interval):(e.progress=e.progress+10,console.log(e.progress))}),1500)},waitForStreamObject(){this.progressTimer(),setTimeout(function(){this.lodgeVariables()}.bind(this),15e3)},stream(){console.log("CHECKING FOR THE STREAM SYNTAX");var e=this.getDestinationBySlug(this.lodgeSlug).streams[0];console.log("CHECKING FOR THE STREAM SYNTAX"),console.log(e),this.testVariable=!0,e.max=200,this.getStream=e},lodgeVariables(){"oldonyo"===this.lodgeUrl?(this.lodgeName="ol Donyo Lodge",this.lodgeSlug="ol-donyo",this.stream(),this.waitForStreams(),this.requestingUploadLink=!1,this.clearInterval(this.interval)):"tembo"===this.lodgeUrl?(this.lodgeName="Tembo Plains",this.lodgeSlug="tembo-plains",this.stream(),this.waitForStreams()):"simbavati"===this.lodgeUrl?(this.lodgeName="Simbavati",this.lodgeSlug="simbavati",this.stream(),this.waitForStreams()):"shalatisunrise"===this.lodgeUrl?(this.lodgeName="Shalati Sunrise",this.lodgeSlug="shalati-sunrise",this.stream(),this.waitForStreams()):"shalatiskukuza"===this.lodgeUrl?(this.lodgeName="Shalati Skukuza",this.lodgeSlug="skukuza",this.stream(),this.waitForStreams()):"shalatibridge"===this.lodgeUrl?(this.lodgeName="Shalati Bridge",this.lodgeSlug="shalati-bridge",this.stream(),this.waitForStreams()):"kwamaritane"===this.lodgeUrl?(this.lodgeName="Kwa Maritane",this.lodgeSlug="kwa-maritane",this.stream(),this.waitForStreams()):"mabula"===this.lodgeUrl?(this.lodgeName="Mabula",this.lodgeSlug="mabula",this.stream(),this.waitForStreams()):(this.streamsAreLoaded=!0,this.showNoData=!0)},waitForStreams(){this.testVariable?(console.log("WAIT FOR STREAMS WORKING"),this.streamsAreLoaded=!0,console.log(this.streamsAreLoaded)):(console.log("WAIT FOR STREAMS WORKING"),this.streamsAreLoaded=!1,console.log(this.streamsAreLoaded))},launchGuidelines(){this.showGuidelines=!0},launchFaq(){this.showFaq=!0},injectAdvert(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!_.isNil(e)&&_.isNumber(_.toNumber(e))&&e>1&&e%(2*this.perRow)===0}}),mixins:[hi,mi],mounted(){var e=this;e.waitForStreamObject()},watch:{stream(){console.log("THE STREAM OBJECT HAS LOADED")},perRow(e){_.isNumber(_.toNumber(e))&&_.toNumber(e)>1&&this.$q.cookies.set("highlightsPerRow",e)},slotSize(e){var t;_.isNumber(_.toNumber(e))&&(this.perRow=_.toNumber(e)<330?1:null!==(t=this.$q.cookies.get("highlightsPerRow"))&&void 0!==t?t:3)}}},gw=pw,vw=s("6b1d"),fw=Object(Ee["a"])(gw,rw,nw,!1,null,null,null),bw=fw.exports;ze()(fw,"components",{QPage:Ci["a"],QBtn:De["a"],QImg:yi["a"],QSpinnerDots:mo["a"],QLinearProgress:vw["a"],QBadge:Ir["a"],QDialog:Re["a"],QCard:Ne["a"],QIcon:Ai["a"],QCardSection:Oe["a"]}),ze()(fw,"directives",{ClosePopup:Y["a"]});var ww=function(e){var t=[].concat(ni()(qd),[{path:"/auth",component:kn,children:[{name:"register",path:"register",component:Rd},{name:"landing",path:"landing",component:Ff},{name:"details",path:"details",component:ub},{name:"land",path:"land",component:tb},{name:"sign-in",path:"sign-in",component:gh},{name:"subscribe",path:"subscribe",component:wp}]},{path:"/promotion",component:qn,children:[{name:"landing",path:"landing",component:Ff}]},{path:"/",component:hn,children:[{name:"about-us",path:"wildlife/about-us",component:Ti,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"africam-4-good",path:"wildlife/africam4good",component:ji,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"contact-us",path:"wildlife/contact-us",component:Yo},{name:"home",path:"/",component:Er,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"afritagfaq",path:"wildlife/afritag-faq",component:Ef,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"afritag-guidelines",path:"wildlife/afritag-guidelines",component:Vf,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"animals-a-to-z",path:"wildlife/animals-a-to-z/:type",component:_b,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"learn",path:"wildlife/learn",component:Pb,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"resources",path:"wildlife/resources",component:Gb,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"lodge-destination-afritags",path:"wildlife/lodge-destination-afritags",component:ow,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"lodge-destination-animals-tagged",path:"wildlife/lodge-destination-animals-tagged",component:bw,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"junior-ranger",path:"junior-ranger/:moduleId?",component:Af,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"kids-course",path:"wildlife/kids-course",component:Ur,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"manage-show",path:"/manage-show",component:Ln,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"multiview",path:"wildlife/multiview",component:Hn,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"phill-bio",path:"wildlife/ranger-phill-steffny",component:il,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"james-bio",path:"wildlife/ranger-james-hendry",component:vl,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"premium",path:"wildlife/premium",component:md,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"profile",path:"/my/profile/:section?",component:hv,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"privacy-policy",path:"/privacy-policy",component:xd},{name:"photo-highlights",path:"wildlife/photo-highlights/:id?",component:Al,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"leaderboard",path:"leaderboard",component:Cc,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"russell-bio",path:"wildlife/ranger-russell-gerber",component:Bd,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"trishala-bio",path:"wildlife/ranger-trishala-naidu",component:au,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"schedule",path:"wildlife/schedule",component:cu,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"shows",path:"wildlife/shows/:slug?",component:ah,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"on-point",path:"wildlife/shows/on-point",component:ah,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"what-the-fact",path:"wildlife/shows/what-the-fact",component:ah,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"ranger-show",path:"wildlife/shows/ranger-show",component:ah,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"destination",path:"wildlife/destination/:slug",component:lp,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"allDestinationAfritags",path:"wildlife/destination/:slug/afritags",component:Ao,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"stream",path:"wildlife/stream/:slug",component:lp,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"streamAfritags",path:"wildlife/stream/:slug/afritags/:code",component:Ao,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"streamAfritagsAnimal",path:"wildlife/stream/:slug/afritags/:code/animal/:animal_id",component:Ao,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"animal",path:"wildlife/animal/:id/:type?",component:vm,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"streams",path:"wildlife/live-african-wildlife-safari-streams",component:km,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"terms-of-service",path:"/terms-of-service",component:kp,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"test",path:"test",component:Rp,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"the-boma",path:"wildlife/the-boma",component:sg,meta:{requiresAuth:!0,permissions:["subscriber"]}}
1,{name:"video-highlights",path:"wildlife/video-highlights/:id?",component:yv,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"video-results",path:"wildlife/stream/:slug/videos/:id?",component:$v,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"afritag-results",path:"wildlife/stream/:slug/animals-tagged/:name?",component:Uv,props:!0,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"alerts-app",path:"wildlife/alerts-app",component:Ob,meta:{requiresAuth:!0,permissions:["subscriber"]}},{name:"shop",path:"wildlife/shop",component:jb}]},{path:"/",component:fn,children:[{name:"controller",path:"controller",component:yr}]},{path:"*",redirect:"/"}]);return t};B["a"].use(oi["a"]),console.log("ROUTER BOUND .........");var yw=function(e){var t=e.store,s=new oi["a"]({scrollBehavior(e,t,s){return e.hash?{selector:e.hash,behavior:"smooth"}:s||{x:0,y:0}},routes:ww(t),mode:"history",base:"/"});return s.beforeEach((function(e,s,a){_.toLower(_.get(e,"fullPath","unknown"));var i=!0,o=t.getters["user/getIsSubscriber"],r=t.getters["user/getIsUser"];if(e.matched.some((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_.has(null===e||void 0===e?void 0:e.meta,"requiresAuth")&&_.has(null===e||void 0===e?void 0:e.meta,"permissions")&&(_.includes(_.get(null===e||void 0===e?void 0:e.meta,"permissions"),"user")&&!r&&(console.log("USER IS NEEDED!!",null===e||void 0===e?void 0:e.meta,r),o||(i=!1)),_.includes(_.get(null===e||void 0===e?void 0:e.meta,"permissions"),"subscriber")&&!o&&(console.log("SUBSCRIBER IS NEEDED!!"),i=!1))})),!i)return t.commit("user/setIntendedPath",{path:_.get(e,"path",null),query:_.get(e,"query",null)},{root:!0}),void a({name:"land",replace:!0});a()})),s},xw=function(){return qw.apply(this,arguments)};function qw(){return qw=F()(regeneratorRuntime.mark((function e(){var t,s,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("function"!==typeof ii){e.next=6;break}return e.next=3,ii({Vue:B["a"]});case 3:e.t0=e.sent,e.next=7;break;case 6:e.t0=ii;case 7:if(t=e.t0,"function"!==typeof yw){e.next=14;break}return e.next=11,yw({Vue:B["a"],store:t});case 11:e.t1=e.sent,e.next=15;break;case 14:e.t1=yw;case 15:return s=e.t1,t.$router=s,a={router:s,store:t,render:function(e){return e(je)}},a.el="#q-app",e.abrupt("return",{app:a,store:t,router:s});case 20:case"end":return e.stop()}}),e)}))),qw.apply(this,arguments)}var _w=function(){var e=F()(regeneratorRuntime.mark((function e(t){var s,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s=t.store,a=t.Vue,a.config.devtools=!0,window["appLogger"]=function(){var e=_.get(s.getters,"settings/getLogSetting",!1);console&&console.log&&e&&console.log.apply(console,arguments)},window["appErrorLogger"]=function(){var e=_.get(s.getters,"settings/getLogSetting",!1);console&&console.error&&e&&console.error.apply(console,arguments)},a.prototype.$log=window.appLogger,a.prototype.$logError=window.appErrorLogger;case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Sw=s("4328"),Cw=s.n(Sw);function Aw(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(appLogger("AXIOS INTERCEPT PROCESS",e),qt.a.isObject(e)){var t=e.status,s=void 0===t?0:t,a=200===s;switch(a&&!qt.a.isNil(e)&&qt.a.has(e,"data.alert")&&Tt({caption:qt.a.get(e,"data.caption",null),color:"light-baise",textColor:"dark-green",icon:"fas fa-check",message:qt.a.get(e,"data.alert",""),multiLine:!0}),qt.a.toNumber(s)){case 422:Pw(e);break;case 401:Tw(e);break;case 403:kw(e);break}}}function kw(){Tt({caption:"",color:"light-baise",icon:"fas fa-shield-alt",message:"You're session has expired, please verify your details again.",textColor:"dark-green"})}function Tw(){le["a"].$emit("doSignInUp",!0)}function Pw(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};qt.a.has(e,"data.alert")&&Tt({caption:qt.a.get(e,"data.caption",null),color:"light-baise",icon:"",message:qt.a.get(e,"data.alert",""),textColor:"dark-green"})}var Iw=function(){var e=F()(regeneratorRuntime.mark((function e(t){var s,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s=t.Vue,a={baseURL:"https://live-api.africam.com",headers:{"X-Requested-With":"XMLHttpRequest",Accept:"application/json"},paramsSerializer:function(e){return Cw.a.stringify(e,{arrayFormat:"repeat"})}},i=Wm.a.create(a),i.interceptors.request.use((function(e){var t=te["a"].getItem("api-token");return e.headers["Authorization"]=t?`Bearer ${t}`:null,e}),(function(e){return Promise.reject(e)})),i.interceptors.response.use((function(e){return Aw(e),e}),(function(e){var t=e.response;return Aw(t),Promise.reject(t)})),s.prototype.$axios=i,window.$axios=i;case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$w=s("4208"),Ew=s.n($w),Rw=s("0ecf"),Nw=s.n(Rw),Ow=s("8f19"),Lw=s.n(Ow),Dw=function(e){e.app,e.router;var t=e.Vue;ht.a.extend(Lw.a),ht.a.extend(Ew.a),ht.a.extend(Nw.a),t.prototype.$dayjs=ht.a,window.dayjs=ht.a},Vw=(s("ea7b"),s("e71f"),function(){var e=F()(regeneratorRuntime.mark((function e(t){var s,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.store,s=t.Vue,a={apiKey:"AIzaSyD_7rjAbFFB2ewJVzZwZfWimld308n6ZOo",authDomain:"africam-9231b.firebaseapp.com",databaseURL:"https://africam-9231b.firebaseio.com",projectId:"africam-9231b",storageBucket:"africam-9231b.appspot.com",messagingSenderId:"188259335935",appId:"1:188259335935:web:8c665bdfafc69392a816ca"},Ad.a.initializeApp(a),Ad.a.analytics(),Ad.a.getCurrentUser=function(){return new Promise((function(e,t){var s=Ad.a.auth().onAuthStateChanged((function(t){s(),e(t)}),t)}
1))},s.prototype.$firebase=Ad.a,s.prototype.$firebaseDB=Ad.a.firestore(),s.prototype.$firebaseAuth=Ad.a.auth(),window.appLogger("FIREBASE IMPORTED.",Ad.a);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),zw=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"120px",height:"600px"},attrs:{ratio:.2}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("120x600")])])])],1)},Mw=[],jw={methods:{defineSlots(e){var t=this;e.forEach((function(e){window.adSlots[e.targetDiv]=googletag.defineSlot(e.adUnitPath,e.size,e.targetDiv).addService(googletag.pubads()),t.$log("ADDED SLOT:",window.adSlots[e.targetDiv])}))},destroySlot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!_.isNil(e)){var t=window.adSlots[e];window.googletag.destroySlots(t),this.$log("DESTROYED SLOT:",t)}}}},Qw={name:"Ad120x600Fullview",computed:{adId(){return this._uid+"120x600"},production(){return!0}},data(){return{adSlot:null}},destroyed(){googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("120x600 FULLVIEW AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("120x600 FULLVIEW AD MOUNT"),googletag.defineSlot("/58828733/V2/fullview-120x600",[120,600],this.adId).addService(googletag.pubads()),googletag.cmd.push((function(){e.adSlot=googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},Uw=Qw,Fw=Object(Ee["a"])(Uw,zw,Mw,!1,null,null,null),Bw=Fw.exports;ze()(Fw,"components",{QResponsive:Oi["a"]});var Hw=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"160px",height:"600px"},attrs:{ratio:160/600}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("160x600")])])])],1)},Gw=[],Ww={name:"Ad160x600Fullview",computed:{adId(){return this._uid+"160x600"},production(){return!0}},data(){return{adSlot:null}},destroyed(){googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("160x600 FULLVIEW AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("160x600 FULLVIEW AD MOUNT"),googletag.defineSlot("/58828733/V2/fullview-160x600",[160,600],this.adId).addService(googletag.pubads()),googletag.cmd.push((function(){e.adSlot=googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},Yw=Ww,Kw=Object(Ee["a"])(Yw,Hw,Gw,!1,null,null,null),Zw=Kw.exports;ze()(Kw,"components",{QResponsive:Oi["a"]});var Jw=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"200px",height:"200px"},attrs:{ratio:1}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("200x200")])])])],1)},Xw=[],ey={name:"Ad200x200Fullview",computed:{adId(){return this._uid+"200x200"},production(){return!0}},data(){return{adSlot:null}},destroyed(){googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("200x200 FULLVIEW AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("200x200 FULLVIEW AD MOUNT"),googletag.defineSlot("/58828733/V2/fullview-200x200",[200,200],this.adId).addService(googletag.pubads()),googletag.cmd.push((function(){e.adSlot=googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},ty=ey,sy=Object(Ee["a"])(ty,Jw,Xw,!1,null,null,null),ay=sy.exports;ze()(sy,"components",{QResponsive:Oi["a"]});var iy=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"250px",height:"250px"},attrs:{ratio:1}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"}
1,[e._v("250x250")])])])],1)},oy=[],ry={name:"Ad250x250Fullview",computed:{adId(){return this._uid+"250x250"},production(){return!0}},data(){return{adSlot:null}},destroyed(){googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("250x250 FULLVIEW AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("250x250 FULLVIEW AD MOUNT"),googletag.defineSlot("/58828733/V2/fullview-250x250",[250,250],this.adId).addService(googletag.pubads()),googletag.cmd.push((function(){e.adSlot=googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},ny=ry,ly=Object(Ee["a"])(ny,iy,oy,!1,null,null,null),cy=ly.exports;ze()(ly,"components",{QResponsive:Oi["a"]});var dy=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"300px",height:"250px"},attrs:{ratio:1.2}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("300x250")])])])],1)},uy=[],hy={name:"Ad300x250Fullview",computed:{adId(){return this._uid+"300x250"},production(){return!0}},data(){return{adSlot:null}},destroyed(){googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("300x250 FULLVIEW AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("300x250 FULLVIEW AD MOUNT"),googletag.defineSlot("/58828733/V2/fullview-300x250",[300,250],this.adId).addService(googletag.pubads()),googletag.cmd.push((function(){e.adSlot=googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},my=hy,py=Object(Ee["a"])(my,dy,uy,!1,null,null,null),gy=py.exports;ze()(py,"components",{QResponsive:Oi["a"]});var vy=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"300px",height:"600px"},attrs:{ratio:.5}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("300x600")])])])],1)},fy=[],by={name:"Ad300x600Fullview",computed:{adId(){return this._uid+"300x600"},production(){return!0}},data(){return{adSlot:null}},destroyed(){googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("300x600 FULLVIEW AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("300x600 FULLVIEW AD MOUNT"),googletag.defineSlot("/58828733/V2/fullview-300x600",[300,600],this.adId).addService(googletag.pubads()),googletag.cmd.push((function(){e.adSlot=googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},wy=by,yy=Object(Ee["a"])(wy,vy,fy,!1,null,null,null),xy=yy.exports;ze()(yy,"components",{QResponsive:Oi["a"]});var qy=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"320px",height:"50px"},attrs:{ratio:6.4}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center text-center"},[e._v("\n        320x50\n        "),s("div",{domProps:{textContent:e._s(e.adId)}})])])])],1)},_y=[],Sy={name:"Ad320x50Fullview",computed:{production(){return!0}},data(){return{adId:null,adSlot:null,timer:null}},destroyed(){clearInterval(this.timer),googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("320x50 FULLVIEW AD DESTORY")},methods:{createAd(){var e=this;this.adId=_.uniqueId("320x50_"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/fullview-320x50",[320,50],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))}},mixins:[jw],mounted(){var e=this;e.$log("320x50 FULLVIEW AD MOUNT"),e.createAd(),e.refresh>0&&(e.timer=setInterval((function(){_.isNil(e.adSlot)||window.googletag.destroySlots([e.adSlot]),e.createAd(),e.$log("INTERLACED 320x50 AD RECREATED")}),1e3*e.refresh))},props:{classes:{type:String,default:""},refresh:{type:Number,default:0}}},Cy=Sy,Ay=Object(Ee["a"])(Cy,qy,_y,!1,null,null,null),ky=Ay.exports;ze()(Ay,"components",{QResponsive:Oi["a"]});var Ty=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"320px",height:"100px"},attrs:{ratio:3.2}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"}
1,[e._v("320x100")])])])],1)},Py=[],Iy={name:"Ad320x100Fullview",computed:{adId(){return this._uid+"320x100"},production(){return!0}},data(){return{adSlot:null}},destroyed(){googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("320x100 FULLVIEW AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("320x100 FULLVIEW AD MOUNT"),googletag.defineSlot("/58828733/V2/fullview-320x100",[320,100],this.adId).addService(googletag.pubads()),googletag.cmd.push((function(){e.adSlot=googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},$y=Iy,Ey=Object(Ee["a"])($y,Ty,Py,!1,null,null,null),Ry=Ey.exports;ze()(Ey,"components",{QResponsive:Oi["a"]});var Ny=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"336px",height:"280px"},attrs:{ratio:1.2}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("336x280")])])])],1)},Oy=[],Ly={name:"Ad336x280Fullview",computed:{adId(){return this._uid+"336x280"},production(){return!0}},data(){return{adSlot:null}},destroyed(){googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("336x280 FULLVIEW AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("336x280 FULLVIEW AD MOUNT"),googletag.defineSlot("/58828733/V2/fullview-336x280",[336,280],this.adId).addService(googletag.pubads()),googletag.cmd.push((function(){e.adSlot=googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},Dy=Ly,Vy=Object(Ee["a"])(Dy,Ny,Oy,!1,null,null,null),zy=Vy.exports;ze()(Vy,"components",{QResponsive:Oi["a"]});var My=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"468px",height:"60px"},attrs:{ratio:7.8}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center text-center"},[e._v("\n        468x60\n        "),s("div",{domProps:{textContent:e._s(e.adId)}})])])])],1)},jy=[],Qy={name:"Ad468x60Fullview",computed:{production(){return!0}},data(){return{adId:null,adSlot:null,timer:null}},destroyed(){clearInterval(this.timer),googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("468x60 FULLVIEW AD DESTORY")},methods:{createAd(){var e=this;this.adId=_.uniqueId("468x60_"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/fullview-468x60",[468,60],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))}},mixins:[jw],mounted(){var e=this;e.$log("468x60 FULLVIEW AD MOUNT"),e.createAd(),e.refresh>0&&(e.timer=setInterval((function(){_.isNil(e.adSlot)||window.googletag.destroySlots([e.adSlot]),e.createAd(),e.$log("INTERLACED 468x60 AD RECREATED")}),1e3*e.refresh))},props:{classes:{type:String,default:""},refresh:{type:Number,default:0}}},Uy=Qy,Fy=Object(Ee["a"])(Uy,My,jy,!1,null,null,null),By=Fy.exports;ze()(Fy,"components",{QResponsive:Oi["a"]});var Hy=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"728px",height:"90px"},attrs:{ratio:728/90}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center text-center"},[e._v("\n        728x90\n        "),s("div",{domProps:{textContent:e._s(e.adId)}})])])])],1)},Gy=[],Wy={name:"Ad728x90Fullview",computed:{production(){return!0}},data(){return{adId:null,adSlot:null,timer:null}},destroyed(){clearInterval(this.timer),googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("728x90 FULLVIEW AD DESTORY")},methods:{createAd(){var e=this;this.adId=_.uniqueId("728x90_"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/fullview-728x90",[728,90],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.ad
1Id)}))}},mixins:[jw],mounted(){var e=this;e.$log("728x90 FULLVIEW AD MOUNT"),e.createAd(),e.refresh>0&&(e.timer=setInterval((function(){_.isNil(e.adSlot)||window.googletag.destroySlots([e.adSlot]),e.createAd(),e.$log("INTERLACED 728x90 AD RECREATED")}),1e3*e.refresh))},props:{classes:{type:String,default:""},refresh:{type:Number,default:0}}},Yy=Wy,Ky=Object(Ee["a"])(Yy,Hy,Gy,!1,null,null,null),Zy=Ky.exports;ze()(Ky,"components",{QResponsive:Oi["a"]});var Jy=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"970px",height:"90px"},attrs:{ratio:970/90}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center text-center"},[e._v("\n        970x90\n        "),s("div",{domProps:{textContent:e._s(e.adId)}})])])])],1)},Xy=[],ex={name:"Ad970x90Fullview",computed:{production(){return!0}},data(){return{adId:null,adSlot:null,timer:null}},destroyed(){clearInterval(this.timer),googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("970x90 FULLVIEW AD DESTORY")},methods:{createAd(){var e=this;e.adId=Math.floor(1e10*Math.random())+"_970x90",e.$nextTick((function(){window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/fullview-970x90",[970,90],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))}))}},mixins:[jw],mounted(){var e=this;e.$log("970x90 FULLVIEW AD MOUNT"),e.createAd(),e.refresh>0&&(e.timer=setInterval((function(){_.isNil(e.adSlot)||window.googletag.destroySlots([e.adSlot]),e.createAd(),e.$log("INTERLACED 970x90 AD RECREATED")}),1e3*e.refresh+1e3*_.random(20)))},props:{classes:{type:String,default:""},refresh:{type:Number,default:0}}},tx=ex,sx=Object(Ee["a"])(tx,Jy,Xy,!1,null,null,null),ax=sx.exports;ze()(sx,"components",{QResponsive:Oi["a"]});var ix=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"970px",height:"250px"},attrs:{ratio:3.88}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("970x250")])])])],1)},ox=[],rx={name:"Ad970x250Fullview",computed:{adId(){return this._uid+"970x250"},production(){return!0}},data(){return{adSlot:null}},destroyed(){googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("970x250 FULLVIEW AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("970x250 FULLVIEW AD MOUNT"),googletag.defineSlot("/58828733/V2/fullview-970x250",[970,250],this.adId).addService(googletag.pubads()),googletag.cmd.push((function(){e.adSlot=googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},nx=rx,lx=Object(Ee["a"])(nx,ix,ox,!1,null,null,null),cx=lx.exports;ze()(lx,"components",{QResponsive:Oi["a"]});var dx=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"160px",height:"600px"},attrs:{ratio:160/600}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("160x600")])])])],1)},ux=[],hx={name:"Ad160x600",computed:{adId(){return this._uid+"160x600"},production(){return!0}},data(){return{adSlot:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 160x600 AD DESTORY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 160x600 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-160x600",[160,600],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},mx=hx,px=Object(Ee["a"])(mx,dx,ux,!1,null,null,null),gx=px.exports;ze()(px,"components",{QResponsive:Oi["a"]});var vx=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"200px",height:"200px"},attrs:{ratio:1}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"}
1,[e._v("200X200")])])])],1)},fx=[],bx={name:"Ad200x200",computed:{adId(){return this._uid+"200x200"},production(){return!0}},data(){return{adSlot:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 200x200 AD DESTROY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 200x200 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-200x200",[200,200],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},wx=bx,yx=Object(Ee["a"])(wx,vx,fx,!1,null,null,null),xx=yx.exports;ze()(yx,"components",{QResponsive:Oi["a"]});var qx=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"250px",height:"250px"},attrs:{ratio:1}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("250X250")])])])],1)},_x=[],Sx={name:"Ad250x250",computed:{adId(){return this._uid+"250x250"},production(){return!0}},data(){return{adSlot:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 250x250 AD DESTROY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 250x250 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-250x250",[250,250],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},Cx=Sx,Ax=Object(Ee["a"])(Cx,qx,_x,!1,null,null,null),kx=Ax.exports;ze()(Ax,"components",{QResponsive:Oi["a"]});var Tx=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes],staticStyle:{"min-height":"250px"}},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"300px",height:"250px"},attrs:{ratio:1.2}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center text-center"},[e._v("\n        300X250\n        "),s("div",{domProps:{textContent:e._s(e.adId)}})])])])],1)},Px=[],Ix={name:"Ad300x250",computed:{production(){return!0}},data(){return{adId:null,adSlot:null,timer:null}},destroyed(){clearInterval(this.timer),window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 300x250 AD DESTROY")},methods:{createAd(){var e=this;e.adId=Math.floor(1e10*Math.random())+"_300x250",e.$nextTick((function(){window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-300x250",[300,250],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))}))}},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 300x250 AD MOUNT"),e.createAd(),e.refresh>0&&(e.timer=setInterval((function(){_.isNil(e.adSlot)||window.googletag.destroySlots([e.adSlot]),e.$nextTick((function(){e.createAd()})),e.$log("INTERLACED 300x250 AD RECREATED")}),1e3*e.refresh+1e3*_.random(20)))},props:{classes:{type:String,default:""},refresh:{type:Number,default:0}}},$x=Ix,Ex=Object(Ee["a"])($x,Tx,Px,!1,null,null,null),Rx=Ex.exports;ze()(Ex,"components",{QResponsive:Oi["a"]});var Nx=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"300px",height:"600px"},attrs:{ratio:.5}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("300x600")])])])],1)},Ox=[],Lx={name:"Ad300x600",computed:{adId(){return this._uid+"300x600"},production(){return!0}},data(){return{adSlot:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 300x600 AD DESTROY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 300x600 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-300x600",[300,
1600],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},Dx=Lx,Vx=Object(Ee["a"])(Dx,Nx,Ox,!1,null,null,null),zx=Vx.exports;ze()(Vx,"components",{QResponsive:Oi["a"]});var Mx=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"320px",height:"50px"},attrs:{ratio:6.4}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("320X50")])])])],1)},jx=[],Qx={name:"Ad320x50",computed:{adId(){return this._uid+"320x50"},production(){return!0}},data(){return{adSlot:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 320x50 AD DESTROY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 320x50 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-320x50",[320,50],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},Ux=Qx,Fx=Object(Ee["a"])(Ux,Mx,jx,!1,null,null,null),Bx=Fx.exports;ze()(Fx,"components",{QResponsive:Oi["a"]});var Hx=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"320px",height:"100px"},attrs:{ratio:6.4}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("320x100")])])])],1)},Gx=[],Wx={name:"Ad320x100",computed:{adId(){return this._uid+"320x100"},production(){return!0}},data(){return{adSlot:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 320x100 AD DESTROY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 320x100 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-320x100",[320,50],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},Yx=Wx,Kx=Object(Ee["a"])(Yx,Hx,Gx,!1,null,null,null),Zx=Kx.exports;ze()(Kx,"components",{QResponsive:Oi["a"]});var Jx=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"468px",height:"60px"},attrs:{ratio:7.8}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("468X60")])])])],1)},Xx=[],eq={name:"Ad468x60",computed:{adId(){return this._uid+"468x60"},production(){return!0}},data(){return{adSlot:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 468x60 AD DESTROY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 468x60 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-468x60",[468,60],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},tq=eq,sq=Object(Ee["a"])(tq,Jx,Xx,!1,null,null,null),aq=sq.exports;ze()(sq,"components",{QResponsive:Oi["a"]});var iq=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"728px",height:"90px"},attrs:{ratio:728/90}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("728X90")])])])],1)},oq=[],rq={name:"Ad728x90",computed:{adId(){return this._uid+"728x90"},production(){return!0}},data(){return{adSlot:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 728x90 AD DESTROY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 728x90 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-728x90",[728,90],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.ad
1Id)}))},props:{classes:{type:String,default:""}}},nq=rq,lq=Object(Ee["a"])(nq,iq,oq,!1,null,null,null),cq=lq.exports;ze()(lq,"components",{QResponsive:Oi["a"]});var dq=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"970px",height:"90px"},attrs:{ratio:970/90}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("970X90")])])])],1)},uq=[],hq={name:"Ad970x90",computed:{adId(){return this._uid+"970x90"},production(){return!0}},data(){return{adSlot:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 970x90 AD DESTROY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 970x90 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-970x90",[970,90],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},mq=hq,pq=Object(Ee["a"])(mq,dq,uq,!1,null,null,null),gq=pq.exports;ze()(pq,"components",{QResponsive:Oi["a"]});var vq=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:[e.classes]},[e.production?s("div",{staticClass:"fit",attrs:{id:e.adId}}):s("q-responsive",{staticClass:"bg-grey-5",staticStyle:{width:"970px",height:"250px"},attrs:{ratio:3.88}},[s("div",{staticClass:"fill relative-position"},[s("div",{staticClass:"absolute-center"},[e._v("970X250")])])])],1)},fq=[],bq={name:"Ad970x250",computed:{adId(){return this._uid+"970x250"},production(){return!0}},data(){return{adSlot:null,timer:null}},destroyed(){window.googletag.destroySlots([this.adSlot]),this.adSlot=null,this.$log("INTERLACED 970x250 AD DESTROY")},mixins:[jw],mounted(){var e=this;e.$log("INTERLACED 970x250 AD MOUNT"),window.googletag.cmd.push((function(){window.googletag.defineSlot("/58828733/V2/interlaced-970x250",[970,250],e.adId).addService(window.googletag.pubads()),window.googletag.pubads().enableSingleRequest(),e.adSlot=window.googletag.display(e.adId)}))},props:{classes:{type:String,default:""}}},wq=bq,yq=Object(Ee["a"])(wq,vq,fq,!1,null,null,null),xq=yq.exports;ze()(yq,"components",{QResponsive:Oi["a"]});var qq=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.currentWidth>0?s("div",{staticClass:"relative-position bg-darker-green",style:{minHeight:e.adHeight}},[e.currentWidth>=970?s("div",[s("ad970x90fullview",{attrs:{refresh:35,classes:"absolute-center"}})],1):e._e(),e.currentWidth>=728&&e.currentWidth<970?s("div",[s("ad728x90fullview",{attrs:{refresh:35,classes:"absolute-center"}})],1):e._e(),e.currentWidth>=468&&e.currentWidth<728?s("div",[s("ad468x60fullview",{attrs:{refresh:35,classes:"absolute-center"}})],1):e._e(),e.currentWidth>=320&&e.currentWidth<468?s("div",[s("ad320x50fullview",{attrs:{refresh:35,classes:"absolute-center"}})],1):e._e(),e.currentWidth>=300&&e.currentWidth<320?s("div",[s("ad300x250fullview",{attrs:{classes:"absolute-center"}})],1):e._e(),e.currentWidth>=250&&e.currentWidth<300?s("div",[s("ad250x250fullview",{attrs:{classes:"absolute-center"}})],1):e._e(),e.currentWidth>=200&&e.currentWidth<250?s("div",[s("ad200x200fullview",{attrs:{classes:"absolute-center"}})],1):e._e()]):e._e()},_q=[],Sq={name:"ReponsiveHorzontalModalAd",computed:{adHeight(){return this.currentWidth>=728?"90px":this.currentWidth>=468?"60px":this.currentWidth>=320?"50px":this.currentWidth>=300||this.currentWidth>=250?"250px":"200px"},currentWidth(){return console.log("WIDTH CHANGE",this.width),this.width}},props:{width:{default:0,required:!0,type:Number}}},Cq=Sq,Aq=Object(Ee["a"])(Cq,qq,_q,!1,null,null,null),kq=Aq.exports,Tq=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.slotSize>0?s("div",[e.slotSize>=970?s("div",{staticClass:"relative-position q-my-md",staticStyle:{"min-height":"90px"}},[s("ad970x90",{staticClass:"absolute-center"})],1):e._e(),e.slotSize>=728&&e.slotSize<970?s("div",{staticClass:"relative-position q-my-md",staticStyle:{"min-height":"90px"}},[s("ad728x90",{staticClass:"absolute-center"}
1)],1):e._e(),e.slotSize>=468&&e.slotSize<728?s("div",{staticClass:"relative-position q-my-md",staticStyle:{"min-height":"60px"}},[s("ad468x60",{staticClass:"absolute-center"})],1):e._e(),e.slotSize>=320&&e.slotSize<468?s("div",{staticClass:"relative-position q-my-md",staticStyle:{"min-height":"50px"}},[s("ad320x50",{staticClass:"absolute-center"})],1):e._e(),e.slotSize<320?s("div",{staticClass:"relative-position q-my-md",staticStyle:{"min-height":"250px"}},[s("ad250x250",{staticClass:"absolute-center"})],1):e._e()]):e._e()},Pq=[],Iq={name:"HorizontalLongAd",props:{slotSize:{default:0,required:!0,type:Number}}},$q=Iq,Eq=Object(Ee["a"])($q,Tq,Pq,!1,null,null,null),Rq=Eq.exports,Nq=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"q-pt-lg"})},Oq=[],Lq={},Dq=Object(Ee["a"])(Lq,Nq,Oq,!1,null,null,null),Vq=Dq.exports,zq=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:e.chatIsVisible?"full-height":"q-mb-md"},[s("div",{staticClass:"relative-position bg-extra-light-baise",staticStyle:{height:"40px","border-bottom":"1px solid #111"}},[s("div",{staticClass:"float-right"},[s("q-icon",{staticClass:"cursor-pointer",staticStyle:{"margin-right":"30px","margin-top":"10px"},attrs:{size:"xs",color:"brand-orange",name:e.chatJumpIcon},on:{click:e.chatJumpTo}},[s("q-tooltip",{attrs:{anchor:"center left",self:"center right","transition-show":"fade","transition-hide":"fade"}},[s("span",{domProps:{textContent:e._s(e.messagePosition)}}),e._v(" Message\n\t\t\t\t\t")])],1)],1),s("div",{staticClass:"cursor-pointer text-brand-orange text-caption text-capitalize",staticStyle:{padding:"10px 0 0 12px"},on:{click:e.showGuidelinesModal}},[e._v("\n\t\t\t\tGUIDELINES\n\t\t\t")]),s("div",{staticClass:"absolute-center text-center text-weight-medium text-uppercase"},[s("span",{domProps:{textContent:e._s(e.chatName)}}),e._v(" Chat\n\t\t\t")]),e.isBoma?e._e():s("q-icon",{staticClass:"absolute-right cursor-pointer",staticStyle:{"padding-top":"10px","padding-right":"5px"},attrs:{size:"xs",color:"brand-orange",name:e.hideIcon},on:{click:e.toggleChat}},[s("q-tooltip",{attrs:{anchor:"top left",self:"center start","transition-show":"fade","transition-hide":"fade"}},[e._v("\n\t\t\t\t\t"+e._s(e.getChatVisible?"Close":"Open")+"\n\t\t\t\t")])],1)],1),s("div",[s("q-btn-group",{staticStyle:{"border-bottom":"1px solid #b7b7b7"},attrs:{spread:""}},[s("q-btn",{attrs:{color:"white","text-color":"#111",size:"sm",label:e.toggleSightingsLabel,icon:e.toggleSightingsIcon},on:{click:e.toggleSightingsMessages}}),s("q-btn",{attrs:{color:"white","text-color":"#111",size:"sm",icon:e.toggleChatMessagesIcon,label:e.toggleChatMessagesLabel},on:{click:e.toggleChatMessages}})],1)],1),e.getChatVisible||e.isBoma?s("div",[s("div",{staticClass:"bg-light-baise",style:e.chatHeight,on:{mouseenter:function(t){return e.setHovering(!0)},mouseleave:function(t){return e.setHovering(!1)}}},[s("q-scroll-area",{ref:"chatStream",staticClass:"col-auto",style:e.chatHeight,attrs:{"thumb-style":{right:"1px",borderRadius:"3px",background:"bg-dark-green",width:"2px",opacity:.3}},on:{scroll:e.scrollUpdate}},e._l(e.messages,(function(t,a){return s("chat-message",{key:a,staticClass:"q-ma-md",attrs:{"message-id":t.id,message:[e.clean(t.message)],name:t.author,fullMessage:t,isBoma:e.isBoma,stamp:e.timeAgo(t.sent_at.toDate()),"user-id":e.userId,"message-user-id":e.authorId(t)}})})),1)],1),e.getChatMessagesVisible?s("div",{staticStyle:{"background-color":"#333b1975","max-height":"56px"}},[s("q-form",{on:{submit:function(t){return t.stopPropagation(),e.sendMessage(t)}}},[s("q-input",{staticClass:"q-ma-none text-white text-weight-medium",attrs:{disable:e.sending,dark:"",filled:"",color:"extra-light-baise",label:"Have your say ...",maxlength:"300"},scopedSlots:e._u([{key:"append",fn:function(){return[s("q-btn",{staticClass:"text-shadow",staticStyle:{"min-width":"50px"},attrs:{loading:e.sending,color:"brand-orange",label:"SEND",size:"sm",type:"submit"},on:{click:e.sendMessage},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"text-brand-orange q-mr-xs"})]},proxy:!0}],null,!1,59682431)})]},proxy:!0}],null,!1,2489641979),model:{value:e.currentMessage,callback:function(t){e.currentMessage=t},expression:"currentMessage"}}
1)],1)],1):e._e()]):e._e(),s("chat-guidelines",{attrs:{"show-guidelines":e.showGuidelines},on:{hiding:e.hideGuidelines}}),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.subscriberPopup=!1}},model:{value:e.subscriberPopup,callback:function(t){e.subscriberPopup=t},expression:"subscriberPopup"}},[s("q-card",{staticClass:"q-pa-md"},[s("q-card-section",[s("div",{staticClass:"text-h5 text-center"},[e._v("\n                        Our Boma Community Chat Room is only available to subscribers.\n                    ")]),s("div",{staticClass:"text-subtitle text-center q-pt-sm"},[e._v("\n                        Join us for a free two week trial\n                    ")])]),s("q-card-section",{staticClass:"text-center"},[s("q-btn",{attrs:{to:{name:"register"},size:"md",color:"brand-orange"}},[e._v("FREE TRIAL")])],1)],1)],1)],1)},Mq=[],jq=s("ba75"),Qq=s.n(jq),Uq=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-dialog",{on:{hide:function(t){return e.$emit("hiding")}},model:{value:e.toggleGuidelines,callback:function(t){e.toggleGuidelines=t},expression:"toggleGuidelines"}},[s("q-card",{staticClass:"bg-light-baise"},[s("q-card-section",{staticClass:"bg-dark-baise"},[s("div",{staticClass:"text-h6"},[e._v("Chat Guidelines")])]),s("q-separator"),s("q-card-section",{staticClass:"q-pt-sm bg-grey-2 scroll",staticStyle:{"max-height":"70vh"}},[s("div",{attrs:{align:"left"}},[s("p",[s("b",[e._v("Welcome to the Boma Chat! We’re excited to share the magic of the wild with you!")])]),s("p",[e._v("To ensure a welcoming, respectful, and enjoyable experience for everyone - whether you’re an\nAfricam veteran or a new subscriber - please take a moment to read and follow the community\nguidelines below.")]),s("p",[s("b",[e._v("Staying on Topic")])]),s("p",[e._v("● Please keep the Boma Chat focused on the wildlife seen on the Africams.")]),s("p",[e._v("● Avoid extended off-topic discussions.")]),s("p",[e._v("● Please avoid referencing private or external communications in the Boma Chat. All\ncontributions should remain focused on the wildlife seen on the Africams.")]),s("p",[s("b",[e._v("Respect & Courtesy")])]),s("p",[e._v("● Please refrain from criticising Lodges, Zoomies, and/or fellow community members.")]),s("p",[e._v("● Do not direct or request the Zoomies to move the cameras in a particular way.")]),s("p",[e._v("● Do not direct camera operations or mention camera concerns (e.g., focus, buffering, comms\nissues, etc).")]),s("p",[e._v("● Be patient and considerate toward our Zoomies, who work hard to operate the cameras.")]),s("p",[e._v("● Always be courteous to our moderators. They are volunteers who oversee the Boma Chat.")]),s("p",[e._v("● Do not argue with, chastise, or attempt to moderate others in the chat - our moderators will\nhandle any issues.")]),s("p",[e._v("● Moderators have the discretion to decide how situations are managed.")]),s("p",[s("b",[e._v("Behaviour Guidelines")])]),s("p",[e._v("● Keep all contributions civil, constructive, and tasteful.")]),s("p",[e._v("● No spamming.")]),s("p",[e._v("● No disruptive, offensive, abusive, threatening, defamatory, or illegal content of any kind.")]),s("p",[e._v("● Harassment, bullying, targeting individuals, or posting obscene, profane, sexually oriented, or\nracially offensive material will not be tolerated.")]),s("p",[e._v("● Using multiple logins to disrupt the community or annoy other users may result in action being\ntaken against your account(s).")]),s("p",[s("b",[e._v("Privacy & Safety")])]),s("p",[e._v("● Please do not share personal information about yourself or others (including phone numbers,\naddresses, email addresses, or social media profiles).")]),s("p",[e._v("● This is a public forum - protect your privacy and that of others.")]),s("p",[e._v("● If in doubt, seek guidance from a moderator or an Africam representative.")]),s("p",[e._v("● If you are under the age of sixteen (16), please obtain permission from a parent or guardian\nbefore participating in the Boma Chat.")]),s("p",[s("b",[e._v("Language & Inclusivity")])]),s("p",[e._v("● While we welcome chatters from all over the world, English is preferred to maintain continuity.")]),s("p",[e._v("● Please be understanding and courteous, as English may not be everyone’s first language.")]),s("p",[s("b",[e._v("Wildlife Protection")])]),s("p",[e._v("● Rhinos are endangered and under threat of poaching. To help protect them, please do not\npost snapshots of, tag, or discuss rhinos seen on the Africams.")]),s("p",[s("b",[e._v("Enfor
1cement")])]),s("p",[e._v("● If you fail to adhere to these Rules and Community Guidelines, you may be contacted by a\nmoderator or an Africam staff member.")]),s("p",[e._v("● Africam reserves the right to terminate your registration or subscription at any time should\nthese rules not be followed.")]),s("p",[s("b",[e._v("Final Note")])]),s("p",[e._v("● The views expressed in the Boma Chat are those of individual community members and do\nnot necessarily reflect those of Africam.")]),s("p",[e._v("● Above all, please share your knowledge, be kind and considerate to others, and help us keep\nthe Boma Chat a positive space for everyone.")])])]),s("q-card-actions",{attrs:{align:"right"}},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{label:"OK",color:"brand-orange"}})],1)],1)],1)},Fq=[],Bq={name:"ChatGuidelines",data(){return{toggleGuidelines:!1}},methods:{},props:{showGuidelines:{type:Boolean,default:!0}},watch:{showGuidelines(e){this.toggleGuidelines=e}}},Hq=Bq,Gq=Object(Ee["a"])(Hq,Uq,Fq,!1,null,null,null),Wq=Gq.exports;ze()(Gq,"components",{QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QSeparator:Go["a"],QCardActions:Le["a"],QBtn:De["a"]}),ze()(Gq,"directives",{ClosePopup:Y["a"]});var Yq=Object(ce["a"])("chat"),Kq=Yq.mapGetters,Zq=Yq.mapMutations,Jq=Object(ce["a"])("user"),Xq=Jq.mapGetters,e_={name:"Chat",components:{chatGuidelines:Wq},computed:ne()(ne()(ne()({},Kq(["getChatMessages","getCurrentChat","getChatVisible","getChatMessagesVisible","getSightingMessagesVisible"])),Xq(["getAuthenticated","getUser","getIsSubscriber"])),{},{author(){return _.get(this,"getUser.display_name",null)},chatHeight(){var e=this.height||800,t=this.getChatMessagesVisible?e-76-50:e-56-25;return{minHeight:t+"px",height:t+"px"}},chatJumpIcon(){return this.scrollPercentage<.5?"fas fa-arrow-down":"fas fa-arrow-up"},chatIsVisible(){return!(null===this||void 0===this||!this.getChatVisible)||!1},chatName(){var e=_.replace(this.currentChat,"chat-","");return e=_.replace(e,"-"," "),e=_.replace(e,"general","boma"),_.startCase(e)},currentChat(){return this.getCurrentChat},hideIcon(){return this.isFlyout?"fas fa-sign-out-alt":this.getChatVisible?"fas fa-arrow-circle-up":"fas fa-arrow-circle-down"},messageCount(){return this.messages.length},messages(){return this.getChatMessages},messagePosition(){return this.scrollPercentage>.5?"Oldest":"Latest"},userId(){return _.toNumber(_.get(this,"getUser.id",0))},toggleChatMessagesLabel(){return this.getChatMessagesVisible?"Chat Enabled":"Chat Disabled"},toggleChatMessagesIcon(){return this.getChatMessagesVisible?"far fa-comments":"fa fa-comments"},toggleSightingsLabel(){return this.getSightingMessagesVisible?"Sightings Enabled":"Sightings Disabled"},toggleSightingsIcon(){return this.getSightingMessagesVisible?"far fa-eye":"fa fa-eye-slash"}}),data(){return{scrollPercentage:.5,currentMessage:"",hovering:!1,subscriberPopup:!1,sending:!1,showGuidelines:!1,virtualListIndex:0}},methods:ne()(ne()({},Zq(["setChatVisibility","setChatMessageVisibility","setSightingChatMessageVisibility"])),{},{authorId(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!_.isNil(e)&&_.has(e,"user_id")?_.toNumber(e.user_id):0},clean(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Qq.a.clean(e)},chatJumpTo(){this.$refs.chatStream&&this.$refs.chatStream.setScrollPercentage&&(this.scrollPercentage>.5?this.$refs.chatStream.setScrollPercentage(0,1):this.$refs.chatStream.setScrollPercentage(1,1))},getMessages(e,t){var s=_.slice(this.messages,e,t);return Object.freeze(s)},hideGuidelines(){this.showGuidelines=!1},toggleChat(){var e=this;le["a"].$emit("showChat",!e.getChatVisible),e.getChatVisible||e.$nextTick((function(){e.scrollToEnd()}))},resetChat(){var e=this;e.currentMessage="",e.sending=!1},scrollToEnd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;if(this.$refs.chatStream){var t=this.$refs.chatStream,s=t.getScrollTarget();t.setScrollPosition(s.scrollHeight,e)}},scrollUpdate(e){_.has(e,"verticalPercentage")&&(this.scrollPercentage=e.verticalPercentage)},sendMessage(){var e=this;this.getIsSubscriber?_.isNil(e,"currentMessage")||_.isEmpty(e.currentMessage)?e.$q.notify({color:"light-baise",textColor:"dark-green",message:"Please type a message first."}):e.currentMessage.length>300?e.$q.notify({color:"light-baise",textColor:"dark-green",message:"Your message can be a maximum of 300 characters."}):(e.sending=!0,e.$axios.post("/api/chat/message/send",{author:e.author,chat:_.get(e,"getCurrentChat",null),message:_.get(e,"currentMessage",null),user_id:_.get(e,"getUser.id",null)}).then((function(t){e.$log("CHAT RESPONSE",t)})).catch((function(t){e.$log("CHAT RESPONSE ERROR",t),_.has(t,"status")&&_.isEqual(t.status,401)&&e.$q.notify({caption:"Unfortunately only registered / subscribed can chat.",color:"light-baise",html:!0,message:"Sorry :(",textColor:"dark-green",timeout:3e3,type:"info"})})).finally((function(){e.currentMessage="",e.sending=!1,e.$nextTick((function(){return e.currentMessage=""}))}))):e.subscriberPopup=!0},setHovering(e){this.hovering=e},showGuidelinesModal(){this.showGuidelines=!0},timeAgo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;
1return _.isNil(e)?"":this.$dayjs(e).fromNow()},toggleSightingsMessages(){this.setSightingChatMessageVisibility(!this.getSightingMessagesVisible)},toggleChatMessages(){this.setChatMessageVisibility(!this.getChatMessagesVisible)}}),mounted(){var e=this;e.$nextTick((function(){e.scrollToEnd()}))},props:{height:{type:Number,default:800},isBoma:{type:Boolean,default:!1},isFlyout:{type:Boolean,default:!1}},watch:{chatIsVisible(e){var t=this;e&&t.$nextTick((function(){t.scrollToEnd()}))},currentChat(e){var t=this;t.$log("TRACKING CHAT:",e),this.resetChat()},messages(){var e=this;!e.hovering&&e.chatIsVisible&&e.$nextTick((function(){e.scrollToEnd(1500)}))}}},t_=e_,s_=(s("7580"),s("e7a9")),a_=Object(Ee["a"])(t_,zq,Mq,!1,null,null,null),i_=a_.exports;ze()(a_,"components",{QIcon:Ai["a"],QTooltip:Lc["a"],QBtnGroup:s_["a"],QBtn:De["a"],QScrollArea:pr["a"],QForm:Fo["a"],QInput:Bo["a"],QSpinnerFacebook:Ho["a"],QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"]});var o_=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.currentMessage&&e.shouldShowMessage?s("q-chat-message",{staticClass:"q-mt-xs text-smaller",attrs:{name:e.name,stamp:e.stamp,"bg-color":e.myMessage?"my-message":"white",sent:e.myMessage,size:"9","text-color":e.myMessage?"white":"black","text-sanitize":""},on:{mouseenter:function(t){return e.setHovering(!0)},mouseleave:function(t){return e.setHovering(!1)},click:function(t){return e.handleSystemMessageClick()}}},[s("div",{staticClass:"row"},[e.fullMessage.system?s("div",{staticClass:"col-2"},[s("q-icon",{staticClass:"q-mr-sm text-brand-orange filter-brand-orange",attrs:{name:e.notificationIconAvatar(e.fullMessage.sighting),size:"md"}})],1):e._e(),s("div",{class:e.messageColClass},[s("div",{staticClass:"text-weight-medium",domProps:{textContent:e._s(e.currentMessage)}})]),e.canDelete&&e.hovering?s("div",{staticClass:"col-1 relative-position"},[s("q-btn",{staticClass:"absolute-center",attrs:{round:"",flat:"",size:"xs",loading:e.deleting},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"})]},proxy:!0}],null,!1,2399270025)},[s("q-icon",{staticStyle:{opacity:"0.65"},attrs:{color:"red",size:"xs",name:"fas fa-times"},on:{click:e.deleteMessage}},[s("q-tooltip",{attrs:{"content-style":"opacity:0.75",anchor:"top middle",self:"bottom middle","transition-show":"jump-up","transition-hide":"fade"}},[s("span",{staticClass:"text-caption"},[e._v("Delete?")])])],1)],1)],1):e._e()])]):e._e()},r_=[],n_=Object(ce["a"])("user"),l_=n_.mapGetters,c_=Object(ce["a"])("chat"),d_=c_.mapGetters,u_={name:"ChatMessage",computed:ne()(ne()(ne()({},l_(["getIsAdmin","getUser"])),d_(["getChatMessagesVisible","getSightingMessagesVisible"])),{},{canDelete(){return this.getIsAdmin||this.myMessage},currentMessage(){var e=_.get(this,"message",[]);return _.isString(e)?e:_.isArray(e)?e.join(" "):null},myMessage(){return _.toNumber(this.userId)===_.toNumber(this.messageUserId)},messageColClass(){return _.get(this,"fullMessage.system",!1)?"col-9":"col-11"},shouldShowMessage(){var e,t,s,a;return console.log("can we talk here ? "),!0===(null===this||void 0===this||null===(e=this.fullMessage)||void 0===e?void 0:e.system)?!!this.getSightingMessagesVisible&&_.isEmpty(!!this.userNotifications()||_.includes(this.userNotifications(),Number(null!==(t=null===this||void 0===this||null===(s=this.fullMessage)||void 0===s||null===(a=s.sighting)||void 0===a?void 0:a.notification_category_id)&&void 0!==t?t:0))):this.getChatMessagesVisible}}),data(){return{deleting:!1,hovering:!1,userNotifications(){var e=_.map(_.get(this,"getUser.notification_categories",[]),(function(e){return null===e||void 0===e?void 0:e.id}));return e}}},methods:{notificationIconAvatar(e){var t;return console.log(e),null!==(t=null===e||void 0===e?void 0:e.avatar)&&void 0!==t&&t?`${this.animalAvatarPath(null===e||void 0===e?void 0:e.avatar)}`:"fas fa-paw text-brand-orange q-mr-sm"},deleteMessage(){var e=this;_.isNil(e.messageId)||(e.deleting=!0,e.$axios.post("/api/chat/message/delete",{message_id:e.messageId}).finally((function(){return e.deleting=!1})))},setHovering(e){this.hovering=e},handleSystemMessageClick(){_.get(this,"fullMessage.sighting.stream.slug",!1)&&_.get(this,"fullMessage.system",!1)&&(this.isBoma?le["a"].$emit("stream-selected",this.fullMessage.sighting.stream):le["a"].$emit("routeTo",{name:"stream",params:{slug:`${this.fullMessage.sighting.stream.slug}`}}))}},mixins:[hi],props:{avatar:{type:String,default:""},message:{required:!0,type:Array},messageId:{type:String,default:"bad-id"},messageUserId:{type:Number,default:-1},name:{type:String,default:""},stamp:{type:String,default:""},userId:{type:Number,default:0},fullMessage:{required:!0,type:Object,default:{}},isBoma:{type:Boolean,default:!1}}}
1,h_=u_,m_=(s("4fec"),s("8169")),p_=Object(Ee["a"])(h_,o_,r_,!1,null,null,null),g_=p_.exports;ze()(p_,"components",{QChatMessage:m_["a"],QIcon:Ai["a"],QBtn:De["a"],QTooltip:Lc["a"],QSpinnerFacebook:Ho["a"]});var v_=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-btn",{attrs:{round:e.round,size:e.size,icon:"fas fa-comments",label:e.textLabel,color:"brand-orange"},on:{click:e.toggleChat}},[s("q-tooltip",{attrs:{"content-style":{minWidth:"80px"},offset:[10,10],anchor:"top middle","content-class":"text-center",self:"bottom middle","transition-hide":"fade","transition-show":"jump-down"}},[e._v("\n\t\t"+e._s(e.tooltipLabel||"")+"\n\t")])],1)},f_=[],b_=Object(ce["a"])("chat"),w_=b_.mapGetters,y_=b_.mapMutations,x_={name:"ChatToggle",computed:ne()(ne()({},w_(["getChatVisible"])),{},{textLabel(){var e=this.getChatVisible?this.hideChat:this.startChat;return this.iconOnly?null:_.get(this,"label",e)},tooltipLabel(){return this.getChatVisible?this.hideChat:this.startChat}}),methods:ne()(ne()({},y_(["setChatVisibility"])),{},{toggleChat(){this.setChatVisibility(!this.getChatVisible),le["a"].$emit("showChat",this.getChatVisible)}}),props:{hideChat:{type:String,default:"Hide Chat"},iconOnly:{type:Boolean,default:!1},round:{type:Boolean,default:!0},size:{type:String,default:"sm"},startChat:{type:String,default:"Chat"}}},q_=x_,__=Object(Ee["a"])(q_,v_,f_,!1,null,null,null),S_=__.exports;ze()(__,"components",{QBtn:De["a"],QTooltip:Lc["a"]});var C_=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"q-mt-0"},[s("q-btn-dropdown",{staticClass:"toggle-chat-settings__button_styles",attrs:{"label-class":"bg-grey-3 text-black","vertical-actions-align":"left",color:"brand-orange",round:e.round,size:e.size,padding:"xs","fab-mini":"","dropdown-icon":"fa fa-cog"},model:{value:e.fab2,callback:function(t){e.fab2=t},expression:"fab2"}},[s("q-list",[s("q-item",{attrs:{clickable:""},on:{click:e.toggleSightingsMessages}},[s("q-item-section",{attrs:{avatar:""}},[s("q-avatar",{attrs:{icon:e.toggleSightingsIcon}})],1),s("q-item-section",[s("q-item-label",{domProps:{textContent:e._s(e.toggleSightingsLabel)}})],1)],1),s("q-item",{attrs:{clickable:""},on:{click:e.toggleChatMessages}},[s("q-item-section",{attrs:{avatar:""}},[s("q-avatar",{attrs:{icon:e.toggleChatMessagesIcon}})],1),s("q-item-section",[s("q-item-label",{domProps:{textContent:e._s(e.toggleChatMessagesLabel)}})],1)],1)],1)],1)],1)},A_=[],k_=Object(ce["a"])("chat"),T_=k_.mapGetters,P_=k_.mapMutations,I_={name:"ChatToggleSettings",computed:ne()(ne()({},T_(["getChatVisible","getChatMessagesVisible","getSightingMessagesVisible"])),{},{textLabel(){var e=this.getChatVisible?this.hideChat:this.startChat;return this.iconOnly?null:_.get(this,"label",e)},tooltipLabel(){return this.getChatVisible?this.hideChat:this.startChat},toggleChatMessagesLabel(){return this.getChatMessagesVisible?"Chat Enabled":"Chat Disabled"},toggleChatMessagesIcon(){return this.getChatMessagesVisible?"far fa-comments":"fa fa-comments"},toggleSightingsLabel(){return this.getSightingMessagesVisible?"Sightings Enabled":"Sightings Disabled"},toggleSightingsIcon(){return this.getSightingMessagesVisible?"far fa-eye":"fa fa-eye-slash"}}),methods:ne()(ne()({},P_(["setChatVisibility","setChatMessageVisibility","setSightingChatMessageVisibility"])),{},{toggleChat(){this.setChatVisibility(!this.getChatVisible),le["a"].$emit("showChat",this.getChatVisible)},toggleSightingsMessages(){this.setSightingChatMessageVisibility(!this.getSightingMessagesVisible)},toggleChatMessages(){this.setChatMessageVisibility(!this.getChatMessagesVisible)}}),props:{hideChat:{type:String,default:"Hide Chat"},iconOnly:{type:Boolean,default:!1},round:{type:Boolean,default:!0},size:{type:String,default:"sm"},startChat:{type:String,default:"Chat"}},data(){return{fab2:!1}}},$_=I_,E_=(s("9d9b"),Object(Ee["a"])($_,C_,A_,!1,null,null,null)),R_=E_.exports;ze()(E_,"components",{QBtnDropdown:qc["a"],QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"],QAvatar:Ol["a"],QItemLabel:br["a"]});var N_=function(){var e=this,t=e.$createElement;e._self._c;return e._e()},O_=[],L_={name:"KidsCourseLongAd",props:{slotSize:{default:0,required:!0,type:Number}}},D_=L_,V_=Object(Ee["a"])(D_,N_,O_,!1,null,null,null),z_=V_.exports;ze()(V_,"components",{QImg:yi["a"]});var M_=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("router-link",{attrs:{to:{name:"africam-4-good"}}},[s("q-img",{staticClass:"full-height rounded-borders",attrs:{ratio:16/9,src:"images/save/africam4good.jpg"}})],1)},j_=[],Q_={name:"Africam4GoodPromo",data(){return{}}},U_=Q_,F_=(s("f1b1"),Object(Ee["a"])(U_,M_,j_,!1,null,"6d64b47e",null)),B_=F_.exp
1orts;ze()(F_,"components",{QImg:yi["a"]});var H_=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-img",{staticClass:"rounded-borders",attrs:{src:e.src,ratio:e.ratio}},[s("div",{staticClass:"text-white text-shadow fit"},[s("div",{staticClass:"relative-position fit",class:e.featurePadding},[s("div",{staticClass:"text-brand-orange text-bold text-caption text-uppercase"},[e._v("Resident Ranger")]),s("h4",{staticClass:"text-weight-bold q-my-none",staticStyle:{"margin-top":"-10px"}},[e._v("Russell Gerber")]),s("div",{staticClass:"absolute-bottom text-right q-pa-md"},[s("q-btn",{staticClass:"inline-block",attrs:{to:{name:"russell-bio"},size:"sm",color:"brand-orange"}},[e._v("\n          More on Russell\n        ")])],1)])])])},G_=[],W_={name:"RangerRussellPromo",computed:{featurePadding(){return this.$q.screen.width>1024?"q-pa-lg":"q-pa-md"}},props:{ratio:{type:Number,default:16/9},src:{type:String,default:"images/rangers/russell-promo.jpg"}}},Y_=W_,K_=(s("639d"),Object(Ee["a"])(Y_,H_,G_,!1,null,"47ebc108",null)),Z_=K_.exports;ze()(K_,"components",{QImg:yi["a"],QBtn:De["a"]});var J_=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-img",{staticClass:"rounded-borders",attrs:{src:e.src,ratio:e.ratio}},[s("div",{staticClass:"text-white text-shadow fit"},[s("div",{staticClass:"relative-position fit",class:e.featurePadding},[s("div",{staticClass:"text-brand-orange text-bold text-caption text-uppercase"},[e._v("Resident Ranger")]),s("h4",{staticClass:"text-weight-bold q-my-none",staticStyle:{"margin-top":"-10px"}},[e._v("Trishala Naidu")]),s("div",{staticClass:"absolute-bottom text-right q-pa-md"},[s("q-btn",{staticClass:"inline-block",attrs:{to:{name:"trishala-bio"},size:"sm",color:"brand-orange"}},[e._v("\n          More on Trishala\n        ")])],1)])])])},X_=[],eS={name:"RangerTrishalaPromo",computed:{featurePadding(){return this.$q.screen.width>1024?"q-pa-lg":"q-pa-md"}},props:{ratio:{type:Number,default:16/9},src:{type:String,default:"images/rangers/trishala-promo.jpg"}}},tS=eS,sS=(s("3f41"),Object(Ee["a"])(tS,J_,X_,!1,null,"9f55aafc",null)),aS=sS.exports;ze()(sS,"components",{QImg:yi["a"],QBtn:De["a"]});var iS=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-img",{staticClass:"rounded-borders",attrs:{src:e.src,ratio:e.ratio}},[s("div",{staticClass:"text-white text-shadow fit"},[s("div",{staticClass:"relative-position fit",class:e.featurePadding},[s("div",{staticClass:"text-brand-orange text-bold text-caption text-uppercase"},[e._v("Resident Ranger")]),s("h4",{staticClass:"text-weight-bold q-my-none",staticStyle:{"margin-top":"-10px"}},[e._v("James Hendry")]),s("div",{staticClass:"absolute-bottom text-right q-pa-md"},[s("q-btn",{staticClass:"inline-block",attrs:{to:{name:"james-bio"},size:"sm",color:"brand-orange"}},[e._v("\n          More on James\n        ")])],1)])])])},oS=[],rS={name:"RangerJamesPromo",computed:{featurePadding(){return this.$q.screen.width>1024?"q-pa-lg":"q-pa-md"}},props:{ratio:{type:Number,default:16/9},src:{type:String,default:"images/rangers/james.jpg"}}},nS=rS,lS=(s("87ae"),Object(Ee["a"])(nS,iS,oS,!1,null,"7262adaa",null)),cS=lS.exports;ze()(lS,"components",{QImg:yi["a"],QBtn:De["a"]});var dS=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-img",{staticClass:"rounded-borders",attrs:{src:e.src,ratio:e.ratio}},[s("div",{staticClass:"text-white text-shadow fit"},[s("div",{staticClass:"relative-position fit",class:e.featurePadding},[s("div",{staticClass:"text-brand-orange text-bold text-caption text-uppercase"},[e._v("Resident Ranger")]),s("h4",{staticClass:"text-weight-bold q-my-none",staticStyle:{"margin-top":"-10px"}},[e._v("Phill Steffny")]),s("div",{staticClass:"absolute-bottom text-right q-pa-md"},[s("q-btn",{staticClass:"inline-block",attrs:{to:{name:"phill-bio"},size:"sm",color:"brand-orange"}},[e._v("\n          More on Phill\n        ")])],1)])])])},uS=[],hS={name:"RangerPhillPromo",computed:{featurePadding(){return this.$q.screen.width>1024?"q-pa-lg":"q-pa-md"}},props:{ratio:{type:Number,default:16/9},src:{type:String,default:"images/rangers/phill.jpg"}}},mS=hS,pS=(s("1971"),Object(Ee["a"])(mS,dS,uS,!1,null,"c6b13260",null)),gS=pS.exports;ze()(pS,"components",{QImg:yi["a"],QBtn:De["a"]});var vS=function(){var e=this,t=e.$createElement,s=e._self._c||t;
1return s("q-carousel",{staticClass:"rounded-borders cursor-pointer",style:{height:e.carouselHeight+"px"},attrs:{autoplay:7e3,animated:"",infinite:"",navigation:e.$q.screen.width>1200,"navigation-active-icon":"far fa-check-circle","navigation-position":"right","transition-next":"jump-left","transition-prev":"jump-right"},on:{click:e.signInUp},model:{value:e.slide,callback:function(t){e.slide=t},expression:"slide"}},[s("q-carousel-slide",{staticClass:"q-pa-none",attrs:{name:"first"}},[s("router-link",{attrs:{to:{name:"premium"}}},[s("div",[e.$q.screen.width>599?s("q-img",{staticClass:"fit rounded-borders",attrs:{ratio:750/858,"no-default-spinner":"",src:"/images/promo/home-carousel-1.jpg"}}):s("q-img",{staticClass:"rounded-borders",attrs:{ratio:800/450,"no-default-spinner":"",src:"/images/promo/home-carousel-1-mobile.jpg"}}),s("q-resize-observer",{attrs:{debounce:"150"},on:{resize:e.onCarouselResize}})],1)])],1),s("q-carousel-slide",{staticClass:"q-pa-none",attrs:{name:"second"}},[s("router-link",{attrs:{to:{name:"premium"}}},[e.$q.screen.width>599?s("q-img",{staticClass:"fit rounded-borders",attrs:{ratio:750/858,"no-default-spinner":"",src:"/images/promo/home-carousel-2.jpg"}}):s("q-img",{staticClass:"rounded-borders",attrs:{ratio:800/450,"no-default-spinner":"",src:"/images/promo/home-carousel-2-mobile.jpg"}})],1)],1),s("q-carousel-slide",{staticClass:"q-pa-none",attrs:{name:"third"}},[s("router-link",{attrs:{to:{name:"premium"}}},[e.$q.screen.width>599?s("q-img",{staticClass:"fit rounded-borders",attrs:{ratio:750/858,"no-default-spinner":"",src:"/images/promo/home-carousel-3.jpg"}}):s("q-img",{staticClass:"rounded-borders",attrs:{ratio:800/450,"no-default-spinner":"",src:"/images/promo/home-carousel-3-mobile.jpg"}})],1)],1),s("q-carousel-slide",{staticClass:"q-pa-none",attrs:{name:"fourth"}},[s("router-link",{attrs:{to:{name:"premium"}}},[e.$q.screen.width>599?s("q-img",{staticClass:"fit rounded-borders",attrs:{ratio:750/858,"no-default-spinner":"",src:"/images/promo/home-carousel-4.jpg"}}):s("q-img",{staticClass:"rounded-borders",attrs:{ratio:800/450,"no-default-spinner":"",src:"/images/promo/home-carousel-4-mobile.jpg"}})],1)],1)],1)},fS=[],bS={name:"SubscribeCarousel",data(){return{carouselHeight:100,slide:"first"}},methods:{onCarouselResize(e){this.carouselHeight=e.height},signInUp(){le["a"].$emit("routeTo",{name:"premium"})}}},wS=bS,yS=s("880c"),xS=s("62cd"),qS=Object(Ee["a"])(wS,vS,fS,!1,null,null,null),_S=qS.exports;ze()(qS,"components",{QCarousel:yS["a"],QCarouselSlide:xS["a"],QImg:yi["a"],QResizeObserver:ho["a"]});var SS=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-dialog",{on:{hide:e.closePrompt},model:{value:e.showUpgradePrompt,callback:function(t){e.showUpgradePrompt=t},expression:"showUpgradePrompt"}},[s("q-card",[s("q-toolbar",{staticClass:"bg-light-baise"},[s("q-toolbar-title",{staticStyle:{"min-width":"180px"}},[e.premiumLogo?s("q-img",{attrs:{width:"160px","no-default-spinner":"",src:"logos/africam-premium-black-transparent.png",ratio:332/36}}):s("q-img",{attrs:{width:"100px","no-default-spinner":"",src:"logos/logo-black-on-trans.svg",ratio:563/139}})],1),s("q-space"),s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{color:"dark-green",flat:"",round:"",dense:"",icon:"fas fa-times"}})],1),s("q-card-section",[s("div",{staticClass:"q-pa-sm",domProps:{innerHTML:e._s(e.message)}})]),s("q-card-actions",{staticClass:"justify-between"},[e.cta?s("q-btn",{staticClass:"text-shadow",staticStyle:{"min-width":"140px"},attrs:{label:e.cta,to:e.action,color:"brand-orange"}}):e._e(),e.showBackout?s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"text-grey-6",attrs:{flat:"",label:"No Thanks"}}):e._e()],1)],1)],1)},CS=[],AS={name:"ShowUpgradePromptComponent",data(){return{showUpgradePrompt:!1}},methods:{closePrompt(){this.$emit("hide",!0),this.showUpgradePrompt=!1,this.$log("UPGRADE PROMPT CLOSED")}},props:{action:{type:Object,default(){return{}}},cta:{type:String,default:""},message:{type:String,default:""},premiumLogo:{type:Boolean,default:!1},showBackout:{type:Boolean,default:!0},showPrompt:{type:Boolean,default:!1}},watch:{showPrompt(e){this.showUpgradePrompt=e}}},kS=AS,TS=Object(Ee["a"])(kS,SS,CS,!1,null,null,null),PS=TS.exports;ze()(TS,"components",{QDialog:Re["a"],QCard:Ne["a"],QToolbar:hr["a"],QToolbarTitle:mr["a"],QImg:yi["a"],QSpace:uc["a"],QBtn:De["a"],QCardSection:Oe["a"],QCardActions:Le["a"]}),ze()(TS,"directives",{ClosePopup:Y["a"]});var IS=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-dialog",{attrs:{persistent:"",maximized:"","transition-show":"slide-up","transition-hide":"slide-down"},model:{value:e.showModal,callback:function(t){e.showModal=t},expression:"showModal"}},[s("q-card",[s("q-bar",{staticClass:"bg-dark-baise q-pa-lg"},[s("h6",{staticClass:"text-weight-bold"},[e._v("Cookie Policy")]),s("q-space"),s("q-btn",{attrs:{size:"md",flat:"",icon:"fas fa-times"},on:{click:e.closeModal}},[s("q-tooltip",{attrs:{"content-class":"bg-white text-primary"}},[e._v("Close")])],1)],1),s("q-card-section",{staticClass:"q-pa-lg bg-extra-light-baise",staticStyle:{height:"calc(100vh - 108px)"}},[s("div",{staticClass:"row full-height scroll justify-around"},[s("div",{staticClass:"col-xs-12 col-sm-10 col-md-8 col-lg-6"},[s("h6",{staticClass:"q-my-sm text-weight-medium"},[e._v("What Are Cookies")]),s("p",[e._v("\n            As is common practice with almost all professional websites this site uses co
1okies, which are tiny files\n            that are downloaded to your computer, to improve your experience. This page describes what information\n            they gather, how we use it and why we sometimes need to store these cookies. We will also tell you how you\n            can prevent these cookies from being stored however this may downgrade or 'break' certain elements of the\n            sites functionality.\n          ")]),s("p",[e._v("For more information on cookies see the Wikipedia article on "),s("a",{attrs:{href:"https://en.wikipedia.org/wiki/HTTP_cookie",target:"_blank"}},[e._v("HTTP Cookies")])]),s("h6",{staticClass:"q-my-sm text-weight-medium"},[e._v("How We Use Cookies")]),s("p",[e._v("\n            We use cookies for a variety of reasons detailed below. Unfortunately in most cases there are no industry\n            standard options for disabling cookies without completely disabling the functionality and features they\n            add to this site. It is recommended that you leave on all cookies if you are not sure whether you need\n            them or not in case they are used to provide a service that you use.\n          ")]),s("h6",{staticClass:"q-my-sm text-weight-medium"},[e._v("Disabling Cookies")]),s("p",[e._v("\n            You can prevent the setting of cookies by adjusting the settings on your browser (see your browser Help\n            for how to do this). Be aware that disabling cookies will affect the functionality of this and many other\n            websites that you visit. Disabling cookies will usually result in also disabling certain functionality and\n            features of this site. Therefore it is recommended that you do not disable cookies.\n          ")]),s("h6",{staticClass:"q-my-sm text-weight-medium"},[e._v("The Cookies We Set")]),s("p",[e._v("\n            The only site specific cookie used on this website is the one used to maintain your session, if you have\n            been supplied with a procedure that requires you to sign in.\n          ")]),s("h6",{staticClass:"q-my-sm text-weight-medium"},[e._v("Third Party Cookies")]),s("p",[e._v("\n            In some special cases we also use cookies provided by trusted third parties. The following section details\n            which third party cookies you might encounter through this site.\n          ")]),s("p",[e._v("\n            This site uses Google Analytics which is one of the most widespread and trusted analytics solution on the\n            web for helping us to understand how you use the site and ways that we can improve your experience. These\n            cookies may track things such as how long you spend on the site and the pages that you visit so we can\n            continue to produce engaging content.\n          ")]),s("p",[e._v("\n            For more information on Google Analytics cookies, see the "),s("a",{attrs:{href:"https://support.google.com/analytics/answer/6004245?hl=en",target:"_blank"}},[e._v("official Google Analytics\n            page")]),e._v(".\n          ")]),s("h6",{staticClass:"q-my-sm text-weight-medium"},[e._v("More Information")]),s("p",[e._v("\n            If you are looking for more information then you can contact us by email.\n          ")])])])]),s("q-card-actions",{staticClass:"q-pb-sm",attrs:{align:"center"}},[s("q-btn",{staticClass:"bg-brand-orange text-white text-shadow q-my-xs",attrs:{label:"Close and continue",size:"md",unelevated:""},on:{click:e.closeModal}})],1)],1)],1)},$S=[],ES={name:"CookiePolicy",computed:{showModal(){return this.showCookiePolicy},year(){return(new Date).getFullYear()}},data(){return{}},methods:{closeModal(){this.$emit("closed",!0)}},props:{showCookiePolicy:{type:Boolean,default:!1}}},RS=ES,NS=Object(Ee["a"])(RS,IS,$S,!1,null,null,null),OS=NS.exports;ze()(NS,"components",{QDialog:Re["a"],QCard:Ne["a"],QBar:Qm["a"],QSpace:uc["a"],QBtn:De["a"],QTooltip:Lc["a"],QCardSection:Oe["a"],QCardActions:Le["a"]});var LS=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 text-center q-py-md text-grey-3 text-caption"}
1,[e._v("\n    © Copyright "+e._s(e.year)+" Africam | All rights "),s("span",{on:{click:e.setUserUnSubscribed}},[e._v("reserved")])])])},DS=[],VS=Object(ce["a"])("user"),zS=(VS.mapGetters,VS.mapActions),MS={name:"Copyright",computed:{year(){return(new Date).getFullYear()}},methods:ne()({},zS(["setUserUnSubscribed"]))},jS=MS,QS=Object(Ee["a"])(jS,LS,DS,!1,null,null,null),US=QS.exports,FS=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.$q.fullscreen.isCapable?s("q-btn",{class:[e.classes],attrs:{round:e.round,size:e.size,icon:e.icon,label:e.textLabel,color:"brand-orange"},on:{click:function(t){return e.$q.fullscreen.toggle()}}},[s("q-tooltip",{attrs:{"content-class":"text-center","content-style":{minWidth:"100px"},anchor:"top middle",self:"bottom middle",offset:[10,10]}},[e.isFullscreen?e._e():s("q-icon",{staticClass:"q-mr-xs",attrs:{name:"fas fa-tv"}}),e._v("\n    "+e._s(e.tooltipLabel||"")+"\n  ")],1)],1):e._e()},BS=[],HS={name:"FullscreenToggle",computed:{classes(){return this.isFullscreen?"absolute-top-right q-ma-sm":""},icon(){return this.isFullscreen?"fas fa-compress":"fas fa-expand"},isFullscreen(){return this.$q.fullscreen.isActive},textLabel(){var e=this.isFullscreen?"Exit Fullscreen":"Go Fullscreen";return this.isFullscreen||this.iconOnly?null:_.get(this,"label",e)},tooltipLabel(){return this.isFullscreen?"Exit Fullscreen":"Go Fullscreen"}},props:{iconOnly:{type:Boolean,default:!1},round:{type:Boolean,default:!0},size:{type:String,default:"sm"}}},GS=HS,WS=Object(Ee["a"])(GS,FS,BS,!1,null,null,null),YS=WS.exports;ze()(WS,"components",{QBtn:De["a"],QTooltip:Lc["a"],QIcon:Ai["a"]});var KS=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e.getIsFullscreen?e._e():s("q-header",{staticClass:"bg-grey-3",attrs:{elevated:""}},[s("alert-bar",{staticClass:"q-pb-xs"}),e.showIsLive?s("q-toolbar",{staticClass:"text-white text-smaller bg-brand-orange q-pb-xs"},[s("q-space"),e._v("\n        LIVE Show in progress\n        "),s("q-btn",{staticClass:"bg-white text-bold q-ml-md",attrs:{size:"md","text-color":"brand-orange"},on:{click:e.gotoShow}},[e._v("\n          watch now!\n        ")]),s("q-space")],1):e._e(),s("q-toolbar",{staticClass:"text-grey-6 bg-black q-pb-xs"},[e.$q.screen.width<=640?s("q-btn",{attrs:{dense:"",flat:"",icon:"fas fa-bars",round:""},on:{click:function(t){e.left=!e.left}}}):e._e(),s("q-toolbar-title",{style:{minWidth:"120px"}},[s("router-link",{attrs:{to:{path:"/"}}},[e.userIsSubscriber?s("q-img",{attrs:{"no-default-spinner":"",width:"120px",src:"logos/africam-premium-white-transparent.png",ratio:332/36}}):s("q-img",{attrs:{"no-default-spinner":"",width:"120px",src:"logos/logo-white-on-trans.svg",ratio:563/139}})],1)],1),e.$q.screen.width>767?s("q-space"):e._e(),s("q-tabs",{staticClass:"text-capitalize text-bold",attrs:{"indicator-color":"orange"}},[e.$q.screen.width>768&&e.$q.screen.width<=1e3?s("q-route-tab",{staticClass:"text-caption",attrs:{to:{name:"alerts-app"}}},[s("span",[e._v(" ALERTS APP ")])]):e._e(),e.$q.screen.width>768&&e.$q.screen.width<=1e3?s("q-route-tab",{staticClass:"text-caption",attrs:{to:{name:"contact-us"}}},[s("span",[e._v(" Contact Us ")])]):e._e(),!e.userIsSubscriber&&e.$q.screen.width>600?s("q-route-tab",{staticClass:"text-caption",attrs:{to:{name:"subscribe"}}},[s("span",[e._v(" Sign Up ")])]):e._e()],1),e.userIsSignedIn?s("q-avatar",{staticClass:"q-pr-lg q-mx-xs",attrs:{size:"34px"}},[s("img",{staticClass:"profile-photo",attrs:{src:e.currentUser.avatar},on:{error:function(e){e.target.src="/images/africam-avatar.jpg"}}})]):e._e(),e.userIsSignedIn?s("q-btn",{staticClass:"text-caption q-pl-none",class:[e.menuClasses],attrs:{label:e.displayName,color:"brand-orange",flat:"","icon-right":"fas fa-caret-down",size:e.menuButtonSize}},[s("q-menu",{attrs:{fit:"",offset:[0,15]}},[s("q-list",{staticClass:"text-uppercase semi-bold",attrs:{separator:""}},[e.getIsSubscriber?s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{to:{name:"profile",params:{section:"tags"}},clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"grey-7",name:"fas fa-tags"}})],1),s("q-item-section",{staticClass:"text-grey-9"}
1,[e._v("SafariSnaps")])],1):e._e(),s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{to:{name:"profile",params:{section:"gallery"}},clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"grey-7",name:"fas fa-camera-retro"}})],1),s("q-item-section",{staticClass:"text-grey-9"},[e._v("PHOTOS")])],1),s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{to:{name:"profile",params:{section:"notifications"}},clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"grey-7",name:"fas fa-bell"}})],1),s("q-item-section",{staticClass:"text-grey-9"},[e._v("ALERTS")])],1),s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{to:{name:"profile",params:{section:"profile"}},clickable:""}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"grey-7",name:"fas fa-house-user"}})],1),s("q-item-section",{staticClass:"text-grey-9"},[e._v("Profile")])],1),s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{clickable:""},on:{click:e.signOut}},[s("q-item-section",{attrs:{avatar:""}},[s("q-icon",{attrs:{color:"grey-7",name:"fas fa-sign-out-alt"}})],1),s("q-item-section",{staticClass:"text-grey-9"},[e._v("Sign Out")])],1)],1)],1)],1):s("q-btn",{staticClass:"text-white",class:[e.menuClasses],attrs:{to:{name:"sign-in"},flat:"",label:"SIGN IN",size:e.menuButtonSize}}),s("div",{staticClass:"inline-block q-mx-xs"},[s("chat-toggle",{attrs:{id:"chaticon","icon-only":""}})],1)],1),e.$q.screen.width>640?s("div",{staticClass:"bg-grey3 text-black row justify-around text-weight-bold q-pb-xs"},[s("div",{staticStyle:{"max-width":"1600px"}},[s("q-tabs",{staticClass:"custom-tab",class:[e.menuClasses],attrs:{align:"justify","indicator-color":"black"}},[s("q-route-tab",{attrs:{to:{name:"streams"},label:"LIVE STREAMS"}}),s("q-route-tab",{attrs:{to:{name:"video-highlights"},label:"RECENT SIGHTINGS"}}),s("q-route-tab",{attrs:{to:{name:"alerts-app"},label:"ALERTS APP"}}),s("q-route-tab",{attrs:{to:{name:"leaderboard"},label:"SAFARISNAPS"}}),s("q-route-tab",{attrs:{to:{name:"resources"},label:"RESOURCES"}}),s("q-route-tab",{attrs:{to:{name:"contact-us"},label:"CONTACT US"}})],1)],1)]):e._e()],1)],1)},ZS=[],JS=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.shouldShowAlertBar?s("q-bar",{staticClass:"bg-black text-brand-orange"},[e.hasNotifications?s("q-carousel",{staticClass:"bg-black text-brand-orange w-25",attrs:{vertical:"","transition-prev":"fade","transition-next":"fade",swipeable:"",animated:"",autoplay:5e3,"control-color":"white",infinite:"",height:"28px"},model:{value:e.slide,callback:function(t){e.slide=t},expression:"slide"}},e._l(e.sightings,(function(t){return s("q-carousel-slide",{key:t.id,staticClass:"no-padding\t",attrs:{name:t.id}},[s("q-icon",{staticClass:"q-mr-sm text-brand-orange filter-brand-orange",attrs:{name:e.notificationIconAvatar(t),size:"sm"}}),s("router-link",{staticClass:"text-brand-orange link text-smaller",attrs:{to:{name:"stream",params:{slug:t.stream.slug}}},domProps:{innerHTML:e._s(t.caption+" "+t.message+" <span class='font-weight:strong'>Click Here</span>")}})],1)})),1):e._e(),s("q-space"),e.$q.screen.width>=576?s("div",{staticClass:"text-weight-bold"},[s("span",{staticClass:"text-07em",domProps:{textContent:e._s(e.showHeadlineText)}})]):e._e(),e.$q.screen.width>=576?s("div",{staticClass:"text-weight-medium"},[s("router-link",{staticClass:"text-brand-orange link text-07em",attrs:{to:{name:"shows"}},domProps:{textContent:e._s(e.nextShowTitle)}})],1):e._e(),!e.nextShowOnAir&&!e.$q.platform.is.mobile&&e.$q.screen.width>=576?s("div",{staticClass:"text-weight-medium"},[s("router-link",{staticClass:"text-brand-orange link text-07em",attrs:{to:{name:"shows"}},domProps:{textContent:e._s(e.nextShowDateTime)}})],1):e._e()],1):e._e()},XS=[],eC=Object(ce["a"])("shows"),tC=eC.mapGetters,sC=Object(ce["a"])("notifications"),aC=sC.mapGetters,iC=Object(ce["a"])("content"),oC=iC.mapGetters,rC=Object(ce["a"])("sightings"),nC=rC.mapGetters,lC=Object(ce["a"])("user"),cC=lC.mapGetters,dC={name:"AlertBar",computed:ne()(ne()(ne()(ne()(ne()(ne()({},tC(["getNextShow","getShowAfterNext","getShowTypeById"])),aC(["getNotifications"])),oC(["streams","getStreamById"])),cC(["getUser"])),nC(["getSightingsInLastTenMin","getSightings"])),{},{showTypeId(){return 0},showHeadlineText(){return this.nextShowOnAir?"ON AIR":"NEXT SHOW"},nextShowTypeTitle(){return qt.a.get(this.nextShow,"show_type.title","Ranger Show")},nextShowTypeSlug(){return qt.a.get(this.nextShow,"show_type.type","ranger-show")},sightings(){var e=this;
1return qt.a.filter(this.getSightingsInLastTenMin,(function(t){return!!qt.a.isEmpty(e.userNotifications())||-1!=e.userNotifications().indexOf(Number(t.notification_category_id))}))},firstSighting(){return qt.a.get(this.getSightingsInLastTenMin,"0",[])},hasNotifications(){return this.getSightingsInLastTenMin.length>0},shouldShowAlertBar(){return this.hasNotifications||this.getNextShow||!1},stream(){return qt.a.head(this.getStreamById(qt.a.get(this.getNotifications,"0.stream_id",[])))}}),methods:{notificationIconAvatar(e){var t;return null!==(t=null===e||void 0===e?void 0:e.avatar)&&void 0!==t&&t?`${this.animalAvatarPath(null===e||void 0===e?void 0:e.avatar)}`:"fas fa-bell text-brand-orange q-mr-sm"},shouldShowNotification(e){var t=qt.a.map(qt.a.get(this,"getUser.notification_categories",[]),(function(e){return null===e||void 0===e?void 0:e.id}));return!qt.a.isArray(t)||-1!==t.indexOf(e.notification_category_id)}},data(){var e,t;return{slide:null!==(e=null===(t=this.firstSighting)||void 0===t?void 0:t.id)&&void 0!==e?e:0,lorem:"Lorem Ipsum",userNotifications(){var e=qt.a.map(qt.a.get(this,"getUser.notification_categories",[]),(function(e){return null===e||void 0===e?void 0:e.id}));return e}}},mixins:[Su,hi],props:{prop:{type:Boolean,default:!1}}},uC=dC,hC=(s("200a"),Object(Ee["a"])(uC,JS,XS,!1,null,null,null)),mC=hC.exports;ze()(hC,"components",{QBar:Qm["a"],QCarousel:yS["a"],QCarouselSlide:xS["a"],QIcon:Ai["a"],QSpace:uc["a"]});var pC=Object(ce["a"])("user"),gC=pC.mapGetters,vC=pC.mapActions,fC=Object(ce["a"])("settings"),bC=fC.mapGetters,wC=Object(ce["a"])("shows"),yC=wC.mapGetters,xC={name:"HeaderBar",components:{AlertBar:mC,AlertsAppPage:Ob},computed:ne()(ne()(ne()(ne()({},gC(["getAuthenticated","getIsSubscriber","getUser","getIsJuniorRangerRegistered"])),bC(["getIsFullscreen"])),yC(["getActiveShowTypes"])),{},{currentUser(){return this.getUser},displayName(){if(this.$q.screen.width<480)return"";var e=_.get(this,"currentUser.display_name","");if(_.isEmpty(e)&&(e=_.get(this,"currentUser.name",""),_.isEmpty(e))){var t=_.split(_.get(this,"currentUser.email",""),"@",1);e=_.isArray(t)&&!_.isEmpty(t)?t[0]:"Profile"}return e},IsJuniorRangerRegistered(){var e=this.$q.localStorage.has("jr")&&_.isEqual(this.$q.localStorage.getItem("jr"),"ok");return e||(null===this||void 0===this?void 0:this.getIsJuniorRangerRegistered)},menuButtonSize(){return this.$q.screen.width>480?"md":"sm"},menuClasses(){return this.$q.screen.width>915?"text-uppercase semi-bold text-subtitle1":"text-uppercase semi-bold text-caption"},showIsLive(){return this.nextShowOnAir&&this.nextShowHasYoutubeId},showTypes(){var e;return null!==(e=this.getActiveShowTypes)&&void 0!==e?e:[]},userIcon(){return this.$q.screen.width>600?"fas fa-user":this.$q.screen.width<480?"fas fa-cog":""},userIsAuthenticated(){var e;return null!==(e=null===this||void 0===this?void 0:this.getAuthenticated)&&void 0!==e&&e},userIsRegistered(){return this.getIsUser||!1},userIsSignedIn(){var e;return null!==(e=null===this||void 0===this?void 0:this.getAuthenticated)&&void 0!==e&&e},userIsSubscriber(){var e;return null!==(e=null===this||void 0===this?void 0:this.getIsSubscriber)&&void 0!==e&&e}}),data(){return{left:!1,overShows:!1,overShowsList:!1,right:!1,routeName:null,showShows:!1,showAlertsApp:!1}},methods:ne()(ne()({},vC(["logout","toggleSubscribed"])),{},{debounceShowsList:Object(rm["a"])((function(){console.log(this.overShows,this.overShowsList),this.overShows||this.overShowsList?this.showShows=!0:this.showShows=!1}),300),gotoShow(){this.$trackEvent({event:"userInteraction",interactionType:"CTA Click",interactionElementName:"View Live Show Button - Top Navigation"}),this.$router.push({name:"shows"})},showLeftNav(e){le["a"].$emit("showLeftNav",!!e)},signInUp(){le["a"].$emit("doSignInUp",!0)},signOut(){var e=this;e.logout().then((function(t){e.$firebase.auth().signOut(),e.$log("LOGOUT:",t)}))},openAppPage(){this.$router.push({name:"app"})},goToApp(){this.$router.push({name:"app"})}}),mixins:[Su],mounted(){this.routeName=this.$route.name},watch:{left(e){le["a"].$emit("showLeftNav",!!e),e&&le["a"].$emit("showChat",!1)},$route(e,t){this.routeName=e.name||null},overShows(e){this.debounceShowsList()},overShowsList(e){this.debounceShowsList()}}},qC=xC,_C=(s("ffd7"),s("2a8b"),s("4e73")),SC=Object(Ee["a"])(qC,KS,ZS,!1,null,"0871ff83",null),CC=SC.exports;ze()(SC,"components",{QHeader:Vr["a"],QToolbar:hr["a"],QSpace:uc["a"],QBtn:De["a"],QToolbarTitle:mr["a"],QImg:yi["a"],QTabs:r
1c["a"],QRouteTab:dv["a"],QAvatar:Ol["a"],QMenu:_C["a"],QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"],QIcon:Ai["a"],QTab:nc["a"]}),ze()(SC,"directives",{ClosePopup:Y["a"]});var AC=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-header",{staticClass:"bg-light"},[s("q-toolbar",{staticClass:"q-pb-md q-pt-md"},[s("q-toolbar-title",{style:{paddingTop:"5px"}},[s("router-link",{attrs:{to:{name:"home"}}},[s("q-img",{staticStyle:{"min-width":"80px","max-width":"130px"},attrs:{"no-default-spinner":"",src:"logos/logo-black-on-trans.svg",ratio:563/139}})],1)],1),s("q-space"),s("div",{staticClass:"btn-container q-pr-md"},[s("q-btn",{directives:[{name:"show",rawName:"v-show",value:e.isLandPath||e.isSignInPath,expression:"isLandPath || isSignInPath"}],staticClass:"equal-btn",attrs:{outline:"",rounded:"",color:"grey",label:"SUBSCRIBE",to:{name:"details"}},on:{click:e.trackSubscribeButton}}),e.isLandPath||e.isDetailsPath||e.isSubscribeRoute?s("q-btn",{staticClass:"equal-btn",attrs:{outline:"",rounded:"",color:"grey",label:"SIGN IN",to:{name:"sign-in"}},on:{click:e.trackSignInButton}}):e._e()],1)],1),s("q-separator",{attrs:{color:"grey-4"}})],1)},kC=[],TC=Object(ce["a"])("user"),PC=TC.mapGetters,IC=TC.mapActions,$C={name:"HeaderBar",computed:ne()(ne()({},PC(["getAuthenticated"])),{},{isSubscribeRoute(){return"subscribe"===this.$route.name},menuClasses(){return this.$q.screen.width>768?"text-capitalize semi-bold text-subtitle1":"text-capitalize semi-bold text-caption"},isSignInPath(){var e;return"sign-in"===(null===(e=this.$route)||void 0===e?void 0:e.name)},isWelcomePath(){var e;return"welcome"===(null===(e=this.$route)||void 0===e?void 0:e.name)},isDetailsPath(){var e;return"details"===(null===(e=this.$route)||void 0===e?void 0:e.name)},isLandPath(){var e;return"land"===(null===(e=this.$route)||void 0===e?void 0:e.name)},userIsSignedIn(){return this.getAuthenticated}}),data(){return{left:!1}},methods:ne()(ne()({},IC(["logout"])),{},{showLeftNav(e){le["a"].$emit("showLeftNav",!!e)},trackSignInButton(){this.$trackEvent({event:"community_signin",interactionType:"CTA Click",interactionElementName:"Got to sign in page via top navigation"})},trackSubscribeButton(){this.$trackEvent({event:"community_subscribe",interactionType:"CTA Click",interactionElementName:"Start subscribe process via top naviation"})},signOut(){this.logout().then((function(e){console.log("LOGOUT:",e)}))}}),mounted(){console.log("Logo Only Header Bar Mounted ...")},watch:{left(e){this.showLeftNav(e)}}},EC=$C,RC=(s("0032"),Object(Ee["a"])(EC,AC,kC,!1,null,null,null)),NC=RC.exports;ze()(RC,"components",{QHeader:Vr["a"],QToolbar:hr["a"],QToolbarTitle:mr["a"],QImg:yi["a"],QSpace:uc["a"],QBtn:De["a"],QSeparator:Go["a"]});var OC=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-page-scroller",{attrs:{position:"bottom-right","scroll-offset":1e3,offset:[15,15]}},[s("q-btn",{attrs:{size:"sm",round:"",color:"brand-orange",icon:"fas fa-angle-up"}},[s("q-tooltip",{attrs:{anchor:"top middle",self:"bottom middle","transition-show":"jump-down","transition-hide":"scale"}},[e._v("\n      Scroll up\n    ")])],1)],1)},LC=[],DC={name:"ScrollToTopComponent"},VC=DC,zC=s("5096"),MC=Object(Ee["a"])(VC,OC,LC,!1,null,null,null),jC=MC.exports;ze()(MC,"components",{QPageScroller:zC["a"],QBtn:De["a"],QTooltip:Lc["a"]});var QC=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"row justify-center bg-black text-white q-py-lg green-border-top"},[s("div",{staticClass:"col-12 col-px-md q-pt-xl"},[s("footer-links"),s("footer-social"),s("footer-logos"),s("copyright"),s("div",{staticClass:"q-mb-lg q-mt-md text-caption text-center text-grey-6 "},[e._v("\n        Any commercial use or distribution of this site's content without the express written consent of Africam.com is strictly prohibited.\n        "),s("router-link",{staticClass:"text-brand-orange text-uppercase",attrs:{to:"/privacy-policy"}},[e._v("Privacy Policy")]),e._v("\n        &\n        "),s("router-link",{staticClass:"text-brand-orange text-uppercase",attrs:{to:"/terms-of-service"}},[e._v("Terms of Service")])],1)],1)])])},UC=[],FC=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row justify-center"},[s("div",{class:e.wrapperClasses},[s("div",{staticClass:"row justify-around"},[s("div",{class:e.colClasses},[s("q-list",{attrs:{dense:""}},[s("q-item",[s("q-item-section",[s("span",{staticClass:"text-white semi-bold text-uppercase"},[e._v("BROWSE")])])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-brand-orange link text-smaller",attrs:{clickable:"",to:{name:"streams"}}},[s("q-item-section",[e._v("Live Streams")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-brand-orange link text-smaller",attrs:{clickable:"",to:{name:"video-highlights"}}},[s("q-item-section",[e._v("Recent Sightings")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-brand-orange link text-smaller",attrs:{clickable:"",to:{name:"leaderboard"}}},[s("q-item-section",[e._v("SafariSnaps")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-brand-orange link text-smaller",attrs:{clickable:"",to:{name:"shows"}}},[s("q-item-section",[e._v("Shows")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-brand-orange link text-smaller",attrs:{clickable:"",tag:"a",href:"https://africam.com/blog/",target:"_blank"}},[s("q-item-section",[e._v("Blog")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-brand-orange link text-smaller",attrs:{clickable:"",to:{name:"alerts-app"}}},[s("q-item-section",[e._v("Alerts App")])],1)],1)],1),s("div",{class:e.colClasses},[s("q-list",{attrs:{dense:""}},[s("q-item",[s("q-item-section",[s("span",{staticClass:"text-white semi-bold text-uppercase"},[e._v("ABOUT")])])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-brand-orange link text-smaller",attrs:{clickable:"",tag:"a",href:"https://africam.com/",target:"_blank"}},[s("q-item-section",[e._v("About Us")])],1),s("q-item",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-brand-orange link text-smaller",attrs:{clickable:"",to:{name:"contact-us"}}},[s("q-item-section",[e._v("Contact Us")])],1)],1)],1)])]),s("div",{class:e.wrapperClasses},[s("hr",{staticClass:"q-my-xl",staticStyle:{opacity:"0.5"},attrs:{size:"1"}})])])}
1,BC=[],HC=s("0831"),GC=HC["a"].getScrollTarget,WC=HC["a"].setScrollPosition,YC=Object(ce["a"])("content"),KC=YC.mapGetters,ZC=Object(ce["a"])("user"),JC=ZC.mapGetters,XC={name:"FooterLinksComponent",computed:ne()(ne()(ne()({},KC(["streams"])),JC(["getAuthenticated","getIsSubscriber","getIsJuniorRangerRegistered"])),{},{colClasses(){return this.$q.screen.width>900?"col-2":this.$q.screen.width>550?"col-3":this.$q.screen.width>280?"col-6 q-mb-md":"col-12 q-pb-md text-center"},IsJuniorRangerRegistered(){var e=this.$q.localStorage.has("jr")&&_.isEqual(this.$q.localStorage.getItem("jr"),"ok");return e||(null===this||void 0===this?void 0:this.getIsJuniorRangerRegistered)},wrapperClasses(){return this.$q.screen.width>1e3?"col-10":this.$q.screen.width>300?"col-11":"col-12"}}),data(){return{subscriberPopup:!1}},methods:{contactUs(){var e=_.replace(_.replace("info#africam~com","#","@"),"~",".");location.href="mailto:"+e},scrollTop(){var e=document.getElementById("q-app"),t=GC(e),s=e.offsetTop,a=0;WC(t,s,a)},navigateIfSubscribed(e){this.getIsSubscriber?this.$router.push({name:e}):this.subscriberPopup=!0}}},eA=XC,tA=(s("bfbb"),Object(Ee["a"])(eA,FC,BC,!1,null,"c8b0ae32",null)),sA=tA.exports;ze()(tA,"components",{QList:gr["a"],QItem:vr["a"],QItemSection:fr["a"],QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QBtn:De["a"]}),ze()(tA,"directives",{Ripple:K["a"]});var aA=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row justify-center q-my-lg q-mx-md"},[s("div",{class:e.logoWrapperClass},[s("q-img",{attrs:{width:e.logoSize,height:e.logoSize,src:"logos/footer/bbc-news.svg"}})],1),s("div",{class:e.logoWrapperClass},[s("q-img",{attrs:{width:e.logoSize,height:e.logoSize,src:"logos/footer/mashable.svg"}})],1),s("div",{class:e.logoWrapperClass},[s("q-img",{attrs:{width:e.logoSize,height:e.logoSize,src:"logos/footer/usa-today.svg"}})],1),s("div",{class:e.logoWrapperClass},[s("q-img",{attrs:{width:e.logoSize,src:"logos/footer/treehugger.png"}})],1),s("div",{class:e.logoWrapperClass},[s("q-img",{attrs:{width:e.logoSize,height:e.logoSize,src:"logos/footer/fox.svg"}})],1)])},iA=[],oA={name:"FooterLogos",computed:{logoSize(){return this.appWidth>1024?"150px":this.appWidth>768?"120px":this.appWidth>320?"100px":"80px"},logoWrapperClass(){var e=this.appWidth>768?"col-2":this.appWidth>360?"col-4":this.appWidth>240?"col-6":"col-12";return[e,"self-center","text-center"]}},mixins:[hi,mi],mounted(){console.log("Footer Logos Mounted ...")}},rA=oA,nA=Object(Ee["a"])(rA,aA,iA,!1,null,null,null),lA=nA.exports;ze()(nA,"components",{QImg:yi["a"]});var cA=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row justify-center q-mb-lg"},[s("div",{class:e.socialWrapperClass},[s("q-btn",{staticClass:"facebook-blue",attrs:{flat:"",href:"https://www.facebook.com/africamlive",icon:"fab fa-facebook",round:"",size:"md",target:"_blank",type:"a"}})],1),s("div",{class:e.socialWrapperClass},[s("q-btn",{attrs:{flat:"",href:"https://instagram.com/africamlive_",icon:"fab fa-instagram",round:"",size:"md",target:"_blank",type:"a",color:"purple-7"}})],1),s("div",{class:e.socialWrapperClass},[s("q-btn",{staticClass:"twitter-blue",attrs:{flat:"",href:"https://www.twitter.com/africam",icon:"fab fa-twitter",round:"",size:"md",target:"_blank",type:"a"}})],1),s("div",{class:e.socialWrapperClass},[s("q-btn",{staticClass:"youtube-red",attrs:{flat:"",href:"https://www.youtube.com/user/africamvideos",icon:"fab fa-youtube",round:"",size:"md",target:"_blank",type:"a"}})],1)])},dA=[],uA={name:"FooterSocial",computed:{socialWrapperClass(){return["col-1","self-center","text-center"]}},mounted(){console.log("Footer Social Icons Mounted ...")}},hA=uA,mA=Object(Ee["a"])(hA,cA,dA,!1,null,null,null),pA=mA.exports;ze()(mA,"components",{QBtn:De["a"]});var gA={name:"Footer",computed:{linkClass(){var e="col-xs-6 col-sm-2";return this.$q.screen.lt.md&&(e+=" q-mt-sm text-caption "),e}},components:{"footer-links":sA,"footer-logos":lA,"footer-social":pA}},vA=gA,fA=(s("9899"),Object(Ee["a"])(vA,QC,UC,!1,null,"269f3178",null)),bA=fA.exports,wA=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:e.hidingPicker},model:{value:e.showStreamPicker,callback:function(t){e.showStreamPicker=t},expression:"showStreamPicker"}},[s("q-card",{staticStyle:{width:"70vw","max-width":"80vw","background-color":"#F1ECE2"}},[s("q-card-section",{staticClass:"q-pb-none"},[s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"float-right",attrs:{color:"dark-green",flat:"",round:"",dense:"",icon:"fas fa-times"}}),s("div",{staticClass:"text-h5 q-my-none"},[e._v("Choose a Stream")])],1),s("q-card-section",[s("div",{staticClass:"row q-col-gutter-sm"},e._l(e.currentStreams,(function(t,a){return s("div",{key:a,staticClass:"col-xs-6 col-sm-3 cursor-pointer",on:{click:function(s){return e.selectStream(t)}}},[s("stream-preview",{attrs:{stream:t,"show-preview":e.showPreview,refresh:(e.getIsSubscriber,0),ratio:e.$q.screen.width<600?16/9:4/3,basic:"",overlay:""}})],1)})),0)]),e.getIsSubscriber?e._e():s("q-card-section",{staticClass:"text-center q-pa-none"},[s("ad-responsive-horizontal-modal",{attrs:{classes:"absolute-center",width:e.adWidth}}),s("q-resize-observer",{ref:"adSlotResizer",attrs:{debounce:"100"},on:{resize:e.onResize}})],1)],1)],1)},yA=[],xA=Object(ce["a"])("content"),qA=xA.mapGetters,_A=Object(ce["a"])("user"),SA=_A.mapGetters,CA={name:"StreamPicker",computed:ne()(ne()(ne()({},qA(["streams"])),SA(["getAuthenticated","getIsSubscriber"])),{},{currentStreams(){return this.streams.filter((function(e){return e.active}))}}),data(){return{adWidth:0,showStreamPicker:!1}},destroyed(){this.showStreamPicker=!1},methods:{hidingPicker(){this.showStreamPicker=!1,this.$emit("hiding",!0)},checkRefresh(){return this.getIsSubscriber?45:120},onResize(e){this.$log("POPUP SLOT SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))},selectStream(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_.isNil(e)||this.$emit("stream-selected",e)}},props:{refresh:{type:Number,default:40},showPicker:{type:Boolean,default:!1},showPreview:{type:Boolean,default:!1}},watch:{showPicker(e){if(this.showStreamPicker=!!e,e){var t,s,a=null===(t=this.$router)||void 0===t||null===(s=t.currentRoute)||void 0===s?void 0:s.path;_.isEqual("/",a)&&(a="/home"),this.$trackPage({url:`${a}/stream-picker-modal`,name:"stream picker"})}}}},AA=CA,kA=Object(Ee["a"])(AA,wA,yA,!1,null,null,null),TA=kA.exports;ze()(kA,"components",{QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QBtn:De["a"],QResizeObserver:ho["a"]}),ze()(kA,"directives",{ClosePopup:Y["a"]});var PA=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"col-12",class:[e.rowPadding]},[s("h2",{class:[e.headingClasses]},[s("span",{domProps:{innerHTML:e._s(e.heading)}})]),e.subheading?s("p",{class:[e.subheadingClasses],domProps:{innerHTML:e._s(e.subheading)}}
1):e._e()])},IA=[],$A={name:"PageHeading",computed:{headingClasses(){return"text-h5 text-weight-bold q-my-sm "+this.textColour},subheadingClasses(){return this.subHeadingTextColour}},props:{textColour:{type:String,default:""},subHeadingTextColour:{type:String,default:""},heading:{type:String,required:!0,default:""},subheading:{type:String,default:""},rowPadding:{type:String,default:"q-mt-md"}}},EA=$A,RA=Object(Ee["a"])(EA,PA,IA,!1,null,null,null),NA=RA.exports,OA=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"col-12",class:[e.rowPadding]},[s("div",{class:[e.headingClasses]},[s("span",{domProps:{innerHTML:e._s(e.heading)}})])])},LA=[],DA={name:"PageSubheading",computed:{headingClasses(){return"text-h5 text-weight-bold q-my-sm "+this.textColour}},props:{textColour:{type:String,default:""},heading:{type:String,required:!0,default:""},subheading:{type:String,default:""},rowPadding:{type:String,default:"q-mt-md"}}},VA=DA,zA=Object(Ee["a"])(VA,OA,LA,!1,null,null,null),MA=zA.exports,jA=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"row"},[s("h1",{class:[e.titleClasses]},[s("span",{domProps:{textContent:e._s(e.title)}})])])},QA=[],UA={name:"PageTitle",computed:{titleClasses(){return"text-h4 text-weight-bold q-my-sm "+this.textColour}},props:{textColour:{type:String,default:""},title:{type:String,required:!0,default:""}}},FA=UA,BA=Object(Ee["a"])(FA,jA,QA,!1,null,null,null),HA=BA.exports,GA=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-card",{staticStyle:{width:"700px","max-width":"80vw"}},[s("q-form",{ref:"loginForm",attrs:{autofocus:"","no-error-focus":""},on:{submit:e.doLogin}},[s("q-card-section",{staticClass:"q-pa-none"},[s("div",{staticClass:"row"},[s("div",{staticClass:"xs-hide col col-md-5"},[s("q-img",{staticClass:"fit rounded-left",attrs:{src:"images/leopard.jpg"}})],1),s("div",{staticClass:"col col-md-7 q-pa-xl"},[s("q-input",{ref:"email",attrs:{"error-message":e.serverValidation.email,error:!!e.hasServerError("email"),rules:[e.validateEmail],"bottom-slots":"",color:"brand-orange","hide-hint":"",hint:"E.g. [email protected]","input-class":"text-body2",label:"Email Address","lazy-rules":"",maxlength:"64",type:"email"},on:{focus:function(t){return e.clearInputValidation("email")}},scopedSlots:e._u([{key:"prepend",fn:function(){return[s("q-icon",{staticClass:"q-ml-sm",attrs:{color:"grey-4",size:"xs",name:"fas fa-at"}})]},proxy:!0}]),model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}}),s("q-input",{ref:"password",staticClass:"q-mt-lg",attrs:{"error-message":e.serverValidation.password,error:!!e.hasServerError("password"),rules:[e.validatePassword],type:e.isPwd?"password":"text","bottom-slots":"",color:"brand-orange","input-class":"text-body2",label:"Password","lazy-rules":""},on:{focus:function(t){return e.clearInputValidation("password")}},scopedSlots:e._u([{key:"prepend",fn:function(){return[s("q-icon",{staticClass:"q-ml-sm",attrs:{color:"grey-4",size:"xs",name:"fas fa-key"}})]},proxy:!0},{key:"append",fn:function(){return[s("q-icon",{staticClass:"cursor-pointer",attrs:{color:"grey-4",size:"xs",name:e.isPwd?"far fa-eye":"far fa-eye-slash"},on:{click:function(t){e.isPwd=!e.isPwd}}})]},proxy:!0}]),model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}}),s("div",{staticClass:"row"},[s("div",{staticClass:"col-xs-12 col-md-6"},[s("q-btn",{staticClass:"cursor-pointer q-mt-xl text-white text-bold",staticStyle:{"min-width":"150px"},attrs:{loading:e.loggingIn,label:"Login",color:"brand-orange",size:"md",type:"submit"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"}),e._v("\n                                    Logging In\n                                ")]},proxy:!0}])})],1),s("div",{staticClass:"col-xs-12 col-md-6 relative-position"},[s("div",{staticClass:"absolute-center full-width"},[s("q-btn",{staticClass:"cursor-pointer  q-mt-xl text-brand-orange",attrs:{loading:e.resettingPassword,flat:"",label:"FORGOT PASSWORD?",size:"sm",type:"a"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"}),e._v("\n                                        Sending Reset Link\n                                    ")]},proxy:!0}])}
1)],1)])])],1)])])],1)],1)},WA=[],YA=Object(ce["a"])("user"),KA={name:"Login",computed:ne()(ne()({},YA.mapGetters(["getLoggingInStatus"])),{},{loggingIn(){return this.getLoggingInStatus}}),data(){return{isPwd:!0,form:{email:"",password:""},resettingPassword:!1,serverValidation:{email:"",password:""}}},methods:ne()(ne()({},YA.mapActions(["login"])),{},{doLogin(){var e=this,t=this;t.$refs.loginForm.resetValidation(),t.$refs.loginForm.validate().then((function(s){_.isEqual(s,!0)&&t.login({email:_.get(e,"form.email",""),password:_.get(e,"form.password","")}).then((function(e){t.$router.push({name:"the-boma"})})).catch((function(e){t.setServerErrorMessages(e)}))}))},validateEmail(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.email",!1)?this.getServerError("email"):_.isEmpty(e)?"Your email is required.":!!this.isValidEmail(e)||"The format of your email is incorrect format."},validatePassword(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return _.get(this,"serverValidation.password",!1)?this.getServerError("password"):!!e||"Your password is required."}}),mixins:[hi,Po]},ZA=KA,JA=Object(Ee["a"])(ZA,GA,WA,!1,null,null,null),XA=JA.exports;ze()(JA,"components",{QCard:Ne["a"],QForm:Fo["a"],QCardSection:Oe["a"],QImg:yi["a"],QInput:Bo["a"],QIcon:Ai["a"],QBtn:De["a"],QSpinnerFacebook:Ho["a"]});var ek=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{show:e.bindPlayer,hide:e.modalClosed},model:{value:e.showModal,callback:function(t){e.showModal=t},expression:"showModal"}},[s("q-card",{staticClass:"bg-grey-10",style:e.cardSize},[s("q-card-section",{staticClass:"q-pa-none"},[e.isYoutubeVideo?s("q-responsive",{attrs:{ratio:16/9}},[s("youtube",{attrs:{autoplay:"",previewImageSize:"hqdefault",src:e.videoSrc}})],1):s("div",{ref:"directPlayer",staticClass:"theoplayer-container video-js theoplayer-skin vjs-16-9 THEOplayer shadow-15"}),s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"close-action absolute-top-right q-ma-md cursor-pointer",attrs:{size:"md",color:"brand-orange",name:"fas fa-times"}})],1),s("q-card-actions",{staticClass:"bg-white",staticStyle:{"min-width":"52px"},attrs:{align:"between"}},[s("div",{staticClass:"inline-block",domProps:{textContent:e._s(e.videoDescription)}}),s("q-space"),s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{flat:"",label:"CLOSE"}})],1)],1)],1)},tk=[],sk={name:"DirectStreamPlayer",computed:{cardSize(){return this.$q.screen.width>1024?{width:"970px",maxWidth:"80vw"}:{width:"728px",maxWidth:"95vw"}},isYoutubeVideo(){return _.has(this.video,"youtube_id")&&!_.isEmpty(this.video.youtube_id)},videoDescription(){return _.get(this,"video.description","")},videoSrc(){return _.get(this,"video.storage_reference","")}},data(){return{player:null,showModal:!1,showVideoType:!1}},destroyed(){this.$log("DIRECT PLAYER DESTROYED"),this.player=null},methods:{bindPlayer(){var e=this;e.isYoutubeVideo||this.$nextTick((function(){e.player=new window.THEOplayer.Player(e.$refs.directPlayer,{fluid:!0,libraryLocation:"https://cdn.myth.theoplayer.com/05c92626-8179-4de8-9084-33fc0353df44"}),e.player.source={sources:[{src:e.videoSrc}]},e.player.autoplay=!0}))},modalClosed(){this.player=null,this.$emit("modal-closed",!0)}},mounted(){var e=this;e.$log("DIRECT STREAM MODAL MOUNTED")},props:{ratio:{type:Number,default:16/9},showVideo:{default:!1,required:!0,type:Boolean},video:{default:function(){return{}},required:!0,type:Object}},watch:{showVideo(e){var t=this;t.showModal=!!e}}},ak=sk,ik=(s("bff3"),Object(Ee["a"])(ak,ek,tk,!1,null,null,null)),ok=ik.exports;ze()(ik,"components",{QDialog:Re["a"],QCard:Ne["a"],QCardSection:Oe["a"],QResponsive:Oi["a"],QIcon:Ai["a"],QCardActions:Le["a"],QSpace:uc["a"],QBtn:De["a"]}),ze()(ik,"directives",{ClosePopup:Y["a"]});var rk=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-card",{staticClass:"full-height bg-dark-green cursor-pointer",attrs:{flat:!e.hovering,rounded:""},on:{click:function(t){return e.modalHighlightSnapshot(e.highlight)},mouseleave:e.out,mouseenter:e.over}},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"rounded-borders",attrs:{ratio:e.ratio,src:e.src,transition:"fade"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-dots",{attrs:{size:"0.5em",color:"brand-orange"}})]},proxy:!0}])},[s("div",{staticClass:"absolute-full"},[e.hovering?s("q-icon",{staticClass:"text-shadow",staticStyle:{opacity:"0.7"},attrs:{color:"brand-orange",size:"lg",name:"fas fa-camera"}}
1):e._e(),s("div",{staticClass:"absolute-bottom row"},[s("q-badge",{staticClass:"text-caption q-mx-md small-text",staticStyle:{opacity:"0.85"},attrs:{label:"HIGHLIGHT",color:"brand-orange","text-color":"white"}}),s("div",{staticClass:"col-12 q-mx-md q-pt-xs text-shadow"},[s("q-icon",{attrs:{name:"fas fa-user-circle"}}),s("span",{staticClass:"text-caption q-ml-xs q-mr-md"},[e._v("AFRICAM")]),e.captureDate?s("span",[s("q-icon",{attrs:{name:"fas fa-calendar-day"}}),s("span",{staticClass:"text-caption q-ml-xs q-mr-md",domProps:{textContent:e._s(e.captureDate)}})],1):e._e()],1),s("div",{staticClass:"col-12 q-pb-sm q-mx-md"},[s("div",{staticClass:"text-shadow text-subtitle2 wrap",domProps:{textContent:e._s(e.title)}})])],1)],1)])],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:e.resetShowSnapshot},model:{value:e.previewSnapshot,callback:function(t){e.previewSnapshot=t},expression:"previewSnapshot"}},[s("q-card",{style:e.imageWidth},[s("q-responsive",{attrs:{ratio:16/9}},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{ratio:16/9,src:e.src,transition:"fade"}})],1),s("q-card-actions",{staticStyle:{"min-width":"52px"},attrs:{align:"between"}},[s("div",{staticClass:"inline-block",domProps:{textContent:e._s(e.title)}}),s("q-space"),s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{flat:"",label:"CLOSE"}}),e.more?s("q-btn",{attrs:{to:{name:"photo-highlights"},color:"brand-orange"}},[e._v("More Highlights")]):e._e()],1)],1)],1)],1)},nk=[],lk={name:"SnapshotHighlight",computed:{captureDate(){var e=_.get(this.highlight,"created_ts",null);return!!_.isNumber(e)&&this.formatDate(1e3*e)},imageWidth(){var e=.9*this.$q.screen.width;this.$q.screen.height<500&&(e*=.7),this.$q.screen.height<300&&(e*=.8);var t=this.ratio;return this.$q.screen.width>1440?{minWidth:"1280px"}:{minHeight:e/t+52+"px",minWidth:e+"px"}},src(){return _.get(this.highlight,"storage_reference","")},title(){return _.get(this.highlight,"title","Highlight Snapshot")},views(){var e=_.get(this.highlight,"view_count",null);return this.kFormatter(e)}},data(){return{hovering:!1,snapshotSource:"",previewSnapshot:!1,snapshotDescription:""}},methods:{modalHighlightSnapshot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.$log("SHOW SNAPSHOT:",e),!_.isNil(e)&&_.isObject(e)){var t,s;this.previewSnapshot=!0;var a=_.get(e,"title","x"),i=(_.get(e,"stream.code","x"),_.get(e,"id","x")),o=null===(t=this.$router)||void 0===t||null===(s=t.currentRoute)||void 0===s?void 0:s.path;_.isEqual("/",o)&&(o="/home"),this.$trackPage({url:`${o}/photo-${i}-modal`,name:`view photo modal - ${a} (${i})`})}},out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)},resetShowSnapshot(){this.$log("HIDE SNAPSHOT"),this.snapshotSource="",this.previewSnapshot=!1,this.snapshotDescription=""}},mixins:[hi,mi],props:{highlight:{type:Object,required:!0,default(){return{}}},more:{type:Boolean,default:!1},ratio:{type:Number,default:16/9}}},ck=lk,dk=(s("2b6d"),Object(Ee["a"])(ck,rk,nk,!1,null,"862ed792",null)),uk=dk.exports;ze()(dk,"components",{QCard:Ne["a"],QImg:yi["a"],QIcon:Ai["a"],QBadge:Ir["a"],QSpinnerDots:mo["a"],QDialog:Re["a"],QResponsive:Oi["a"],QCardActions:Le["a"],QSpace:uc["a"],QBtn:De["a"]}),ze()(dk,"directives",{Ripple:K["a"],ClosePopup:Y["a"]});var hk=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:e.modalClosed},model:{value:e.showModal,callback:function(t){e.showModal=t},expression:"showModal"}},[s("q-card",{style:e.cardSize},[s("q-responsive",{attrs:{ratio:e.ratio}},[s("youtube",{attrs:{autoplay:"",previewImageSize:"hqdefault",src:e.videoSource}})],1),e.getIsSubscriber?e._e():s("q-card-section",{staticClass:"text-center q-pa-none"},[s("ad-responsive-horizontal-modal",{attrs:{classes:"absolute-center",width:e.adWidth}}),s("q-resize-observer",{ref:"adSlotResizer",attrs:{debounce:"100"},on:{resize:e.onResize}})],1),s("q-separator",{attrs:{dark:""}}),s("q-card-actions",[s("q-btn",{attrs:{size:"sm",color:"brand-orange",label:"View "+e.previewStream+" stream and chat",to:e.streamLink}}),s("q-space"),s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{flat:"",label:"CLOSE"}})],1)],1)],1)},mk=[],pk=Object(ce["a"])("user"),gk=pk.mapGetters,vk={name:"StreamModalComponent",computed:ne()(ne()({},gk(["getAuthenticated","getIsSubscriber"])),{},{cardSize(){return this.$q.screen.width>1024?{width:"970px",maxWidth:"80vw"}:{width:"728px",maxWidth:"95vw"}},previewStream(){return _.get(this,"stream.name","")},streamLink(){return`/wildlife/stream/${this.stream.slug}`},videoSource(){return`https://www.youtube.com/embed/${this.stream.youtube_id}
1?enablejsapi=1&rel=0&modestbranding=1&fs=1&autoplay=1&playsinline=1`}}),data(){return{adWidth:90,showModal:!1}},methods:{modalClosed(){this.$emit("modal-closed",!0)},onResize(e){this.$log("POPUP SLOT SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))}},props:{previewVideo:{default:!1,required:!0,type:Boolean},ratio:{type:Number,default:16/9},stream:{default:{slug:null},required:!0,type:Object}},watch:{previewVideo(e){if(this.showModal=this.previewVideo,e){var t,s,a=null===(t=this.$router)||void 0===t||null===(s=t.currentRoute)||void 0===s?void 0:s.path;_.isEqual("/",a)&&(a="/home"),this.$trackPage({url:`${a}/stream-${this.stream.slug}-modal`,name:`stream preview modal - ${this.previewStream}`})}}}},fk=vk,bk=Object(Ee["a"])(fk,hk,mk,!1,null,null,null),wk=bk.exports;ze()(bk,"components",{QDialog:Re["a"],QCard:Ne["a"],QResponsive:Oi["a"],QCardSection:Oe["a"],QResizeObserver:ho["a"],QSeparator:Go["a"],QCardActions:Le["a"],QBtn:De["a"],QSpace:uc["a"]}),ze()(bk,"directives",{ClosePopup:Y["a"]});var yk=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-card",{class:[e.cardClasses],attrs:{flat:!e.hovering,bordered:""},on:{click:e.showPreviewModal,mouseenter:e.over,mouseleave:e.out}},[s("q-responsive",{attrs:{ratio:e.ratio}},[s("q-img",{staticClass:"rounded-borders loading-placeholder",attrs:{ratio:e.ratio,src:e.previewImage,"no-default-spinner":e.hideLoader,basic:e.basic,transition:e.transition},on:{load:e.imageLoaded}},[s("div",{staticClass:"absolute-top",staticStyle:{"background-color":"transparent"}},[s("div",{staticClass:"float-right"},[s("q-spinner-radio",{directives:[{name:"show",rawName:"v-show",value:e.refreshing,expression:"refreshing"}],staticStyle:{opacity:"0.99"},attrs:{color:"white",size:"15px"}})],1)]),e.overlay&&!e.hideLabel?s("div",{staticClass:"absolute-bottom text-weight-bold q-pa-none",staticStyle:{"font-size":"0.6em"},style:{padding:e.width<190?"2px 5px":"4px 6px"}},[s("div",{staticClass:"row justify-between"},[s("div",{class:e.width>200?"col-8":"col-12"},[s("span",{staticClass:"text-uppercase",staticStyle:{"font-size":"1.5em"},style:{fontSize:e.width<190?"0.8em":""},domProps:{textContent:e._s(e.stream.name)}})])])]):e._e()]),s("q-resize-observer",{on:{resize:e.onResize}})],1),e.overlay||e.hideLabel?e._e():s("q-card-section",{staticClass:"bg-grey-2 q-pa-sm text-center"},[s("div",{staticClass:"q-my-none text-uppercase",domProps:{textContent:e._s(e.stream.name)}})])],1),s("stream-modal",{attrs:{stream:e.stream,"preview-video":e.showVideoModal},on:{"modal-closed":function(){return e.showVideoModal=!1}}})],1)},xk=[],qk={name:"StreamPreviewComponent",computed:{cacheKey(){return _.isNil(this.cacheDefeat)||this.imageLoading?"":"?nc="+this.cacheDefeat},previewImage(){var e=_.get(this.stream,"cover",""),t=(this.showSmallPreview,_.replace(e,"-sm",""));return t+this.cacheKey},secondsToReload(){return this.refresh-(this.currentTimeStamp-this.lastLoadTimeStamp)},statusUpdate(){var e,t;return null!==(e=null===this||void 0===this||null===(t=this.stream)||void 0===t?void 0:t.status_update)&&void 0!==e?e:""},streamHasStatus(){var e,t,s=null!==(e=null===this||void 0===this||null===(t=this.stream)||void 0===t?void 0:t.status_update)&&void 0!==e?e:null;return!(_.isNil(s)||_.isEmpty(s))},willRefresh(){return!!this.refresh}},data(){return{cacheDefeat:null,currentTimeStamp:null,hideLoader:!0,hovering:!1,imageLoading:!0,lastLoadTimeStamp:null,refreshStater:null,refreshing:!1,reloader:null,showSmallPreview:!0,showVideoModal:!1,timer:null,width:200}},destroyed(){this.showVideoModal=!1,clearTimeout(this.refreshStater),clearInterval(this.timer),clearInterval(this.reloader)},methods:{imageLoaded(e){this.imageLoading=!1,this.refreshing=!1},onResize(e){this.width=e.width,this.showSmallPreview=!_.isNil(e)&&e.width<400},out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)},showPreviewModal(){this.showPreview&&(this.showVideoModal=!0)},startRefresh(e){var t=this;t.updateCacheDefeat(),t.reloader=setInterval((function(){t.$set(t,"hideLoader",!0),t.$q.appVisible&&(t.updateCacheDefeat(),console.log("REFRESHED"))}),5e3*t.refresh)}
1,updateCacheDefeat(){this.refreshing=!0,this.$set(this,"cacheDefeat",this.noCache())},updateCurrentTime(){this.$set(this,"currentTimeStamp",this.$dayjs().unix())}},mixins:[hi],mounted(){var e=this;if(e.refresh>0){var t=5e3*e.randomIntFromInterval(0,120);e.refreshStater=setTimeout((function(){e.startRefresh(t)}),t)}e.timer=setInterval((function(){e.updateCurrentTime()}),1e3)},props:{basic:{type:Boolean,default:!0},cardClasses:{type:String,default:""},showPreview:{type:Boolean,default:!0},stream:{required:!0,type:Object,default:function(){return{code:"",name:"",preview:"",slug:"",youtube_id:""}}},hideLabel:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1},ratio:{type:Number,default:16/9},refresh:{type:Number,default:0},transition:{type:String,default:"none"}},watch:{cacheKey(e){this.$set(this,"lastLoadTimeStamp",this.$dayjs().unix())}}},_k=qk,Sk=(s("d619"),Object(Ee["a"])(_k,yk,xk,!1,null,null,null)),Ck=Sk.exports;ze()(Sk,"components",{QCard:Ne["a"],QResponsive:Oi["a"],QImg:yi["a"],QSpinnerRadio:Fm["a"],QResizeObserver:ho["a"],QCardSection:Oe["a"]});var Ak=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-card",{staticClass:"full-height bg-dark-green",attrs:{flat:!e.hovering,rounded:""},on:{click:function(t){return e.modalHighlightVideo(e.highlight)},mouseleave:e.out,mouseenter:e.over}},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{ratio:e.ratio,src:e.src,transition:"fade"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-dots",{attrs:{size:"0.5em",color:"brand-orange"}})]},proxy:!0}])},[s("div",{staticClass:"absolute-full"},[e.hovering?s("q-icon",{staticClass:"text-shadow q-pa-md",staticStyle:{opacity:"0.8"},attrs:{color:"brand-orange",size:"md",name:"fas fa-play-circle"}}):e._e(),e.hovering?s("div",{staticClass:"absolute-bottom-right q-pa-sm"},[s("video-actions-fab",{attrs:{video:e.highlight}})],1):e._e(),s("div",{staticClass:"absolute-bottom row"},[s("div",{staticClass:"col-10 row"},[s("div",{staticClass:"col-12 q-mx-md q-pt-xs text-shadow"},[e.captureDate?s("span",[s("q-icon",{attrs:{name:"fas fa-calendar-day"}}),s("span",{staticClass:"text-caption q-ml-xs q-mr-md",domProps:{textContent:e._s(e.captureDate)}})],1):e._e()]),s("div",{staticClass:"col-12 q-pb-sm q-mx-md"},[s("div",{staticClass:"text-shadow text-subtitle2 wrap",domProps:{textContent:e._s(e.title)}})])])])],1)])],1),s("q-dialog",{attrs:{"transition-show":"fade","transition-hide":"fade"},on:{hide:e.resetShowVideo},model:{value:e.previewVideo,callback:function(t){e.previewVideo=t},expression:"previewVideo"}},[s("q-card",{style:e.cardSize},[s("q-responsive",{attrs:{ratio:16/9}},[s("youtube",{attrs:{autoplay:"",previewImageSize:"hqdefault",src:e.videoSource}})],1),e.getIsSubscriber?e._e():s("q-card-section",{staticClass:"q-pa-none"},[s("q-resize-observer",{ref:"adSlotResizer",attrs:{debounce:"100"},on:{resize:e.onResize}})],1),s("q-card-actions",{staticStyle:{"min-width":"52px"},attrs:{align:"between"}},[s("div",{staticClass:"inline-block",domProps:{innerHTML:e._s(e.videoDescription)}}),s("q-space"),s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{flat:"",label:"CLOSE"}}),e.more?s("q-btn",{attrs:{to:{name:"video-highlights"},color:"brand-orange"}},[e._v("More Highlights")]):e._e()],1)],1)],1)],1)},kk=[],Tk=Object(ce["a"])("settings"),Pk=Tk.mapGetters,Ik=Object(ce["a"])("user"),$k=Ik.mapGetters,Ek={name:"VideoHighlight",components:{VideoActionsFab:Uh},computed:ne()(ne()(ne()({},Pk(["getIsInDebugMode"])),$k(["getAuthenticated","getIsSubscriber"])),{},{cardSize(){return this.$q.screen.width>1024?{width:"970px",maxWidth:"80vw"}:{width:"728px",maxWidth:"95vw"}},captureDate(){var e=_.get(this.highlight,"created_ts",null);return!!_.isNumber(e)&&this.formatDate(1e3*e)},duration(){var e=_.get(this.highlight,"duration",0);return!!_.isNumber(_.toNumber(e))&&this.sec2time(_.toNumber(e))},src(){return _.get(this.highlight,"cover","")},title(){return _.get(this.highlight,"title","Highlight Video")},views(){var e=_.get(this.highlight,"view_count",null);return this.kFormatter(e)}}),data(){return{adWidth:468,hovering:!1,videoSource:"",previewVideo:!1,videoDescription:""}},methods:{modalHighlightVideo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.$log("SHOW VIDEO:",e),!_.isNil(e)&&_.isObject(e)){var t,s,a=_.get(e,"youtube_id","");this.videoSource=this.playerUrl(a),this.previewVideo=!0,this.videoDescription=_.get(e,"description","");var i=_.get(e,"title","x"),o=_.get(e,"id","x"),r=null===(t=this.$router)||void 0===t||null===(s=t.currentRoute)||void 0===s?void 0:s.path;_.isEqual("/",r)&&(r="/home"),this.$trackPage({url:`${r}/video-${o}
1-modal`,name:`view highlight video modal - ${i} (${o}/${a})`})}},resetShowVideo(){this.$log("HIDE VIDEO"),this.videoSource="",this.previewVideo=!1,this.videoDescription=""},onResize(e){this.$log("POPUP SLOT SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))},out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)}},mixins:[hi,mi],props:{colour:{type:String,default:"brand-orange"},highlight:{type:Object,required:!0,default(){return{}}},label:{type:String,default:"HIGHLIGHT"},more:{type:Boolean,default:!1},ratio:{type:Number,default:16/9},showModal:{type:Boolean,default:!1}},watch:{showModal(e){e&&this.modalHighlightVideo(this.highlight)}}},Rk=Ek,Nk=(s("4a4b"),Object(Ee["a"])(Rk,Ak,kk,!1,null,"005e113f",null)),Ok=Nk.exports;ze()(Nk,"components",{QCard:Ne["a"],QImg:yi["a"],QBadge:Ir["a"],QIcon:Ai["a"],QSpinnerDots:mo["a"],QDialog:Re["a"],QResponsive:Oi["a"],QCardSection:Oe["a"],QResizeObserver:ho["a"],QCardActions:Le["a"],QSpace:uc["a"],QBtn:De["a"]}),ze()(Nk,"directives",{Ripple:K["a"],ClosePopup:Y["a"]});var Lk=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-card",{staticClass:"full-height",attrs:{flat:!e.hovering,dark:""},on:{mouseleave:e.out,mouseenter:e.over}},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"rounded-borders",attrs:{ratio:e.ratio,src:e.src,transition:"fade"}},[s("div",{staticClass:"absolute-full"},[e.hovering?s("q-icon",{staticClass:"text-shadow q-pa-md",staticStyle:{opacity:"0.8"},attrs:{color:"brand-orange",size:"md",name:"fas fa-play-circle"}}):e._e(),e.hovering?s("div",{staticClass:"absolute-bottom-right q-pa-sm"},[s("video-actions-fab",{attrs:{video:e.highlight}})],1):e._e(),s("div",{staticClass:"absolute-bottom row"},[e.label?s("q-badge",{staticClass:"text-caption q-mx-md small-text",staticStyle:{opacity:"0.85"},attrs:{label:e.label,color:e.labelColour,"text-color":"white"}}):e._e(),s("div",{staticClass:"col-12 q-mx-md q-pt-xs text-shadow"},[s("q-icon",{attrs:{name:"fas fa-user-circle"}}),s("span",{staticClass:"text-caption q-ml-xs q-mr-md"},[e._v("AFRICAM")]),e.captureDate?s("span",[s("q-icon",{attrs:{name:"fas fa-calendar-day"}}),s("span",{staticClass:"text-caption q-ml-xs q-mr-md",domProps:{textContent:e._s(e.captureDate)}})],1):e._e()],1),s("div",{staticClass:"col-12 q-pb-sm q-mx-md"},[s("div",{staticClass:"text-shadow text-subtitle2 wrap",domProps:{textContent:e._s(e.title)}}
1)])],1)],1)])],1)],1)},Dk=[],Vk={name:"LodgeHighlightPreview",components:{VideoActionsFab:Uh},computed:{cardSize(){return this.$q.screen.width>1024?{width:"970px",maxWidth:"80vw"}:{width:"728px",maxWidth:"95vw"}},captureDate(){var e=_.get(this.highlight,"created_ts",null);return!!_.isNumber(e)&&this.formatDate(1e3*e)},duration(){var e=_.get(this.highlight,"duration",0);return!!_.isNumber(_.toNumber(e))&&this.sec2time(_.toNumber(e))},src(){return _.get(this.highlight,"cover","")},title(){return _.get(this.highlight,"title","Highlight Video")},views(){var e=_.get(this.highlight,"view_count",null);return this.kFormatter(e)}},data(){return{hovering:!1,videoDescription:""}},methods:{out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)}},mixins:[hi,mi],props:{highlight:{type:Object,required:!0,default(){return{}}},label:{type:String,default:null},labelColour:{type:String,default:"brand-orange"},more:{type:Boolean,default:!1},ratio:{type:Number,default:16/9}}},zk=Vk,Mk=(s("338f"),Object(Ee["a"])(zk,Lk,Dk,!1,null,"0947afcd",null)),jk=Mk.exports;ze()(Mk,"components",{QCard:Ne["a"],QImg:yi["a"],QBadge:Ir["a"],QIcon:Ai["a"]}),ze()(Mk,"directives",{Ripple:K["a"]});var Qk=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"inline-block"},[s("q-icon",{attrs:{name:"far fa-clock"}}),s("span",{staticClass:"q-pl-xs",domProps:{textContent:e._s(e.currentLocalTime)}})],1)},Uk=[],Fk={name:"LocalTimeComponent",computed:{currentLocalTime(){return this.localTime}},created(){var e=this;e.$set(e,"localTime",e.$dayjs.utc().add(2,"hour").format("h:mm A")),e.timer=setInterval((function(){e.$set(e,"localTime",e.$dayjs.utc().add(2,"hour").format("h:mm A"))}),1e3)},data(){return{timer:null,localTime:""}}},Bk=Fk,Hk=Object(Ee["a"])(Bk,Qk,Uk,!1,null,null,null),Gk=Hk.exports;ze()(Hk,"components",{QIcon:Ai["a"]});var Wk=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-dialog",{attrs:{"no-backdrop-dismiss":"","transition-hide":"scale","transition-show":"scale"},on:{hide:e.closeSnapshot,update:e.onUpdate},model:{value:e.showSnapShot,callback:function(t){e.showSnapShot=t},expression:"showSnapShot"}},[s("q-card",{staticClass:"relative-position",style:e.imageWidth},[e.snapshotSaved?e._e():s("q-card-actions",{},[s("div",{staticClass:"flex col-11 justify-end"},[s("q-radio",{attrs:{color:"brand-orange",val:"animal",label:"Animal"},on:{input:e.resetSelection},model:{value:e.animalOrBirdSelected,callback:function(t){e.animalOrBirdSelected=t},expression:"animalOrBirdSelected"}}),s("q-radio",{attrs:{color:"brand-orange",val:"bird",label:"Bird"},on:{input:e.resetSelection},model:{value:e.animalOrBirdSelected,callback:function(t){e.animalOrBirdSelected=t},expression:"animalOrBirdSelected"}})],1),s("div",{staticClass:"row w-100 q-pa-sm"},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right q-pa-sm",attrs:{name:"fas fa-times",size:"sm"}}),e.isGame?s("div",{staticClass:"col-4 q-pa-none",class:e.$q.screen.width<700?"col-4":"col-7"},[e.$q.screen.width>700?s("q-img",{staticClass:"afritag-logo",attrs:{"no-default-spinner":"",src:"/images/afritag-logo.svg"}}):e._e()],1):e._e(),e.isGame?s("div",{class:e.$q.screen.width<700?"col-12 q-pr-lg":"col-5 q-pr-lg"},[e.newSpecieMode?["animal"===e.animalOrBirdSelected?s("q-input",{ref:"newSpecieInput",attrs:{dense:e.dense,"options-dense":e.denseOpts,label:"Identify New Specie",placeholder:"Animal Name",debounce:"250","lazy-rules":!0,rules:[e.checkAnimalNotInList],hint:"Type your new africam species above"},model:{value:e.animalSelection,callback:function(t){e.animalSelection=t},expression:"animalSelection"}}):s("q-input",{ref:"newSpecieInput",attrs:{dense:e.dense,"options-dense":e.denseOpts,label:"Identify New Specie",placeholder:"Animal Name",debounce:"250","lazy-rules":!0,rules:[e.checkAnimalNotInList],hint:"Type your new africam species above"},model:{value:e.birdSelection,callback:function(t){e.birdSelection=t},expression:"birdSelection"}})]:["animal"===e.animalOrBirdSelected?s("q-select",{attrs:{color:"brand-orange",dense:e.dense,behavior:"menu",filled:"","use-chips":"","use-input":"",size:"md",label:"Select an Animal","input-debounce":"150",options:e.animalFilterOptions,"option-value":"id","option-label":"name"},on:{filter:e.filterAnimalsFn,"filter-abort":e.abortFilterFn},scopedSlots:e._u([this.$q.screen.width>800?{key:"before",fn:function(){return[e.getAuthenticated?s("q-avatar",{attrs:{size:"40px"}},[s("img",{staticClass:"profile-photo",attrs:{src:e.currentUser.avatar},on:{error:function(e){e.target.src="/images/africam-avatar.jpg"}}}
1)]):e._e()]},proxy:!0}:null,{key:"no-option",fn:function(){return[s("q-item",[s("q-item-section",{staticClass:"text-grey"},[e._v("\n                      No results\n                    ")])],1)]},proxy:!0}],null,!0),model:{value:e.animalSelection,callback:function(t){e.animalSelection=t},expression:"animalSelection"}}):s("q-select",{attrs:{color:"brand-orange",dense:e.dense,behavior:"menu",filled:"","use-chips":"","use-input":"",size:"md",label:"Select a Bird","input-debounce":"150",options:e.birdFilterOptions,"option-value":"id","option-label":"name"},on:{filter:e.filterBirdsFn,"filter-abort":e.abortFilterFn},scopedSlots:e._u([this.$q.screen.width>800?{key:"before",fn:function(){return[e.getAuthenticated?s("q-avatar",{attrs:{size:"40px"}},[s("img",{staticClass:"profile-photo",attrs:{src:e.currentUser.avatar},on:{error:function(e){e.target.src="/images/africam-avatar.jpg"}}})]):e._e()]},proxy:!0}:null,{key:"no-option",fn:function(){return[s("q-item",[s("q-item-section",{staticClass:"text-grey"},[e._v("\n                      No results\n                    ")])],1)]},proxy:!0}],null,!0),model:{value:e.birdSelection,callback:function(t){e.birdSelection=t},expression:"birdSelection"}})]],2):e._e()],1)]),e.streamIsDown?s("q-card-section",{staticClass:"text-center"},[e._v("\n          There are currently no photos available for this stream - please try another camera\n      ")]):e._e(),e.snapshotSaved?e._e():s("q-card-section",{attrs:{horizontal:""}},[s("q-card-actions",[this.$q.screen.width>600?s("q-btn",{attrs:{flat:"",size:"l",round:"",icon:"fas fa-step-backward",color:"brand-orange"},on:{click:e.scrubDown}}):e._e()],1),s("q-img",{ref:"snapshot",attrs:{transition:"scale",src:e.currentSnapshot,ratio:16/9},on:{load:e.snapShotLoaded},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-radio",{staticStyle:{opacity:"0.7"},attrs:{color:"brand-orange",size:"2em"}})]},proxy:!0}],null,!1,2266854776)}),s("q-card-actions",[this.$q.screen.width>600?s("q-btn",{attrs:{flat:"",size:"l",round:"",icon:"fas fa-step-forward",color:"brand-orange"},on:{click:e.scrubUp}}):e._e()],1)],1),this.$q.screen.width<600?s("q-card-section",{staticClass:"q-pt-sm q-pb-sm"},[e.snapshotSaved?e._e():s("q-card-actions",{attrs:{align:"center"}},[s("q-btn",{staticClass:"q-pr-xl",attrs:{flat:"",size:"l",round:"",icon:"fas fa-step-backward",color:"brand-orange"},on:{click:e.scrubDown}}),this.$q.screen.width<600?s("q-btn",{attrs:{flat:"",size:"l",round:"",icon:"fas fa-step-forward",color:"brand-orange"},on:{click:e.scrubUp}}):e._e()],1)],1):e._e(),e.snapshotSaved&&e.isGame?s("q-card-section",{staticClass:"q-pa-sm"},[s("div",{class:e.$q.screen.width<500?"row q-pa-none":"row q-pa-md"},["animal"===e.animalOrBirdSelected?[s("div",{staticClass:"col-6 text-h5 text-bold text-uppercase ellipsis"},[s("span",{domProps:{textContent:e._s(e.animalLabel)}}),s("div",{staticClass:"text-caption text-grey-7 text-bold text-uppercase ellipsis"},[s("span",{domProps:{textContent:e._s(e.animalSpecies)}})])])]:[s("div",{staticClass:"col-6 text-h5 text-bold text-uppercase ellipsis"},[s("span",{domProps:{textContent:e._s(e.birdLabel)}}),s("div",{staticClass:"text-caption text-grey-7 text-bold text-uppercase ellipsis"},[s("span",{domProps:{textContent:e._s(e.birdSpecies)}})])])],s("div",{staticClass:"col-6 text-h5 ellipsis text-right"},[s("q-icon",{staticClass:"filter-brand-orange",attrs:{size:"xl",name:e.animalIconName}})],1)],2),s("div",{staticClass:"q-pl-xl q-pr-xl"},[s("q-img",{ref:"snapshot",attrs:{transition:"scale",src:e.currentSnapshot,ratio:16/9},on:{load:e.snapShotLoaded},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-radio",{staticStyle:{opacity:"0.5"},attrs:{color:"green-2",size:"2em"}})]},proxy:!0}],null,!1,1244782936)})],1),s("div",{staticClass:"row q-pt-md q-pl-md q-pr-md"},[s("div",{class:e.$q.screen.width<500?"col-6 text-left":"col-5 text-left"},[s("q-chip",{staticClass:"q-pl-sm",attrs:{square:""}},[s("q-avatar",{attrs:{color:e.rarityColor(this.afritagPoints)}},[s("span",{staticClass:"text-white",domProps:{textContent:e._s(e.ratingModel)}})]),s("div",{domProps:{textContent:e._s(e.rarityMessage(this.afritagPoints))}})],1)],1),s("div",{class:e.$q.screen.width<500?"col-6 text-right":"col-7 text-right"},[s("div",{staticClass:"text-bold"},[e._v("Location:")]),s("div",{domProps:{textContent:e._s(e.stream.name)}})])]),s("div",{staticClass:"row q-pt-sm q-pl-md q-pr-md q-pb-none"},[s("div",{staticClass:"col-sm-12 col-md-6"},[s("span",{staticClass:"text-bold"},[e._v(" This species tagged by you: ")]),s("span",{domProps:{textContent:e._s(e.animalCount)}})]),s("div",{staticClass:"col-sm-12 col-md-6 text-right"},[s("span",{staticClass:"text-bold"},[e._v(" SafariSnap Points: ")]),s("span",{domProps:{textContent:e._s(e.afritagPoints)}}
1)])])]):e._e(),e.snapshotSaved?e._e():s("q-card-actions",{staticStyle:{"min-height":"88px"}},[s("div",{staticClass:"row full-width relative-position"},[s("div",{class:e.getAuthenticated?"col-xs-12 col-sm-6 q-pl-md":"col-xs-12 col-sm-12 q-pl-md"},[e.snapShotLoading?s("div",[e.isGame&&this.$q.screen.width>800?s("div",{staticClass:"q-pt-md text-caption absolute-center"},[e._v("\n                Your SafariSnap is being generated …\n              ")]):e._e(),!e.isGame&&this.$q.screen.width>800?s("div",{staticClass:"q-pt-md text-caption absolute-center"},[e._v("\n                Your photo is being taken …\n              ")]):e._e()]):s("transition",{attrs:{"enter-active-class":"animated fadeIn"}},[e.snapShotSaving||e.savingToServer?s("div",[e.savingToServer?s("div",{staticClass:"q-mt-lg text-center relative-position"},[s("div",{staticClass:"text-subtitle1"},[e._v("Validating Snapshot.")])]):s("div",[s("q-linear-progress",{staticClass:"q-mt-md",attrs:{value:e.uploadProgress,color:"brand-orange",rounded:"",size:"36px","track-color":"grey-5"}},[s("div",{staticClass:"absolute-full flex flex-center"},[s("q-badge",{attrs:{color:"white","text-color":"grey-10",label:e.uploadProgressLabel}})],1)])],1)]):s("div",[e.shouldShowSafariSnapCTA?s("q-input",{ref:"description",attrs:{dense:e.dense,autofocus:"",color:"brand-orange",placeholder:"Describe your photo. (Optional)"},model:{value:e.snapShotTitle,callback:function(t){e.snapShotTitle=t},expression:"snapShotTitle"}}):s("div",{staticClass:"q-mt-sm text-subtitle1"},[e.isGame&&e.snapShotLoaded?s("div",{staticClass:"text-caption"},[e._v("\n                    You need to subscribe to play. Join us for a free two-week\n                    trial.\n                  ")]):e._e(),!e.isGame&&e.snapShotLoaded?s("div",{staticClass:"text-caption"},[e._v("\n                    You need to subscribe to save your photo. Join us for a two week free trial\n                  ")]):e._e(),!e.isGame&&e.snapShotLoaded?s("q-btn",{attrs:{to:{name:"subscribe"},size:"md",color:"brand-orange"}},[e._v("SUBSCRIBE")]):e._e(),e.isGame&&e.snapShotLoaded?s("q-btn",{attrs:{to:{name:"subscribe"},size:"md",color:"brand-orange"}},[e._v("FREE TRIAL")]):e._e()],1)],1)]),s("div",{staticStyle:{display:"none"},attrs:{id:"snapshot-form"}})],1),e.getAuthenticated?s("div",{staticClass:"col-xs-12 col-sm-6 text-right q-pr-md q-pt-md"},[e.snapShotLoading?e._e():s("div",{class:e.$q.screen.width<330?"text-center":"",staticStyle:{"min-height":"56px"}},[e.shouldShowSafariSnapCTA?s("q-btn",{class:e.$q.screen.width<330?"q-mt-md":"",attrs:{disable:e.snapShotSaving||e.savingToServer,loading:e.snapShotSaving||e.savingToServer,color:"brand-orange",label:(e.$q.screen.gt.md,"SAVE")},on:{click:e.saveSnapshot},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-facebook",{staticClass:"q-mr-xs"})]},proxy:!0}],null,!1,2399270025)}):e._e()],1)]):e._e()]),e.isGame?s("div",{staticClass:"text-caption text-center q-pt-md"},[s("span",{staticClass:"text-bold q-pl-md"},[e._v("TIP:")]),e._v("\n          Should you not know the species, try downloading our\n          "),s("q-btn",{staticClass:"link-underline",attrs:{flat:"",size:"10px",type:"a",href:"https://animal-images-a-z.s3.eu-west-2.amazonaws.com/africam_identity_kit_compressed.pdf",target:"_blank"}},[s("span",{staticClass:"text-underline"},[e._v("SafariSnap Animals Identity Kit")])])],1):e._e()]),e.snapshotSaved?s("q-card-actions",[s("div",{staticClass:"row full-width relative-position q-mt-none"},[s("div",{class:e.$q.screen.width<500?"col-6 text-left":"col-3 text-left"},[s("q-btn",{staticClass:"q-mr-sm",attrs:{"no-caps":"",flat:"",size:"md"},on:{click:e.doShowEditDialog}},[s("span",{staticClass:"link-underline"},[e._v("UPDATE SNAPSHOT")])])],1),s("div",{class:e.$q.screen.width<500?"col-6 text-left":"col-3 text-left"},[s("q-btn",{staticClass:"q-mr-sm",attrs:{"no-caps":"",flat:"",to:{name:"profile",params:{section:"tags"}},size:"md"}},[s("span",{staticClass:"link-underline"},[e._v("VIEW YOUR TAGS")])])],1),s("div",{class:e.$q.screen.width<500?"col-6 text-right":"col-3 text-center"},[s("q-btn",{staticClass:"q-mr-sm",attrs:{"no-caps":"",flat:"",to:{name:"leaderboard"},size:"md"}}
1,[s("span",{staticClass:"link-underline"},[e._v("VIEW LEADERBOARD")])])],1),s("div",{class:e.$q.screen.width<500?"col-xs-12 col-sm-3 text-right":"col-3 text-right"},[e.snapShotSaving||e.savingToServer?e._e():s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"q-mr-md text-grey-6",attrs:{size:e.$q.screen.lt.md?"sm":"md",flat:"",label:"CLOSE"},on:{click:function(t){e.showSnapShot=!1}}})],1)])]):e._e()],1),s("snapshot-edit-dialog",{attrs:{snapshot:e.photoToUpdate,isGame:e.isGame,stream:e.stream},model:{value:e.showEditSnapShot,callback:function(t){e.showEditSnapShot=t},expression:"showEditSnapShot"}})],1)},Yk=[],Kk=Object(ce["a"])("user"),Zk=Kk.mapGetters,Jk=Object(ce["a"])("animals"),Xk=Jk.mapGetters,eT={name:"SnapshotComponent",components:{SnapshotEditDialog:Hm},computed:ne()(ne()(ne()({},Zk(["getAuthenticated","getIsSubscriber","getUser"])),Xk(["animals","birds"])),{},{animalIconName(){var e="";return e="animal"===this.animalOrBirdSelected?this.animalSelection.name.replace(/\s+/g,"-").toLowerCase():this.birdSelection.name.replace(/\s+/g,"-").toLowerCase(),this.$data.isNotInDatabase?"fa fa-question":`${this.animalAvatarPath(e)}`},shouldShowSafariSnapCTA(){var e=this;return e.isGame,e.getIsSubscriber},currentUser(){return this.getUser},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"50%"}:{minWidth:"90%"}},animalLabel(){var e,t,s;return _.isNil(this.$data.animalSelection)?"":_.isObject(this.$data.animalSelection)?`${null===(s=this.$data.animalSelection)||void 0===s?void 0:s.name}`:_.isString(this.$data.animalSelection)?`${this.$data.animalSelection}`:null!==(e=null===(t=this.$data.animalSelection)||void 0===t?void 0:t.name)&&void 0!==e?e:this.$data.animalSelection},animalSpecies(){var e;return null===(e=this.animalSelection)||void 0===e?void 0:e.scientific_name},birdLabel(){var e,t,s;return _.isNil(this.$data.birdSelection)?"":_.isObject(this.$data.birdSelection)?`${null===(s=this.$data.birdSelection)||void 0===s?void 0:s.name}`:_.isString(this.$data.birdSelection)?`${this.$data.birdSelection}`:null!==(e=null===(t=this.$data.birdSelection)||void 0===t?void 0:t.name)&&void 0!==e?e:this.$data.birdSelection},birdSpecies(){var e;return null===(e=this.birdSelection)||void 0===e?void 0:e.scientific_name},cardSize(){return this.$q.screen.width,{width:"100%",maxWidth:"63em"}},currentSnapshot(){return this.snapshot&&this.snapshot.src?this.snapshot.src:""},saveBtnLabel(){return this.snapShotSaving?"Saving":"Save Snapshot"},uId(){return _.get(this,"getUser.id","00")},uploadProgress(){return this.progress/100},uploadProgressLabel(){return this.requestingUploadLink?"STARTING UPLOAD":Math.round(this.progress)+"%"},newSpecieModeButtonLabel(){return this.newSpecieMode?"Animal List":"Animal Not Here"},newSpecieModeButtonIcon(){return this.newSpecieMode?"fa fa-paw":"fa fa-question"},storeAnimals(){return this.animals},dropDownAnimals(){return this.animals},storeBirds(){return this.birds},dropDownBirds(){return this.birds}}),data(){return{showEditSnapShot:!1,adWidth:90,animalCount:0,dropzone:null,progress:10,requestingUploadLink:!1,requestingSnapshots:!1,s3Path:"",saved:!1,savingToServer:!1,showSnapShot:!1,snapshot:null,streamSnapshots:[],currentSnapshotIndex:0,snapShotSaving:!1,snapShotTitle:"",snapShotLoading:!1,snapshotURL:null,animalOrBirdSelected:"animal",animalOptions:null,animalFilterOptions:null,animalSelection:null,fetchingAnimalOptions:!1,birdOptions:null,birdFilterOptions:null,birdSelection:null,fetchingBirdOptions:!1,isNewSpecie:!1,isNotInDatabase:!1,streamIsDown:!1,ratingModel:6,afritagPoints:0,snapshotSaved:!1,newSpecieMode:!1,dense:!0,denseOpts:!1,photoToUpdate:null,showUpdateDialog:null}},destroyed(){this.$emit("hide",!0),this.resetSnapshot(),this.$log("SNAPSHOT DESTORYED")},methods:{onUpdate(e){var t=this;t.animalSelection=_.get(e,"animal"),t.ratingModel=_.get(e,"animal.rarity_value",0)/10,t.afritagPoints=_.get(e,"animal.rarity_value",0),t.animalCount=_.get(e,"animalCount",0)},doShowEditDialog(){this.$emit("edit",this.$data.photoToUpdate)},createValue(e,t){e.length>0&&"animal"===this.animalOrBirdSelected&&!1===this.fetchingAnimalOptions&&(this.animalOptions.includes(e)||this.animalOptions.push(e),t(e,"toggle")),e.length>0&&"bird"===this.animalOrBirdSelected&&!1===this.fetchingAnimalOptions&&(this.animalOptions.includes(e)||this.animalOptions.push(e),t(e,"toggle"))},fetchStreamSnapshots(){var e=this;e.requestingSnapshots=!0,console.log("FETCHING SNAPSHOTS FOR "),console.log(e.stream),e.$axios.get(`/api/streams/snapshots/${e.stream.code}`).then((function(t){var s=t.data;e.$log("SNAPSHOTS FETCHED"),e.$log(_.get(s,"data.stream_images")),e.$data.streamSnapshots=_.get(s,"data.stream_images"),e.openSnapsh
1ot&&e.takeSnapshot(!1),Array.isArray(_.get(s,"data.stream_images"))&&0===_.get(s,"data.stream_images").length&&(console.log("No data entries in the array"),e.streamIsDown=!0)})).finally((function(){e.requestingSnapshots=!1}))},buildSnapshotURL(){var e,t,s,a,i=this,o=i.$dayjs().utc().subtract(40,"s"),r=(i.$dayjs().utc().subtract(40,"s").add(1,"s").format("YYYY-MM-DD-HH-mm-ss"),i.$dayjs().utc().subtract(40,"s").subtract(1,"s").format("YYYY-MM-DD-HH-mm-ss"),!1),n=i.$data.streamSnapshots.filter((function(e,t){var s=i.$dayjs.utc(e.file_time,"YYYY-MM-DD-HH-mm-ss"),a=s.diff(o,"second");return!r&&a>0&&a<=2&&(r=!0,i.$data.currentSnapshotIndex=t,!0)}));return _.first(n)?i.getIsSubscriber?null===(e=_.first(n))||void 0===e?void 0:e.s3_url:null===(t=_.first(n))||void 0===t?void 0:t.s3_url:(i.$data.currentSnapshotIndex=_.size(i.$data.streamSnapshots)-1,i.getIsSubscriber?null===(s=_.last(i.$data.streamSnapshots))||void 0===s?void 0:s.s3_url:null===(a=_.last(i.$data.streamSnapshots))||void 0===a?void 0:a.s3_url)},checkAnimalNotInList(e){"animal"===this.animalOrBirdSelected?this.checkForAnimals(e):this.checkForBirds(e)},checkForAnimals(e){var t,s=this;s.$refs.newSpecieInput;console.log("Checking Animal In List");var a=null!==(t=e.toLowerCase())&&void 0!==t?t:"";if(!_.isEmpty(s.$data.animalOptions)){var i=s.$data.animalOptions.filter((function(e){return e.name.toLowerCase().indexOf(a)>-1}));return console.log({results:i}),1!=i.length||`This Could be a possible duplicate of ${i[0].name}`}s.fetchingAnimalOptions=!0,s.$axios.get("api/animals").then((function(e){s.animalOptions=s.storeAnimals,s.animalFilterOptions=s.storeAnimals})).catch((function(e){s.$log("ERROR FETCHING ANIMALS",e)})).finally((function(){s.$data.fetchingAnimalOptions=!1;var e=s.$data.animalOptions.filter((function(e){return e.name.toLowerCase().indexOf(a)>-1}));return 1!=e.length||`This Could be a possible duplicate of ${e[0].name}`}))},checkForBirds(e){var t,s=this;s.$refs.newSpecieInput;console.log("Checking Birds In List");var a=null!==(t=e.toLowerCase())&&void 0!==t?t:"";if(!_.isEmpty(s.$data.animalOptions)){var i=s.$data.birdOptions.filter((function(e){return e.name.toLowerCase().indexOf(a)>-1}));return console.log({results:i}),1!=i.length||`This Could be a possible duplicate of ${i[0].name}`}s.fetchingBirdOptions=!0,s.$axios.get("api/birds").then((function(e){s.birdOptions=s.storeBirds,s.birdFilterOptions=s.storeBirds})).catch((function(e){s.$log("ERROR FETCHING BIRDS",e)})).finally((function(){s.$data.fetchingBirdOptions=!1;var e=s.$data.birdOptions.filter((function(e){return e.name.toLowerCase().indexOf(a)>-1}));return 1!=e.length||`This Could be a possible duplicate of ${e[0].name}`}))},setNewSpecieMode(e){this.$data.newSpecieMode=e,this.$data.animalSelection=null},closeSnapshot(){this.$emit("hide",!0),this.showSnapShot=!1,this.resetSnapshot(),this.$log("SNAPSHOT CLOSED")},scrub(e){var t,s=this;console.log(s.$data.currentSnapshotIndex);var a=s.$data.currentSnapshotIndex+e>=0?s.$data.currentSnapshotIndex+e:_.size(s.$data.streamSnapshots)-1,i=_.get(s.$data.streamSnapshots,a,!1);if(s.snapShotSaving||s.savingToServer||s.snapShotLoading)return!1;_.isObject(i)?(s.$data.currentSnapshotIndex=a,t=new Image,t.src=(s.getIsSubscriber,null===i||void 0===i?void 0:i.s3_url),t.crossOrigin="Anonymous"):(s.$data.currentSnapshotIndex=0,t=new Image,t.src=(s.getIsSubscriber,null===i||void 0===i?void 0:i.s3_url),t.crossOrigin="Anonymous"),s.$log(t.src),t.onload=function(e){s.$log("SCRUBBED SNAP")},t.onerror=function(t){s.$log("SCRUBBED SNAP ERROR JUMPING TO NEXT"),s.scrub(e)},s.snapshot=t,s.$log("SNAPSHOT UPDATED")},scrubUp(){var e=this;return e.scrub(1)},scrubDown(){var e=this;return e.scrub(-1)},doLogin(){this.closeSnapshot(),le["a"].$emit("doSignInUp",!0)},getImageAsBlob(e){return new Promise((function(t){var s=document.createElement("canvas");s.width=e.width,s.height=e.height;var a=s.getContext("2d");a.drawImage(e,0,0),s.toBlob(t,"image/jpeg",1)}))},onResize(e){this.$log("POPUP SLOT SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))},resetSnapshot(){this.progress=10,this.s3Path="",this.saved=!1,this.saved=!1,this.streamIsDown=!1,this.snapShotSaving=!1,this.snapShotTitle="",this.snapshotURL="",this.animalSelection=null,this.birdSelection=null,this.snapshotSaved=!1,this.ratingModel=0,this.afritagPoints=0,this.animalCount=0,this.isNewSpecie=!1,this.isNotInDatabase=!1,this.newSpecieMode=!1},saveSnapshot(){var e=this;if(e.isGame&&_.isNil(e.animalSelection||_.isNil(e.birdSelection)))return e.$q.notify({message:"Please select an animal or bird.",type:"warning"}),void e.$refs.description.focus();this.$log("SAVING SNAPSHOT"),e.snapShotSaving=!0,e.getImageAsBlob(e.snapshot).then((function(t){console.log("Blob:",t),e.dropzone.addFile(t)}))},snapShotLoaded(){this.snapShotLoading=!1},checkIfSnapshotOnly(){this.isGame||this.closeSnapshot()},takeSnapshot(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],s=this;s.$log("TAKING SNAPSHOT:",this.stream.name),s.snapShotLoading=!0,s.showSnapShot=!0,this.$nextTick((function(){t&&(s.dropzone=new Rm.a("#snapshot-form",{url:"#",method:"put",autoQueue:!1,autoProcessQueue:!1,init:function(){this.on("addedfile",(function(e){s.$log("Added File"),s.$log(e);var t=s.$dayjs().format("YYYY"),a=s.$dayjs().format("M"),i=s.$dayjs().format("D"),o=s.stream.slug,r=s.$dayjs().valueOf(),n=s.uId,l=`${n}-${o}-${r}`;s.requestingUploadLink=!0,s.$axios.get(`/api/s3-url?&name=snapsh
1ots/${t}/${a}/${i}/${n}/${l}.jpg`).then((function(t){var a=t.data,i="";if(!_.isNil(a)&&_.has(a,"url")&&_.isString(a.url)){var o=a.url.split("?");_.isArray(o)&&o.length&&(i=_.first(o))}s.s3Path=i,s.dropzone.options.url=a.url,e.additionalData=a.additionalData,s.dropzone.processFile(e)})).finally((function(){s.requestingUploadLink=!1}))})),this.on("sending",(function(e,t,s){t.timeout=99999999})),this.on("totaluploadprogress",(function(e){s.progress=e})),this.on("success",(function(e){s.$log("UPLOAD SUCCESS"),s.snapShotSaving=!1,s.updateServer()}))},sending:function(e,t){var s=t.send;t.send=function(){s.call(t,e)}}}),s.dropzone.on("addedfile",(function(e){s.$log("FILE ADDED")}))),s.snapshot=new Image,s.snapshot.src=e.buildSnapshotURL(),s.snapshot.crossOrigin="Anonymous",s.snapshot.onload=function(){s.$log("SNAPSHOT LOADED")}}))},updateServer(){var e,t,s=this,a=this;a.savingToServer=!0;var i=null!==(e=_.get(a,"animalSelection",""))&&void 0!==e?e:_.get(a,"birdSelection","");a.$axios.post("/api/photo",{title:_.get(a,"snapShotTitle",""),stream_id:_.get(a,"stream.id",""),storage_reference:_.get(a,"s3Path",null),animal:i,is_afritag:null!==(t=a.$props.isGame)&&void 0!==t&&t}).then((function(e){var t;a.$log("SNAPSHOT SAVE TO SERVER ",e),s.$emit("saved",!0),a.saved=!0,a.snapShotTitle="",a.$data.snapshotSaved=!0,a.$data.photoToUpdate=_.get(e,"data.data.photo",0),a.$data.ratingModel=_.get(e,"data.data.photo.animal.rarity_value",0)/10,a.$data.afritagPoints=_.get(e,"data.data.photo.animal.rarity_value",0),a.$data.animalCount=_.get(e,"data.data.animalCount",0),a.$data.photoToUpdate.animalCount=_.get(e,"data.data.animalCount",0),a.$data.isNewSpecie=(null!==(t=null===i||void 0===i?void 0:i.id)&&void 0!==t?t:0)>0&&1==a.$data.animalCount,a.$data.isNotInDatabase=!a.$data.isNewSpecie&&1==a.$data.animalCount,a.checkIfSnapshotOnly()})).catch((function(e){a.$log("SNAPSHOT SAVE TO SERVER FAILED",e)})).finally((function(){a.savingToServer=!1}))},resetSelection(e,t){"animal"===this.animalOrBirdSelected?this.birdSelection=null:this.animalSelection=null},filterAnimalsFn(e,t,s){var a=this,i=this;i.$log(this.animalOptions),null===this.dropDownAnimals||t((function(){if(""===e)a.animalFilterOptions=a.dropDownAnimals;else{var t=e.toLowerCase();a.animalFilterOptions=a.dropDownAnimals.filter((function(e){return e.name.toLowerCase().indexOf(t)>-1}))}}))},filterBirdsFn(e,t,s){var a=this,i=this;i.$log(this.birdOptions),null===this.dropDownBirds||t((function(){if(""===e)a.birdFilterOptions=a.dropDownBirds;else{var t=e.toLowerCase();a.birdFilterOptions=a.dropDownBirds.filter((function(e){return e.name.toLowerCase().indexOf(t)>-1}))}}))},abortFilterFn(){}},mixins:[hi],mounted(){var e=this;e.resetSnapshot(),le["a"].$on("hideSnapshotDialogs",(function(t){console.info("===================="),console.log("EVENT EMITTED"),console.info("===================="),console.log({props:t}),e.closeSnapshot(),e.showSnapShot=!1}))},props:{openSnapshot:{type:Boolean,default:!1},isGame:Boolean,stream:{type:Object,default:{}}},watch:{openSnapshot(e){if(this.resetSnapshot(),this.fetchStreamSnapshots(),e){var t=_.get(this,"stream.code","x");this.$trackPage({url:this.$router.currentRoute.path+`/snapshot-${t}-modal`,name:`snapshot - ${t}`}),this.takeSnapshot()}}}},tT=eT,sT=(s("b51c"),s("5cc8"),Object(Ee["a"])(tT,Wk,Yk,!1,null,null,null)),aT=sT.exports;ze()(sT,"components",{QDialog:Re["a"],QCard:Ne["a"],QCardActions:Le["a"],QRadio:xc["a"],QIcon:Ai["a"],QImg:yi["a"],QInput:Bo["a"],QSelect:zr["a"],QAvatar:Ol["a"],QItem:vr["a"],QItemSection:fr["a"],QCardSection:Oe["a"],QBtn:De["a"],QSpinnerRadio:Fm["a"],QChip:Ll["a"],QResizeObserver:ho["a"],QLinearProgress:vw["a"],QBadge:Ir["a"],QSpinnerFacebook:Ho["a"]}),ze()(sT,"directives",{ClosePopup:Y["a"]});var iT=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-card",{staticClass:"full-height bg-dark-green cursor-pointer",attrs:{flat:!e.overPreview,rounded:""},on:{click:function(t){return e.modalPhoto(e.photo)},mouseleave:function(t){return e.out()},mouseenter:function(t){return e.over()}}},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"rounded-borders",attrs:{ratio:e.ratio,src:e.src,transition:"fade"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-dots",{attrs:{size:"0.5em",color:"brand-orange"}})]},proxy:!0}])},[s("div",{staticClass:"absolute-full"},[e.overPreview?s("q-icon",{staticClass:"text-shadow q-pa-md",staticStyle:{opacity:"0.7"},attrs:{color:"brand-orange",size:"md",name:"fas fa-camera"}}
1):e._e(),s("div",{staticClass:"absolute-bottom row"},[s("div",{staticClass:"col-9"},[s("div",{staticClass:"col-12 q-mx-md q-pt-xs text-shadow text-uppercase text-caption"},[e.streamName(e.photo)?s("div",{staticClass:"text-dark-baise"},[s("q-icon",{attrs:{name:"fas fa-map-marker-alt"}}),s("span",{staticClass:"q-ml-xs text-smaller ",domProps:{textContent:e._s(e.streamName(e.photo))}})],1):e._e(),s("q-icon",{attrs:{name:"fas fa-user-circle"}}),s("span",{staticClass:"q-ml-xs q-mr-md text-smaller",domProps:{textContent:e._s(e.author)}}),e.captureDate?s("span",[s("q-icon",{attrs:{name:"fas fa-calendar-day"}}),s("span",{staticClass:"text-smaller q-ml-xs q-mr-md",domProps:{textContent:e._s(e.captureDate)}})],1):e._e()],1),s("div",{staticClass:"col-12 q-pb-sm q-mx-md"},[e.title?s("div",{staticClass:"text-shadow text-weight-bold text-caption ellipsis"},[e._v(e._s(e.title||"")+"\n              ")]):e._e()])]),s("div",{staticClass:"col-3 relative-position"},[e.overPreview?s("div",{staticClass:"absolute-bottom-right q-pa-sm"},[s("photo-actions-fab",{attrs:{photo:e.photo}})],1):e._e()])])],1)])],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.previewPhoto=!1}},model:{value:e.previewPhoto,callback:function(t){e.previewPhoto=t},expression:"previewPhoto"}},[s("q-card",{style:e.imageWidth},[s("q-responsive",{attrs:{ratio:16/9}},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{ratio:16/9,src:e.src,transition:"fade"},on:{mouseleave:function(t){return e.out("overFullView")},mouseenter:function(t){return e.over("overFullView")}}},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer text-white text-shadow absolute-top-right q-ma-md",attrs:{size:"sm",name:"fas fa-times"}}),e.overFullView?s("div",{staticClass:"absolute-bottom-right q-mb-sm"},[e.isDebugging?s("photo-actions-fab",{attrs:{photo:e.photo}}):e._e()],1):e._e()],1)],1),e.getIsSubscriber?e._e():s("q-card-section",{staticClass:"text-center q-pa-none"},[s("q-resize-observer",{ref:"adSlotResizer",attrs:{debounce:"100"},on:{resize:e.onResize}})],1),s("q-card-actions",{staticStyle:{"min-width":"52px"},attrs:{align:"between"}},[s("div",{staticClass:"inline-block",domProps:{textContent:e._s(e.title)}}),s("div",{staticClass:"inline-block text-caption text-grey-6 q-ml-md"},[e._v("\n          By\n          "),s("span",{domProps:{textContent:e._s(e.author)}}),e.captureDate?s("span",[s("q-icon",{attrs:{name:"fas fa-calendar-day"}}),s("span",{staticClass:"text-caption q-ml-xs q-mr-md",domProps:{textContent:e._s(e.captureDate)}})],1):e._e()]),s("q-space"),e.isUserPhoto?s("q-btn",{attrs:{flat:"",label:"DOWNLOAD"},on:{click:e.downloadPhotoNow}}):e._e(),s("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{flat:"",label:"CLOSE"}})],1)],1)],1)],1)},oT=[],rT=(s("2b3d"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-fab",{attrs:{flat:"",direction:"left",icon:"fas fa-bars",padding:"sm",square:"","text-color":"light-baise"},nativeOn:{click:function(e){e.stopPropagation()}},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[s("ShareNetwork",{attrs:{tag:"span",network:"facebook",title:e.shareDescription,url:e.shareLink},nativeOn:{click:function(t){return t.stopPropagation(),e.onClick(t)}}},[s("q-fab-action",{attrs:{color:"facebook-blue","external-label":"",icon:"fab fa-facebook-square","label-class":"bg-grey-9 text-grey-3","label-position":"top",label:"Share",square:""}})],1),s("ShareNetwork",{attrs:{tag:"span",network:"twitter",title:e.shareDescription,url:e.shareLink},nativeOn:{click:function(t){return t.stopPropagation(),e.onClick(t)}}},[s("q-fab-action",{attrs:{color:"twitter-blue","external-label":"",icon:"fab fa-twitter-square","label-class":"bg-grey-9 text-grey-3","label-position":"top",label:"Share",square:""}})],1)],1)],1)}),nT=[],lT=Object(ce["a"])("user"),cT=(lT.mapActions,lT.mapGetters),dT=Object(ce["a"])("photos"),uT=dT.mapActions,hT={name:"PhotoActionsFab",computed:ne()(ne()({},cT(["getAuthenticated","getCurrentUserId","getIsAdmin","getIsZoomie"])),{},{canDelete(){return this.isAuthenticated&&this.currentUserIsOwner||this.getIsAdmin||this.getIsZoomie},currentUserId(){var e;return null!==(e=this.getCurrentUserId)&&void 0!==e?e:-1},currentUserIsOwner(){return _.isEqual(this.currentUserId,this.ownerId)},isAuthenticated(){var e;return null!==(e=this.getAuthenticated)&&void 0!==e&&e},ownerId(){var e,t,s;return null!==(e=null===(t=this.photo)||void 0===t||null===(s=t.user)||void 0===s?void 0:s.id)&&void 0!==e?e:0},photoId(){var e,t;return null!==(e=null===(t=this.photo)||void 0===t?void 0:t.id)&&void 0!==e?e:0},shareId(){var e,t;return null!==(e=null===(t=this.photo)||void 0===t?void 0:t.id)&&void 0!==e?e:0},shareDescription(){var e,t;
1return null!==(e=null===(t=this.photo)||void 0===t?void 0:t.title)&&void 0!==e?e:""},shareLink(){return`https://social.africam.com/share/${this.shareId}/photo`}}),data(){return{open:!1}},methods:ne()(ne()({},uT(["deletePhoto"])),{},{deleteCurrentPhoto(){console.log("Deleting .."),this.deletePhoto({id:this.photoId}).then((function(e){console.log("DELETE RESPONSE:",e)})).catch((function(e){}))},onClick(e){return console.log(this.shareLink),!0}}),props:{photo:{type:Object,default(){return{}}}}},mT=hT,pT=Object(Ee["a"])(mT,rT,nT,!1,null,null,null),gT=pT.exports;ze()(pT,"components",{QFab:Mh["a"],QFabAction:jh["a"]});var vT=Object(ce["a"])("settings"),fT=vT.mapGetters,bT=Object(ce["a"])("user"),wT=bT.mapGetters,yT={name:"PhotoPreview",components:{photoActionsFab:gT},computed:ne()(ne()(ne()({},fT(["getIsInDebugMode"])),wT(["getAuthenticated","getIsSubscriber","getUser"])),{},{author(){return _.get(this,"photo.user.display_name","Anonymous")},currentUser(){return this.getUser},captureDate(){var e=_.get(this.photo,"created_ts",null);if(_.isNumber(e)){var t=this.$dayjs().diff(1e3*e,"year")>0?"MMM D, YYYY @ H:mm":"MMM D, H:mm";return this.$dayjs(1e3*e).format(t)}return!1},imageWidth(){var e=.7*this.$q.screen.width;this.$q.screen.height<500&&(e*=.65),this.$q.screen.height<300&&(e*=.8);var t=this.ratio;return this.$q.screen.width>1440?{minWidth:"800px"}:{minHeight:e/t+52+"px",minWidth:e+"px"}},src(){return _.get(this,"photo.storage_reference","")},title(){return _.get(this,"photo.title","Snapshot")},views(){var e=_.get(this.photo,"view_count",null);return this.kFormatter(e)}}),data(){return{adWidth:90,overFullView:!1,isUserPhoto:null,overPreview:!1,photoSource:"",previewPhoto:!1,photoDescription:""}},methods:{downloadPhotoNow(){var e=this,t="photo.jpg";_.isNil(e.photoSource)||(t=_.last(_.split(e.photoSource,"/"))),Wm()({url:e.photoSource,method:"GET",responseType:"blob"}).then((function(e){console.log(e.data);var s=window.URL.createObjectURL(new Blob([e.data])),a=document.createElement("a");a.href=s,a.setAttribute("download",t),document.body.appendChild(a),a.click()}))},checkAuthor(){this.photo.user.display_name===this.currentUser.display_name?this.isUserPhoto=!0:this.isUserPhoto=!1},modalPhoto(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.$log("SHOW PHOTO:",e),!_.isNil(e)&&_.isObject(e)){var t,s;this.photoSource=_.get(e,"storage_reference",""),this.photoDescription=_.get(e,"description",""),this.previewPhoto=!0;var a=_.get(e,"title","x"),i=_.get(e,"stream.code","x"),o=_.get(e,"id","x"),r=null===(t=this.$router)||void 0===t||null===(s=t.currentRoute)||void 0===s?void 0:s.path;_.isEqual("/",r)&&(r="/home"),this.$trackPage({url:`${r}/photo-${o}-modal`,name:`view photo modal - ${a} (${o}/${i})`})}},onResize(e){this.$log("POPUP SLOT SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))},out(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"overPreview";this.$set(this,e,!1)},over(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"overPreview";this.$set(this,e,!0)},resetShowPhoto(){this.$log("HIDE PHOTO"),this.photoSource="",this.previewPhoto=!1,this.photoDescription=""},streamName(e){return _.isNil(e)?null:_.get(e,"stream.name",null)}},mixins:[hi,mi],props:{photo:{type:Object,required:!0,default(){return{}}},more:{type:Boolean,default:!1},ratio:{type:Number,default:16/9},showModal:{type:Boolean,default:!1}},mounted(){this.checkAuthor()},watch:{showModal(e){e&&this.modalPhoto(this.photo)}}},xT=yT,qT=(s("df92"),Object(Ee["a"])(xT,iT,oT,!1,null,"39b5b508",null)),_T=qT.exports;ze()(qT,"components",{QCard:Ne["a"],QImg:yi["a"],QIcon:Ai["a"],QSpinnerDots:mo["a"],QDialog:Re["a"],QResponsive:Oi["a"],QCardSection:Oe["a"],QResizeObserver:ho["a"],QCardActions:Le["a"],QSpace:uc["a"],QBtn:De["a"]}),ze()(qT,"directives",{Ripple:K["a"],ClosePopup:Y["a"]});var ST=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("q-card",{staticClass:"full-height cursor-pointer",attrs:{flat:!e.overPreview,rounded:"",bordered:""},on:{click:function(t){return e.modalPhoto(e.photo)},mouseleave:function(t){return e.out()},mouseenter:function(t){return e.over()}}},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"relative-position",attrs:{ratio:e.ratio,src:e.src,transition:"fade"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("q-spinner-dots",{attrs:{size:"0.5em",color:"brand-orange"}})]},proxy:!0}])},[s("div",{staticClass:"absolute-full"},[e.overPreview?s("q-icon",{staticClass:"text-shadow q-pa-md",staticStyle:{opacity:"0.7"},attrs:{color:"brand-orange",size:"md",name:"fas fa-camera"}}
1):e._e(),s("div",{staticClass:"absolute-bottom row"},[s("div",{staticClass:"col-9"},[s("div",{staticClass:"col-12 q-mx-md q-pt-xs text-shadow text-uppercase text-caption"},[e.streamName(e.photo)?s("div",{staticClass:"text-dark-baise"},[s("q-icon",{attrs:{name:"fas fa-map-marker-alt"}}),s("span",{staticClass:"q-ml-xs text-smaller",domProps:{textContent:e._s(e.streamName(e.photo))}})],1):e._e(),e.captureDate?s("span",[s("q-icon",{attrs:{name:"fas fa-calendar-day"}}),s("span",{staticClass:"text-smaller q-ml-xs q-mr-md",domProps:{textContent:e._s(e.captureDate)}})],1):e._e()])]),s("div",{staticClass:"col-3 relative-position"},[e.overPreview?s("div",{staticClass:"absolute-bottom-right q-pa-sm"},[s("photo-actions-fab",{attrs:{photo:e.photo}})],1):e._e()])])],1)]),s("q-card-section",{staticClass:"q-pl-md q-pr-md q-pb-md q-pt-sm"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-6"},[s("span",{staticClass:"text-caption text-uppercase",domProps:{textContent:e._s(e.animal)}})]),s("div",{staticClass:"col-6 text-right"},[s("span",{staticClass:"text-caption text-uppercase",domProps:{textContent:e._s(e.animalRarityPoints+" Points")}})])]),s("div",{staticClass:"row q-pb-sm"},[s("div",{staticClass:"col-6"},[s("span",{staticClass:"text-black text-caption",domProps:{textContent:e._s(e.title||"SafariSnaps")}})]),s("div",{staticClass:"col-6 text-right"},[e.userPhoto?s("q-avatar",{attrs:{size:"30px"}},[s("img",{staticClass:"profile-photo",attrs:{src:e.userPhoto},on:{error:function(e){e.target.src="/images/africam-avatar.jpg"}}})]):e._e()],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-6 text-right"})]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-6"},[s("q-chip",{staticClass:"q-pl-sm",attrs:{square:""}},[s("q-avatar",{attrs:{color:e.rarityColor(this.animalRarityPoints)}},[s("span",{staticClass:"text-white",domProps:{textContent:e._s(e.animalRarityValue)}})]),s("div",{domProps:{textContent:e._s(e.rarityMessage(this.animalRarityPoints))}})],1)],1),s("div",{staticClass:"col-6 text-right"},[e.shouldShowEdit?s("q-btn",{staticClass:"q-mt-sm",attrs:{outline:"",size:"sm",color:"grey-600",align:"right","text-color":"grey",label:"Edit"},on:{click:function(t){t.stopPropagation(),e.openEditDialog=!0}}}):e._e()],1)])])],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.previewPhoto=!1}},model:{value:e.previewPhoto,callback:function(t){e.previewPhoto=t},expression:"previewPhoto"}},[s("q-card",{staticClass:"q-pa-md",style:e.imageWidth},[s("q-img",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{ratio:16/9,src:e.src,transition:"fade"},on:{mouseleave:function(t){return e.out("overFullView")},mouseenter:function(t){return e.over("overFullView")}}},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer text-white text-shadow absolute-top-right q-ma-md",attrs:{size:"sm",name:"fas fa-times"}})],1),s("q-card-section",{staticClass:"q-pl-md q-pr-md q-pb-md q-pt-sm"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-6"},[s("span",{staticClass:"text-subtitle2",domProps:{textContent:e._s(e.animal+" - "+e.animalRarityPoints+" Points")}})]),s("div",{staticClass:"col-6 text-right"},[s("span",{staticClass:"text-black text-subtitle2",domProps:{textContent:e._s(e.author)}})])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-6"},[s("q-chip",{staticClass:"q-pl-sm",attrs:{square:""}},[s("q-avatar",{attrs:{color:e.rarityColor(this.animalRarityPoints)}},[s("span",{staticClass:"text-white",domProps:{textContent:e._s(e.animalRarityValue)}})]),s("div",{domProps:{textContent:e._s(e.rarityMessage(this.animalRarityPoints))}})],1)],1),s("div",{staticClass:"col-6 text-right"},[e.photo.user?s("q-avatar",{attrs:{size:"30px"}},[s("img",{attrs:{src:e.photo.user.avatar}})]):e._e()],1),s("div",{staticClass:"col-12 text-right"},[e.shouldShowEdit?s("q-btn",{staticClass:"q-mt-sm",attrs:{outline:"",size:"sm",color:"grey-600",align:"right","text-color":"grey",label:"Edit"},on:{click:function(t){t.stopPropagation(),e.openEditDialog=!0}}}
1):e._e()],1)])])],1)],1),e.openEditDialog?s("EditSnapshot",{attrs:{open:e.openEditDialog,photo:e.photo,stream:e.photo.stream,isGame:e.photo.is_afritag,index:e.index},on:{"update:open":function(t){e.openEditDialog=t},"update:photo":function(t){e.photo=t},deleted:function(t){return e.onDeleted(e.index)},hide:e.hideEditDialog}}):e._e()],1)},CT=[],AT=Object(ce["a"])("settings"),kT=AT.mapGetters,TT=Object(ce["a"])("user"),PT=TT.mapGetters,IT={name:"AfritagPreview",components:{photoActionsFab:gT,EditSnapshot:Hm},computed:ne()(ne()(ne()({},kT(["getIsInDebugMode"])),PT(["getAuthenticated","getIsSubscriber","getUser","getIsAdmin","getIsZoomie","getIsSuperZoomie"])),{},{author(){return _.get(this,"photo.user.display_name","Anonymous")},userPhoto(){return _.get(this,"photo.user.avatar","Anonymous")},shouldShowEdit(){return!(!this.getIsAdmin&&!this.getIsSuperZoomie)||(null===(e=this.photo)||void 0===e||null===(t=e.user)||void 0===t?void 0:t.id)===this.getUser.id&&!0===this.photo.is_afritag;var e,t},currentUser(){return this.getUser},photoDescription(){return _.get(this,"photo.description","Always Live, Always Wild")},animal(){return _.get(this,"photo.animal.name","Anonymous")},animalRarityValue(){return _.get(this,"photo.animal.rarity_value",0)/10},animalRarityPoints(){return _.get(this,"photo.animal.rarity_value",0)},captureDate(){var e=_.get(this.photo,"created_ts",null);if(_.isNumber(e)){var t=this.$dayjs().diff(1e3*e,"year")>0?"MMM D, YYYY @ H:mm":"MMM D, H:mm";return this.$dayjs(1e3*e).format(t)}return!1},imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}},src(){return _.get(this,"photo.storage_reference","")},title(){return _.get(this,"photo.title","Snapshot")},views(){var e=_.get(this.photo,"view_count",null);return this.kFormatter(e)}}),data(){return{isDeleted:!1,openEditDialog:!1,adWidth:90,overFullView:!1,ratingModel:6,overPreview:!1,photoSource:"",previewPhoto:!1}},methods:{onDeleted(e){console.log("DELETED FIRED"),console.log({index:e}),console.log({EventBus:le["a"]}),this.$emit("removed",{index:this.$props.index}),le["a"].$emit("removedItem",{index:e})},hideEditDialog(){this.openEditDialog=!1},downloadPhoto(){var e=this,t="photo.jpg";_.isNil(e.photoSource)||(t=_.last(_.split(e.photoSource,"/")));var s=document.createElement("a");s.href=e.photoSource,s.setAttribute("download",t),s.setAttribute("target","_blank"),document.body.appendChild(s),s.click()},modalPhoto(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.$log("SHOW PHOTO:",e),!_.isNil(e)&&_.isObject(e)){var t,s;this.photoSource=_.get(e,"storage_reference",""),this.previewPhoto=!0;var a=_.get(e,"title","x"),i=_.get(e,"stream.code","x"),o=_.get(e,"id","x"),r=null===(t=this.$router)||void 0===t||null===(s=t.currentRoute)||void 0===s?void 0:s.path;_.isEqual("/",r)&&(r="/home"),this.$trackPage({url:`${r}/photo-${o}-modal`,name:`view photo modal - ${a} (${o}/${i})`})}},onResize(e){this.$log("POPUP SLOT SIZE:",e),!_.isNil(e)&&_.has(e,"width")&&_.isNumber(_.toNumber(e.width))&&(this.adWidth=_.toNumber(e.width))},out(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"overPreview";this.$set(this,e,!1)},over(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"overPreview";this.$set(this,e,!0)},resetShowPhoto(){this.$log("HIDE PHOTO"),this.photoSource="",this.previewPhoto=!1},streamName(e){return _.isNil(e)?null:_.get(e,"stream.name",null)}},mixins:[hi,mi],props:{photo:{type:Object,required:!0,default(){return{}}},more:{type:Boolean,default:!1},ratio:{type:Number,default:16/9},showModal:{type:Boolean,default:!1},index:{type:Number,default:0}},mounted(){var e=this;le["a"].$on("hideSnapshotDialogs",(function(t){e.openEditDialog=!1,console.info("TESTING THE EVENTBUS"),le["a"].$emit("removed",ne()(ne()({},t),{},{index:e.index})),!0===(null===t||void 0===t?void 0:t.deleted)&&(e.isDeleted=!0)}))},watch:{showModal(e){e&&this.modalPhoto(this.photo)}}},$T=IT,ET=(s("4d41"),s("be73"),Object(Ee["a"])($T,ST,CT,!1,null,"7dc5bcb6",null)),RT=ET.exports;ze()(ET,"components",{QCard:Ne["a"],QImg:yi["a"],QIcon:Ai["a"],QSpinnerDots:mo["a"],QCardSection:Oe["a"],QAvatar:Ol["a"],QChip:Ll["a"],QBtn:De["a"],QDialog:Re["a"]}),ze()(ET,"directives",{Ripple:K["a"],ClosePopup:Y["a"]});var NT=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-img",{staticClass:"rounded-borders",attrs:{src:e.showCover,ratio:e.ratio}},[s("div",{staticClass:"text-white text-shadow fit"},[s("div",{staticClass:"relative-position fit",class:e.featurePadding},[e.superTitle?s("div",{staticClass:"text-brand-orange text-bold text-caption text-uppercase",domProps:{textContent:e._s(e.superTitle)}}
1):e._e(),s("div",{staticClass:"inline-block"},[e.showTitle?s("h4",{staticClass:"inline-block text-weight-bold q-my-none",staticStyle:{"margin-top":"-10px"},domProps:{textContent:e._s(e.showTitle)}}):e._e(),e.subTitle?s("div",{staticClass:"text-right text-weight-bold text-caption",staticStyle:{"margin-top":"-3px"},domProps:{textContent:e._s(e.subTitle)}}):e._e(),s("div",{staticClass:"absolute-bottom-right text-smaller text-right text-shadow q-ma-lg"},[s("div",{staticClass:"text-caption text-uppercase",domProps:{textContent:e._s(e.showDateTime)}}),e.showDateTime?s("div",{staticClass:"text-caption text-brand-orange",staticStyle:{"margin-top":"-8px"},domProps:{textContent:e._s(e.getTimeZone())}}):e._e()])])])])])},OT=[],LT=Object(ce["a"])("shows"),DT=LT.mapGetters,VT=Object(ce["a"])("user"),zT=(VT.mapGetters,{name:"CurrentShowPromo",computed:ne()(ne()({},DT(["getCurrentShow"])),{},{featurePadding(){return this.$q.screen.width>1024?"q-pa-lg":"q-pa-md"},showCover(){var e="";switch(this.showType){case"the-hide":e="/images/shows/the-hide-promo.jpg";break;case"morning-show":e="/images/shows/morning-show-promo.jpg";break}var t=_.get(this,"getCurrentShow.showCover","");return _.isEmpty(t)?e:t},showDateTime(){var e=_.get(this,"getCurrentShow.showDateTime",null);return _.isNil(e)||(e=e.toDate().toISOString()),!_.isEmpty(e)&&this.$dayjs(e).isValid()?(e=this.$dayjs(e),this.$dayjs().isSame(e,"day")?"Today "+e.format("HH:mm"):e.format("DD MMM @ HH:mm")):""},showTitle(){return this.getCurrentShow&&this.getCurrentShow.showTitle&&!_.isEmpty(this.getCurrentShow.showTitle)?this.getCurrentShow.showTitle:""},showType(){return _.get(this,"getCurrentShow.showType.value",!1)&&!_.isEmpty(this.getCurrentShow.showType.value)?this.getCurrentShow.showType.value:""},subTitle(){return _.get(this,"getCurrentShow.subTitle","")},superTitle(){return _.get(this,"getCurrentShow.superTitle","")}}),mixins:[hi],props:{ratio:{type:Number,default:16/9}}}),MT=zT,jT=(s("cd5c"),Object(Ee["a"])(MT,NT,OT,!1,null,"177d48c0",null)),QT=jT.exports;ze()(jT,"components",{QImg:yi["a"]});var UT=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-img",{staticClass:"rounded-borders",attrs:{src:e.src,ratio:e.ratio}},[s("div",{staticClass:"text-white text-shadow fit"},[s("div",{staticClass:"relative-position fit",class:e.featurePadding},[s("div",{staticClass:"text-brand-orange text-bold text-caption text-uppercase"},[e._v("Playing Now")]),s("div",{staticClass:"inline-block"},[s("h4",{staticClass:"inline-block text-weight-bold q-my-none",staticStyle:{"margin-top":"-10px"}},[e._v("The Morning Show")]),s("div",{staticClass:"text-right text-weight-bold text-caption",staticStyle:{"margin-top":"-3px"}},[e._v("with Phill Steffny")])])])])])},FT=[],BT={name:"OnAirPromo",computed:{featurePadding(){return this.$q.screen.width>1024?"q-pa-lg":"q-pa-md"}},props:{ratio:{type:Number,default:16/9},src:{type:String,default:"images/promo/ranger-phill.jpg"}}},HT=BT,GT=(s("553e"),Object(Ee["a"])(HT,UT,FT,!1,null,"759fd5b2",null)),WT=GT.exports;ze()(GT,"components",{QImg:yi["a"]});var YT=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-carousel",{staticClass:"rounded-borders",style:{height:e.carouselHeight+"px"},attrs:{autoplay:7e3,animated:"",infinite:"",navigation:e.$q.screen.width>1200,"navigation-active-icon":"far fa-check-circle","navigation-position":"right","transition-next":"jump-left","transition-prev":"jump-right"},model:{value:e.slide,callback:function(t){e.slide=t},expression:"slide"}},[s("q-carousel-slide",{staticClass:"q-pa-none",attrs:{name:"first"}},[s("router-link",{attrs:{to:{name:"shows"}}},[s("div",[e.$q.screen.width>599?s("q-img",{staticClass:"fit rounded-borders",attrs:{ratio:900/704,"no-default-spinner":"",src:"/images/shows/carousel/shows-1.jpg"}}):s("q-img",{staticClass:"rounded-borders",attrs:{ratio:600/496,"no-default-spinner":"",src:"/images/shows/carousel/shows-1-mobile.jpg"}}),s("q-resize-observer",{attrs:{debounce:"150"},on:{resize:e.onCarouselResize}})],1)])],1),s("q-carousel-slide",{staticClass:"q-pa-none",attrs:{name:"second"}},[s("router-link",{attrs:{to:{name:"shows"}}},[e.$q.screen.width>599?s("q-img",{staticClass:"fit rounded-borders",attrs:{ratio:900/704,"no-default-spinner":"",src:"/images/shows/carou
1sel/shows-2.jpg"}}):s("q-img",{staticClass:"rounded-borders",attrs:{ratio:600/496,"no-default-spinner":"",src:"/images/shows/carousel/shows-2-mobile.jpg"}})],1)],1),s("q-carousel-slide",{staticClass:"q-pa-none",attrs:{name:"third"}},[s("router-link",{attrs:{to:{name:"shows"}}},[e.$q.screen.width>599?s("q-img",{staticClass:"fit rounded-borders",attrs:{ratio:900/704,"no-default-spinner":"",src:"/images/shows/carousel/shows-3.jpg"}}):s("q-img",{staticClass:"rounded-borders",attrs:{ratio:600/496,"no-default-spinner":"",src:"/images/shows/carousel/shows-3-mobile.jpg"}})],1)],1)],1)},KT=[],ZT={name:"ShowsCarousel",data(){return{carouselHeight:100,slide:"first"}},methods:{onCarouselResize(e){this.carouselHeight=e.height}}},JT=ZT,XT=Object(Ee["a"])(JT,YT,KT,!1,null,null,null),eP=XT.exports;ze()(XT,"components",{QCarousel:yS["a"],QCarouselSlide:xS["a"],QImg:yi["a"],QResizeObserver:ho["a"]});var tP=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-img",{staticClass:"rounded-borders",attrs:{src:e.showCover,ratio:e.ratio}},[s("div",{staticClass:"text-white text-shadow fit"},[s("div",{staticClass:"relative-position fit",class:e.featurePadding},[e.superTitle?s("div",{staticClass:"text-brand-orange text-bold text-caption text-uppercase",domProps:{textContent:e._s(e.superTitle)}}):e._e(),s("div",{staticClass:"inline-block"},[e.showTitle?s("h4",{staticClass:"inline-block text-weight-bold q-my-none",staticStyle:{"margin-top":"-10px"},domProps:{textContent:e._s(e.showTitle)}}):e._e(),e.subTitle?s("div",{staticClass:"text-right text-weight-bold text-caption",staticStyle:{"margin-top":"-3px"},domProps:{textContent:e._s(e.subTitle)}}):e._e(),s("div",{staticClass:"absolute-bottom-right text-smaller text-right text-shadow q-ma-lg"},[s("div",{staticClass:"text-caption text-uppercase",domProps:{textContent:e._s(e.showDateTime)}}),e.showDateTime?s("div",{staticClass:"text-caption text-brand-orange",staticStyle:{"margin-top":"-8px"},domProps:{textContent:e._s(e.getTimeZone())}}):e._e()])])])])])},sP=[],aP=Object(ce["a"])("shows"),iP=aP.mapGetters,oP=Object(ce["a"])("user"),rP=(oP.mapGetters,{name:"UpNextPromo",computed:ne()(ne()({},iP(["getUpNext"])),{},{featurePadding(){return this.$q.screen.width>1024?"q-pa-lg":"q-pa-md"},showCover(){var e="";switch(this.showType){case"the-hide":e="/images/shows/the-hide-promo.jpg";break;case"morning-show":e="/images/shows/morning-show-promo.jpg";break}var t=_.get(this,"upNext.showCover","");return _.isEmpty(t)?e:t},showDateTime(){var e=_.get(this,"upNext.showDateTime",null);return _.isNil(e)||(e=e.toDate().toISOString()),!_.isEmpty(e)&&this.$dayjs(e).isValid()?(e=this.$dayjs(e),this.$dayjs().isSame(e,"day")?"Today "+e.format("HH:mm"):e.format("DD MMM @ HH:mm")):""},showTitle(){return this.upNext&&this.upNext.showTitle&&!_.isEmpty(this.upNext.showTitle)?this.upNext.showTitle:""},showType(){return _.get(this,"upNext.showType.value",!1)&&!_.isEmpty(this.upNext.showType.value)?this.upNext.showType.value:""},subTitle(){return _.get(this,"upNext.subTitle","")},superTitle(){return _.get(this,"upNext.superTitle","")},upNext(){return this.getUpNext||{}}}),mixins:[hi],props:{ratio:{type:Number,default:16/9}}}),nP=rP,lP=(s("ab80"),Object(Ee["a"])(nP,tP,sP,!1,null,"89afccbe",null)),cP=lP.exports;ze()(lP,"components",{QImg:yi["a"]});s("00e5");var dP=s("68ff"),uP=s("f6dd"),hP=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"fit"},[s("q-card",{staticClass:"fit bg-white",staticStyle:{"border-radius":"20px"},attrs:{flat:"",square:""}},[s("q-card-section",{staticClass:"q-pb-none"},[s("div",{staticClass:"q-ma-none q-pa-none text-caption text-grey-7",domProps:{textContent:e._s(e.heading)}}),s("div",{domProps:{textContent:e._s(e.videoTitle)}})]),s("q-card-section",{staticClass:"q-pb-none cursor-pointer",attrs:{flat:!e.hovering},on:{mouseleave:e.out,mouseenter:e.over}},[s("div",{attrs:{ratio:16/9}},[e.videoImage?s("q-img",{attrs:{src:e.videoImage,ratio:16/9},on:{click:e.launchPopUpVideo}}):s("div",{staticClass:"text-left"},[s("span",{staticClass:"\n              q-mr-sm\n              text-weight-bold text-caption text-uppercase text-grey-6\n            "}),s("q-spinner-dots",{attrs:{color:"brand-orange",size:"40px"}})],1),s("q-icon",{staticClass:"acursor-pointer absolute-center q-pa-sm",style:e.hovering?"":"opacity: 0.6",attrs:{color:"brand-orange",size:"xl",name:"fas fa-play-circle"},on:{click:e.launchPopUpVideo}})],1)]),e.animalPage?s("q-card-section",{staticClass:"q-pt-none"},[s("div",{staticClass:"text-caption q-pb-sm",domProps:{textContent:e._s(e.videoDescription)}}),s("q-btn",{staticClass:"q-mr-sm",attrs:{"no-caps":"",flat:"",size:"md"},on:{click:e.filteredVideosLink}}
1,[s("span",{staticClass:"link-underline",domProps:{textContent:e._s(e.animalVideoText)}})])],1):e._e(),e.animalPage?e._e():s("q-card-section",{staticClass:"q-pt-none"},[e.hasAnimals?s("div",{attrs:{"q-mt-none":""}},[s("div",{staticClass:"text-caption q-pb-sm",domProps:{textContent:e._s(e.videoDescription)}}),s("span",{staticClass:"text-caption"},[e._v("Featured Animals: ")]),s("ul",{staticClass:"animal-list"},e._l(e.animals,(function(t,a){return s("li",{key:"animal-"+a},[s("router-link",{staticClass:"text-black text-underline text-caption",attrs:{to:{name:"animal",params:{id:t.id,type:e.animalType}}},domProps:{textContent:e._s(t.name)}})],1)})),0)]):e._e(),s("div",[s("router-link",{staticClass:"text-black text-underline text-caption",attrs:{to:{name:"video-results",params:{destination:this.getCurrentDestination.slug,destinationVideoText:this.linkText},query:{type:this.type}}}},[s("span",{domProps:{textContent:e._s(e.destinationVideoText)}})])],1)])],1),s("q-dialog",{attrs:{"transition-show":"scale","transition-hide":"scale"},on:{hide:function(t){e.popUpVideo=!1}},model:{value:e.popUpVideo,callback:function(t){e.popUpVideo=t},expression:"popUpVideo"}},[s("q-card",{class:this.$q.screen.width>767?"q-pa-md":"q-pa-xs",style:e.imageWidth},[s("q-icon",{directives:[{name:"close-popup",rawName:"v-close-popup"}],staticClass:"cursor-pointer absolute-top-right",class:this.$q.screen.width>767?"q-pr-sm q-pt-sm":"q-pr-xs q-pt-xs",attrs:{size:"xs",name:"fas fa-times"}}),s("q-card-section",[e.videoSrc?s("youtube",{attrs:{autoplay:e.autoplay,previewImageSize:"hqdefault",src:e.videoSrc}}):e._e()],1)],1)],1)],1)},mP=[],pP=Object(ce["a"])("user"),gP=(pP.mapGetters,Object(ce["a"])("destination")),vP=gP.mapGetters,fP=gP.mapActions,bP={name:"FeaturedVideo",computed:ne()(ne()({},vP(["getCurrentDestination","getCurrentDestinationAnimalsTagged","getCurrentDestinationAnimalsTaggedLoading","getcurrentDestinationAnimalsTaggedByPeriod"])),{},{imageWidth(){this.$q.screen.height,this.$q.screen.height;this.ratio;return this.$q.screen.width>700?{minWidth:"60%"}:{minWidth:"90%"}},videoSrc(){var e;return this.playerUrl(null===(e=this.$props.video)||void 0===e?void 0:e.youtube_id)},videoImage(){var e,t;return null!==(e=null===(t=this.$props.video)||void 0===t?void 0:t.cover)&&void 0!==e?e:""},videoTitle(){var e,t;return null!==(e=null===(t=this.$props.video)||void 0===t?void 0:t.title)&&void 0!==e?e:""},animals(){return this.video.animals},videoDescription(){var e,t;return null!==(e=null===(t=this.$props.video)||void 0===t?void 0:t.summary)&&void 0!==e?e:""},animalVideoText(){var e;return null!==(e="View More "+this.$props.animalName+" "+this.$props.linkText)&&void 0!==e?e:""},destinationVideoText(){var e;return null!==(e="View more "+this.$props.linkText)&&void 0!==e?e:""},hasAnimals(){return!_.isNil(this,"$props.video.animals")&&!_.isEmpty(this.$props.video.animals)}}),mounted(){},data(){return{popUpVideo:!1,hovering:!1,streamAnimalsTaggedTabs:"one"}},methods:ne()(ne()({},fP(["fetchCurrentDestinationAnimalsTagged"])),{},{launchPopUpVideo(){this.popUpVideo=!0},filteredVideosLink(){this.$router.push({name:"video-highlights",query:{filteredVideos:!0,filteredType:this.type,filteredAnimalId:this.animalId,filteredAnimalName:this.animalName,linkText:this.linkText}})},out(){this.$set(this,"hovering",!1)},over(){this.$set(this,"hovering",!0)}}),mixins:[hi],props:{video:{default:{},type:Object,required:!0},animalPage:{default:!1,type:Boolean,required:!1},animalId:{default:null,type:Number,required:!1},animalType:{default:null,type:String,required:!1},animalName:{default:"",type:String,required:!1},autoplay:{default:!0,type:Boolean,required:!1},type:{default:"featured",type:String,required:!1},linkText:{default:"",type:String,required:!1},heading:{default:"LATEST SIGHTING",type:String,required:!1}}},wP=bP,yP=(s("bece"),Object(Ee["a"])(wP,hP,mP,!1,null,"99b0ed76",null)),xP=yP.exports;ze()(yP,"components",{QCard:Ne["a"],QCardSection:Oe["a"],QImg:yi["a"],QSpinnerDots:mo["a"],QIcon:Ai["a"],QBtn:De["a"],QDialog:Re["a"]}),ze()(yP,"directives",{ClosePopup:Y["a"]});var qP=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{key:"animals-tagged-card",staticClass:"fit"},[s("q-card",{staticClass:"fit bg-white q-pa-md",staticStyle:{"border-radius":"20px"},attrs:{flat:"",square:""}},[s("div",{staticClass:"col-12 text-caption text-grey-7 text-uppercase",domProps:{textContent:e._s(e.stream.name)}}),s("div",{staticClass:"col-12 q-pb-md"},[e._v("Animals Tagged")]),s("q-tabs",{staticClass:"bg-grey-3",attrs:{align:"justify"},model:{value:e.streamAnimalsTaggedTabs,callback:function(t){e.streamAnimalsTaggedTabs=t},expression:"streamAnimalsTaggedTabs"}},[s("q-tab",{attrs:{label:"Today",name:"one"}}),s("q-tab",{attrs:{label:"This Month",name:"two"}}),s("q-tab",{attrs:{label:"This Year",name:"three"}})],1),s("q-separator"),s("q-tab-panels",{attrs:{animated:""},model:{value:e.streamAnimalsTaggedTabs,callback:function(t){e.streamAnimalsTaggedTabs=t},expression:"streamAnimalsTaggedTabs"}},[s("q-tab-panel",{attrs:{name:"one"}},[s("animals-tagged-table",{attrs:{stream:e.stream,data:e.getcurrentDestinationAnimalsTaggedByPeriod("today"),loading:e.getCurrentDestinationAnimalsTaggedLoading}})],1),s("q-tab-panel",{attrs:{name:"two"}},[s("animals-tagged-table",{attrs:{stream:e.stream,data:e.getcurrentDestinationAnimalsTaggedByPeriod("month"),loading:e.getCurrentDestinationAnimalsTaggedLoading}})],1),s("q-tab-panel",{attrs:{name:"three"}},[s("animals-tagged-table",{attrs:{stream:e.stream,data:e.getcurrentDestinationAnimalsTaggedByPeriod("year"),loading:e.getCurrentDestinationAnimalsTaggedLoading}})],1)],1),e.shouldShowLink?s("q-card-actions",[s("router-link",{staticClass:"text-black text-underline text-caption",attrs:{to:{name:"afritag-results",params:{slug:e.stream.slug,stream:e.stream}}}},[e._v("\n        View All Animals Tagged At "),s("span",{domProps:{innerHTML:e._s(e.stream.name)}}
1)])],1):e._e()],1)],1)},_P=[],SP=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("q-markup-table",{staticClass:"text-uppercase q-pa-md animals-tagged-table",attrs:{separator:e.separator,flat:""}},[s("colgroup",[s("col",{staticStyle:{width:"50%"}}),s("col",{staticStyle:{width:"20%"}}),s("col",{staticStyle:{width:"30%"}})]),s("thead",[s("tr",[s("th",{staticClass:"text-left link-underline"},[e._v("Animals")]),s("th",{staticClass:"text-left link-underline"},[e._v("Tags")]),s("th",{staticClass:"text-left link-underline"},[e._v("Rarity Meter")])])]),e.loading?s("tbody",[s("tr",[s("td",{attrs:{colspan:"3"}},[e._v("\n        Loading\n        "),s("q-spinner-oval",{staticClass:"m-0-auto"})],1)])]):e.data.length<=0?s("tbody",[s("tr",[s("td",{staticClass:"text-left text-caption",attrs:{colspan:"3"}},[e._v("\n        NO ANIMALS TAGGED TODAY\n      ")])])]):s("tbody",e._l(e.data,(function(t,a){return s("tr",{key:"tagged-animal-"+a},[s("td",{staticClass:"clickable-animals",domProps:{textContent:e._s(t.animal_name)},on:{click:function(s){e.$router.push({name:"streamAfritagsAnimal",params:{slug:e.stream.slug,code:e.stream.code,animal_id:String(t.animal_id)}})}}}),s("td",{staticClass:"text-left",domProps:{textContent:e._s(t.total_tags)}}),s("td",[s("q-chip",{staticClass:"q-pl-sm text-caption",attrs:{square:""}},[s("q-avatar",{attrs:{color:e.rarityColor(t.rarity_value)}},[s("span",{staticClass:"text-white",domProps:{textContent:e._s(t.rarity_value/10)}})]),s("div",{domProps:{textContent:e._s(e.rarityMessage(t.rarity_value))}})],1)],1)])})),0)])},CP=[],AP={name:"AnimalsTaggedTable",mixins:[hi],props:{data:{default:[],type:Array},loading:{default:!0,type:Boolean},separator:{default:"none",type:String},stream:{default:{},type:Object,required:!1}}},kP=AP,TP=(s("9d67"),Object(Ee["a"])(kP,SP,CP,!1,null,null,null)),PP=TP.exports;ze()(TP,"components",{QMarkupTable:hc["a"],QSpinnerOval:am["a"],QChip:Ll["a"],QAvatar:Ol["a"],QTable:dc["a"]});var IP=Object(ce["a"])("user"),$P=IP.mapGetters,EP=Object(ce["a"])("destination"),RP=EP.mapGetters,NP=EP.mapActions,OP={name:"AnimalsTagged",computed:ne()(ne()(ne()({},$P(["getAuthenticated","getIsSubscriber"])),RP(["getCurrentDestinationAnimalsTagged","getCurrentDestinationAnimalsTaggedLoading","getcurrentDestinationAnimalsTaggedByPeriod"])),{},{shouldShowLink(){return!this.$props.isPage}}),components:{AnimalsTaggedTable:PP},mounted(){var e=this;_.isNil(e.$props.stream)||e.fetchCurrentDestinationAnimalsTagged(e.$props.stream)},data(){return{streamAnimalsTaggedTabs:"one"}},methods:ne()(ne()({},NP(["fetchCurrentDestinationAnimalsTagged"])),{},{rarityColor(e){return console.log("AFRITAG POINTS"),console.log(e),e>0&&e<20?"blue":e>19&&e<40?"green":e>39&&e<60?"orange":e>59&&e<80?"red":e>79?"black":void 0},rarityLabel(e){return console.log("AFRITAG POINTS"),console.log(e),e>0&&e<20?"blue":e>19&&e<40?"green":e>39&&e<60?"orange":e>59&&e<80?"red":e>79?"black":void 0}}),mixins:[hi],props:{stream:{default:{},type:Object},isPage:{required:!1,default:!1,type:Boolean}},watch:{stream(e,t){_.isNil(e)||e===t||this.fetchCurrentDestinationAnimalsTagged(e)}}},LP=OP,DP=Object(Ee["a"])(LP,qP,_P,!1,null,null,null),VP=DP.exports;ze()(DP,"components",{QCard:Ne["a"],QTabs:rc["a"],QTab:nc["a"],QSeparator:Go["a"],QTabPanels:lc["a"],QTabPanel:cc["a"],QCardActions:Le["a"]});var zP=function(e){var t=e.Vue;t.component("ad120x600fullview",Bw),t.component("ad160x600fullview",Zw),t.component("ad200x200fullview",ay),t.component("ad250x250fullview",cy),t.component("ad300x250fullview",gy),t.component("ad300x600fullview",xy),t.component("ad320x50fullview",ky),t.component("ad320x100fullview",Ry),t.component("ad336x280fullview",zy),t.component("ad468x60fullview",By),t.component("ad728x90fullview",Zy),t.component("ad970x90fullview",ax),t.component("ad970x250fullview",cx),t.component("ad160x600",gx),t.component("ad200x200",xx),t.component("ad250x250",kx),t.component("ad300x250",Rx),t.component("ad300x600",zx),t.component("ad320x50",Bx),t.component("ad320x100",Zx),t.component("ad468x60",aq),t.component("ad728x90",cq),t.component("ad970x90",gq),t.component("ad970x250",xq),t.component("ad-responsive-horizontal-modal",kq),t.component("ad-horizontal-long",Rq),t.component("ad-leaderboard",Vq),t.component("kids-course-horizontal-long",z_),t.component("africam4good-promo",B_),t.component("ranger-russell-promo",Z_),t.component("ranger-trishala-promo",aS),t.component("ranger-james-promo",cS),t.component("ranger-phill-promo",gS),t.component("subscribe-carousel",_S),t.component("upgrade-prompt",PS),t.component("cookies",OS),t.component("copyright",US),t.component("fullscreen-toggle",YS),t.component("header-bar",CC),t.component("logo-header-bar",NC),t.component("scrollToTop",jC),t.component("siteFooter",bA),t.component("stream-picker",TA),t.component("snapshot",aT),t.component("local-time",Gk),t.component("chat",i_),t.component("chat-message",g_),t.component("chat-toggle",S_),t.component("chat-toggle-settings",R_),t.component("current-sh
1ow-promo",QT),t.component("on-air-promo",WT),t.component("shows-carousel",eP),t.component("up-next-promo",cP),t.component("page-heading",NA),t.component("page-subheading",MA),t.component("page-title",HA),t.component("photo-preview",_T),t.component("afritag-preview",RT),t.component("snapshot-highlight-preview",uk),t.component("login",XA),t.component("direct-stream-player",ok),t.component("stream-modal",wk),t.component("stream-preview",Ck),t.component("video-highlight-preview",Ok),t.component("lodge-highlight-preview",jk),t.component("youtube",dP["a"]),t.use(uP["a"],{global:!0,componentId:"youtube-media"}),t.component("recent-tags",om),t.component("featured-video",xP),t.component("animals-tagged",VP)},MP=s("031e"),jP=s.n(MP),QP=function(e){e.app,e.router;var t=e.store,s=e.Vue;s.use(jP.a,{id:"GTM-WW2XVRB",queryParams:{},defer:!1,enabled:!0,debug:!0,loadScript:!0,vueRouter:null,ignoredViews:["route-name"],trackOnNextTick:!1}),s.prototype.$trackEvent=function(){var e,s,a,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null!==(e=null===t||void 0===t?void 0:t.getters["user/getUserId"])&&void 0!==e?e:null,n=null!==(s=null===t||void 0===t?void 0:t.getters["user/getIsUser"])&&void 0!==s&&s,l=null!==(a=null===t||void 0===t?void 0:t.getters["user/getIsSubscriber"])&&void 0!==a&&a,c=l?"Subscriber":n?"Registered":"Guest";this.$gtm.trackEvent(ne()(ne()({},{event:null===i||void 0===i?void 0:i.event,"interaction-type":null===i||void 0===i?void 0:i.interactionType,"interaction-element-name":null===i||void 0===i?void 0:i.interactionElementName,"user-id":r,"user-type":c}),o))},s.prototype.$trackPage=function(){var e,s,a,i,o,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=null!==(e=null===t||void 0===t?void 0:t.getters["user/getUserId"])&&void 0!==e?e:null,c=null!==(s=null===t||void 0===t?void 0:t.getters["user/getIsUser"])&&void 0!==s&&s,d=null!==(a=null===t||void 0===t?void 0:t.getters["user/getIsSubscriber"])&&void 0!==a&&a,u=d?"Subscriber":c?"Registered":"Guest";this.$gtm.trackEvent({event:null!==(i=null===n||void 0===n?void 0:n.event)&&void 0!==i?i:"content-view","content-name":null!==(o=null===n||void 0===n?void 0:n.url)&&void 0!==o?o:"unknown","content-view-name":null!==(r=null===n||void 0===n?void 0:n.name)&&void 0!==r?r:"unknown","user-id":l,"user-type":u})},s.prototype.$trackCheckoutProcess=function(){var e,s,a,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=null===t||void 0===t?void 0:t.getters["user/getUserId"],s=null===t||void 0===t?void 0:t.getters["user/getIsUser"],a=null===t||void 0===t?void 0:t.getters["user/getIsSubscriber"];this.$gtm.trackEvent({event:null===i||void 0===i?void 0:i.paddleEvent,currency:null===i||void 0===i?void 0:i.paddleCurrency,value:0,payment_type:null===i||void 0===i?void 0:i.paddlePaymentType,transaction_id:null===i||void 0===i?void 0:i.paddleTransactionId,error_code:null===i||void 0===i?void 0:i.paddleErrorCode,error_name:null===i||void 0===i?void 0:i.paddleError,items:[{item_id:null===i||void 0===i?void 0:i.paddleProductId,item_name:"Africam Premium (Ads Free)",item_brand:"Africam",item_category:"instant",price:4.99,quantity:1}]})},s.prototype.$trackPurchase=function(){var e,s,a,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=null===t||void 0===t?void 0:t.getters["user/getUserId"],s=null===t||void 0===t?void 0:t.getters["user/getIsUser"],a=null===t||void 0===t?void 0:t.getters["user/getIsSubscriber"];this.$gtm.trackEvent({event:"Purchase",ecommerce:{currencyCode:null===i||void 0===i?void 0:i.currencyCode,purchase:{actionField:{id:null===i||void 0===i?void 0:i.paddleId,affiliation:"Africam",revenue:null===i||void 0===i?void 0:i.paddleRevenue,tax:null===i||void 0===i?void 0:i.paddleTax,coupon:null===i||void 0===i?void 0:i.paddleCoupon},items:[{name:null===i||void 0===i?void 0:i.paddleName,id:null===i||void 0===i?void 0:i.productId,price:null===i||void 0===i?void 0:i.paddlePrice,brand:"Africam",quantity:null===i||void 0===i?void 0:i.paddleQuantity}]}}})}},UP=function(e){e.app,e.router,e.Vue;window._=qt.a},FP=s("2652"),BP=s("bd8c"),HP=s.n(BP),GP=function(e){e.app,e.router;var t=e.Vue;t.use(HP.a)},WP=s("31bd"),YP=s("4bde"),KP=Object(YP["boot"])((function(e){var t=e.router,s=e.store;Object(WP["sync"])(s,t)})),ZP=function(){var e=F()(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s=t.store,t.Vue,console.log("RESTORE USER IN BOOT ........."),s.dispatch("user/restoreSession",null,{root:!0});case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),JP="/";function XP(){return eI.apply(this,arguments)}function eI(){return eI=F()(regeneratorRuntime.mark((function e(){var t,s,a,i,o,r,n,l,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,xw();case 2:t=e.sent,s=t.app,a=t.store,i=t.router,o=!1,r=function(e){o=!0;var t=Object(e)===e?i.resolve(e).route.fullPath:e;window.location.href=t},n=window.location.href.replace(window.location.origin,""),l=[_w,Iw,Dw,Vw,zP,QP,UP,FP["a"],GP,KP,ZP],c=0;case 11:if(!(!1===o&&c<l.length)){e.next=29;break}if("function"===typeof l[c]){e.next=14;break}return e.abrupt("continue",26);case 14:return e.prev=14,e.next=17,l[c]({app:s,router:i,store:a,Vue:B["a"],ssrContext:null,redirect:r,urlPath:n,publicPath:JP});case 17:e.next=26;break;case 19:if(e.prev=19,e.t0=e["catch"](14),!e.t0||!e.t0.url){e.next=24;break}return window.location.href=e.t0.url,e.abrupt("return");case 24:return console.error("[Quasar] boot error:",e.t0),e.abrupt("return");case 26:c++,e.next=11;break;case 29:if(!0!==o){e.next=31;break}return e.abrupt("return");case 31:new B["a"](s);case 32:case"end":return e.stop()}}),e,null,[[14,19]])}))),eI.apply(this,arguments)}XP()},"2f56":function(e,t,s){},"330e":function(e,t,s){},"338f":function(e,t,s){"use strict";s("4970")},"33f4":function(e,t,s){"use strict";s("ca61")},"34a8":function(e,t,s){},"352b":function(e,t,s){"use strict";s("0671")},3579:function(e,t,s){},"35e6":function(e,t,s){},"38aa":function(e,t,s){},"3f41":function(e,t,s){"use strict";s("a567")},"3ffa":function(e,t,s){"use strict";s("a08a")},"40de":function(e,t,s){},4288:function(e,t,s){},"444b":function(e,t,s){},4495:function(e,t,s){},"468b":function(e,t,s){},4838:function(e,t,s){},4970:function(e,t,s){},"4a3e":function(e,t,s){},"4a4b":function(e,t,s){"use strict";s("7368")},"4c81":function(e,t,s){},"4cd3":function(e,t,s){},"4d41":function(e,t,s){"use strict";s("e184")},"4e65":function(e,t,s){},"4fec":function(e,t,s){"use strict";s("4a3e")},"53cc":function(e,t,s){},"553e":function(e,t,s){"use strict";s("ce64")},"564c":function(e,t,s){},"589e":function(e,t,s){"use strict";s("ab60")},"5a3e":function(e,t,s){"use strict";s("a5c9")}
1,"5cc8":function(e,t,s){"use strict";s("2784")},"5e1a":function(e,t,s){},"607d":function(e,t,s){},"639d":function(e,t,s){"use strict";s("cc84")},"63d1":function(e,t,s){},6774:function(e,t,s){},"69d2":function(e,t,s){},"6c4f":function(e,t,s){},"70dd":function(e,t,s){"use strict";s("e05d")},7368:function(e,t,s){},7406:function(e,t,s){"use strict";s("7c07")},7555:function(e,t,s){"use strict";s("4c81")},7580:function(e,t,s){"use strict";s("34a8")},"7c07":function(e,t,s){},"7f70":function(e,t,s){},"81c2":function(e,t,s){"use strict";s("4495")},"86a3":function(e,t,s){},"87ae":function(e,t,s){"use strict";s("3579")},"8ba9":function(e,t,s){"use strict";s("c7b6")},9081:function(e,t,s){"use strict";s("35e6")},9423:function(e,t,s){"use strict";s("aefe")},9598:function(e,t,s){},"96c8":function(e,t,s){"use strict";s("468b")},9899:function(e,t,s){"use strict";s("86a3")},"9d67":function(e,t,s){"use strict";s("330e")},"9d9b":function(e,t,s){"use strict";s("b7f1")},"9de9":function(e,t,s){"use strict";s("26ab")},a08a:function(e,t,s){},a567:function(e,t,s){},a5c9:function(e,t,s){},ab60:function(e,t,s){},ab80:function(e,t,s){"use strict";s("69d2")},ac50:function(e,t,s){},ad8f:function(e,t,s){},aefe:function(e,t,s){},b30d:function(e,t,s){},b3bf:function(e,t,s){"use strict";s("ad8f")},b51c:function(e,t,s){"use strict";s("223e")},b7f1:function(e,t,s){},bafe:function(e,t,s){},bbe7:function(e,t,s){"use strict";s("63d1")},be73:function(e,t,s){"use strict";s("4838")},bece:function(e,t,s){"use strict";s("53cc")},bfbb:function(e,t,s){"use strict";s("4cd3")},bff3:function(e,t,s){"use strict";s("40de")},c306:function(e,t,s){"use strict";s("6774")},c332:function(e,t,s){"use strict";s("2c44")},c7b6:function(e,t,s){},ca61:function(e,t,s){},cc84:function(e,t,s){},cd5c:function(e,t,s){"use strict";s("4e65")},ce64:function(e,t,s){},d3e3:function(e,t,s){"use strict";s.d(t,"a",(function(){return i}));var a=s("2b0e"),i=new a["a"]},d619:function(e,t,s){"use strict";s("4288")},df92:function(e,t,s){"use strict";s("2061")},e05d:function(e,t,s){},e184:function(e,t,s){},e41f:function(e,t,s){"use strict";s("444b")},e567:function(e,t,s){},e62a:function(e,t,s){"use strict";s("f9c1")},e810:function(e,t,s){"use strict";s("607d")},e9f1:function(e,t,s){"use strict";s("5e1a")},ebe8:function(e,t,s){"use strict";s("2f56")},ec64:function(e,t,s){"use strict";s("0fe7")},ef353:function(e,t,s){"use strict";s("ac50")},f1b1:function(e,t,s){"use strict";s("bafe")},f824:function(e,t,s){"use strict";s("e567")},f9c1:function(e,t,s){},feea:function(e,t,s){},ffd7:function(e,t,s){"use strict";s("7f70")}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.