"use strict";(self.webpackChunk_client_app_store=self.webpackChunk_client_app_store||[]).push([[8053],{63097:function(e,t,r){r.d(t,{Z:function(){return s}});var n=function(){var e=this._self._c,t=this._self._setupProxy;return e(t.ExposureObserver,{attrs:{threshold:t.props.threshold,disabled:t.disabled},on:{exposure:t.handleExposure}},[this._t("default")],2)};n._withStripped=!0;var o=r(90015),i=function(){return(0,this._self._c)(this._self._setupProxy.TransparentSlot,{ref:"root"},[this._t("default")],2)};i._withStripped=!0;var a=r(65666),u=(0,o.aZ)({__name:"ExposureObserver",props:{disabled:{type:Boolean},threshold:null},emits:["exposure"],setup:function(e,t){var r,n=t.emit,i=(0,o.iH)();return(0,o.YP)(function(){var t;if(!e.disabled)return null===(t=i.value)||void 0===t?void 0:t.$el},function(t,o){if(t&&!r&&(r=new IntersectionObserver(function(e){var t=e.find(function(e){return e.isIntersecting});t&&n("exposure",t)},{threshold:e.threshold})),r){if(!t){r.disconnect(),r=void 0;return}o&&r.unobserve(o),r.observe(t)}},{immediate:!0,flush:"post"}),{__sfc:!0,props:e,emit:n,root:i,observer:r,TransparentSlot:a.Z}}}),l=r(6080),c=(0,l.Z)(u,i,[],!1,null,null,null).exports,p=(0,o.aZ)({__name:"ExposureObserverForOnce",props:{threshold:null},emits:["exposure"],setup:function(e,t){var r=t.emit,n=(0,o.iH)(!1);return{__sfc:!0,props:e,emit:r,disabled:n,handleExposure:function(e){n.value=!0,r("exposure",e)},ExposureObserver:c}}}),s=(0,l.Z)(p,n,[],!1,null,null,null).exports},65666:function(e,t,r){var n=r(32970);t.Z=(0,n.a)({name:"TransparentSlot",render:function(){var e;return null===(e=this.$slots.default)||void 0===e?void 0:e[0]}})},96445:function(e,t,r){r.d(t,{h:function(){return i}});var n=r(60795),o=r(29260);function i(){return(0,n.h_)(o._f,{},{dedupingInterval:6e4})}},55102:function(e,t,r){r.d(t,{n:function(){return b}});var n=r(40048),o=r(25405),i=r(99116),a=r(90015),u=r(58661),l=r(40217),c=r(60795),p=r(84437),s=r(29260),d=r(13982),v=r(96445),f=r(4937),_=r(75054),h=r(9084),m=r(86055),O=r(90207);function b(e){var t,r=e.item,b=e.installInfo,E=e.getAuthFromSource,g=e.getAuthReportTasks,y=(0,a.FN)().proxy,M=(0,o.Yf)().$userAgent,w=(0,u.tv)(),P=(0,i.V)(r),T=(0,i.V)(b),A=(t=(0,p.FS)(),(0,c.h_)(s.uZ,{termid:(0,d.A)(t)},{dedupingInterval:6e5})).data,k=(0,v.h)().data,S=(0,a.Fl)(function(){var e;return(null===(e=P.value)||void 0===e?void 0:e.recommend_type)===m.Xx.RECOMMEND_TYPE_SYSTEM_CONFIG}),C=(0,a.Fl)(function(){if(b)return!!(null===(n=T.value)||void 0===n?void 0:n.is_in_perm);if(S.value)return!0;var e,t,r,n,o=null===(e=P.value)||void 0===e?void 0:e.corp_app_id;if(!o)return!1;var i=null===(t=null===(r=A.value)||void 0===r?void 0:r.data.installed_app_list)||void 0===t?void 0:t.install_app_info;return!!(null==i?void 0:i.some(function(e){return e.corp_app_id===o}))}),R=(0,a.Fl)(function(){var e,t,r;return b?(null===(e=T.value)||void 0===e?void 0:e.has_suiteauth)?"AuthMode_User"===T.value.cur_auth_mode?h.gm.member:h.gm.manager:h.gm.uninstalled:null!==(r=null===(t=P.value)||void 0===t?void 0:t.app_install_mode)&&void 0!==r?r:h.gm.uninstalled}),x=function(){var e,t=null===(e=P.value)||void 0===e?void 0:e.ad_flag;if(t)switch(+t){case m.NJ.RECOMMEND_AD_FLAG_KEY_WORD:return M.isWecom?l.Pl.MarketPCSearchAd:l.Pl.MarketSearchAd;case m.NJ.RECOMMEND_AD_FLAG_HOME_PAGE:return M.isWecom?l.Pl.MarketPCRecommendAd:l.Pl.MarketRecommendAd;case m.NJ.RECOMMEND_AD_FLAG_CATEGORY:return M.isWecom?l.Pl.MarketPCCategoryAd:l.Pl.MarketCategoryAd;default:return M.isWecom?l.Pl.AppMarketPC:l.Pl.Market}},j=(0,a.Fl)(function(){if(P.value){var e,t,r,n,o,i,a={recommendApp:P.value,hasLogin:null===(e=k.value)||void 0===e?void 0:e.hasLogin,isSuperAdmin:null===(t=k.value)||void 0===t?void 0:t.isSuperAdmin,hasAddAppPrivilege:null===(r=k.value)||void 0===r?void 0:r.hasAddAppPrivilege,canMemberAuth:null===(n=k.value)||void 0===n?void 0:n.isCanMemberAuth,installMode:R.value,isInAppScope:C.value,vcode:null===(o=k.value)||void 0===o?void 0:o.vcode,appAuthList:null===(i=k.value)||void 0===i?void 0:i.appAuthList,isPersonalApp:P.value.recommend_type===m.Xx.RECOMMEND_TYPE_PERSONAL_DEVELOPER,getAuthFromSource:E||x,getAuthReportTasks:g};return M.isMobile?(0,h.CA)(y,a):(0,h.$V)(y,a)}});return{btn:j,onClick:function(){if(P.value&&j.value){if(g&&sessionStorage.setItem("authReportTasks_".concat(P.value.thirdapp_id),JSON.stringify(g(j.value.authMode))),M.isMobile&&M.isWecom){(0,f.qX)(y,P.value),y.$emit("click");return}var e,t,r,o=(null==E?void 0:E())===l.Pl.PCWorkBenchPlus,i={name:S.value?"/sysApp":"/app",params:{appId:P.value.thirdapp_id},query:(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o;n=e,o=r[t],t in n?Object.defineProperty(n,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[t]=o})}return e}({appId:P.value.thirdapp_id},(0,_.YK)(y),(0,_.S5)(y),(0,_.kK)(y)),r=r={authFrom:null==E?void 0:E()},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t)};o?null===(e=(0,n.X8f)({url:"".concat(location.protocol,"//").concat(location.host).concat(w.resolve(i).href),newTab:{title:O.H,logo:l.fE,openOnWorkbench:1}}))||void 0===e||e.finally(function(){(0,n.onL)()}):w.push(i),y.$emit("click")}}}}},23034:function(e,t,r){r.d(t,{XQ:function(){return o},kn:function(){return u},qt:function(){return l}});var n,o,i=r(34176);(n=o||(o={}))[n.RECOMMEND_CARD_ITEM=1]="RECOMMEND_CARD_ITEM",n[n.RECOMMEND_LIST_ITEM=2]="RECOMMEND_LIST_ITEM",n[n.RECOMMEND_SECOND_ITEM=3]="RECOMMEND_SECOND_ITEM",n[n.CATEGORY_LIST_ITEM=4]="CATEGORY_LIST_ITEM",n[n.CATEGORY_SECOND_ITEM=5]="CATEGORY_SECOND_ITEM",n[n.SEARCH_LIST_ITEM=6]="SEARCH_LIST_ITEM";var a=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),this.timesMap=new Map}var t=e.prototype;return t.getTokenByExposureData=function(e,t){var r;return"".concat(null!=t?t:"","_").concat(e.key,"_").concat(null===(r=Object.values(e.value))||void 0===r?void 0:r.join("_"))},t.setRportTimes=function(e,t){var r=this.getTokenByExposureData(e,null==t?void 0:t.tokenPrefix),n=this.getReportTimes(e,t);this.timesMap.set(r,n+1)},t.getReportTimes=function(e,t){var r=this.getTokenByExposureData(e,null==t?void 0:t.tokenPrefix);return this.timesMap.get(r)||0},e}());function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{maxReportTimes:1},r=arguments.length>2?arguments[2]:void 0;t.maxReportTimes&&a.getReportTimes(r,t)>=t.maxReportTimes||(e.$reportOsslog(r),a.setRportTimes(r,t))}function l(e,t){var r,n,o=t.item,a=t.pageindex,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{maxReportTimes:1},c=(r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o;n=e,o=r[t],t in n?Object.defineProperty(n,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[t]=o})}return e}({},function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.thirdapp_id?{apptype:1,appid:t.thirdapp_id}:t.app_data?{apptype:1,appid:t.app_data.thirdapp_id}:t.open_case_id?{apptype:2,appid:t.open_case_id}:t.promotioncase_data?{apptype:2,appid:t.promotioncase_data.open_case_id}:t.hardware_data?{apptype:3,appid:null===(e=t.hardware_data)||void 0===e?void 0:e.good_id}:void 0}(o)),n=n={pageindex:a},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r);u(e,l,{key:80001777,value:["%Vid","%Platform","%OS","%Version","%ClientIP","%ClientTime","%corpid","%gid",c.apptype,c.appid,c.pageindex,(0,i.pL)(e)]})}},84810:function(e,t,r){r.d(t,{Hl:function(){return u},ml:function(){return a},qz:function(){return i}});var n=["//wework.qpic.cn/wwpic/","//wework.qpic.cn/wwpic3az/"],o={"//p.qlogo.cn/bizmail/":[40,60,100,140,640],"//p.qpic.cn/bizmail/":[40,60,100,140,640],"//p.qlogo.cn/pic_wework/":[290,640,1280],"//p.qpic.cn/pic_wework/":[290,640,1280],"//wework.qpic.cn/bizmail/":[40,60,100,140,640],"//wework.qpic.cn/wwpic3az/":[40,60,100,140,240,480,640,1280],"//wx.qlogo.cn/mmhead/":[46,64,96,132]};function i(e,t){if(!e)return e;var r=l(e);if(!r)return e;if(!r.length)return c(e,t);var n=r.find(function(e){return e>=t});return n?c(e,n):e}function a(e,t){if(e&&/\/\d*$/.test(e)){var r=l(e);if(r){for(var n=[],o=0,i=[1,1.5,2,3];o<i.length;o++)!function(o,i){var a=i[o],u=Math.round(t*a);if(r.length){var l=r.find(function(e){return e>=u});l&&n.push("".concat(c(e,l)," ").concat(a,"x"))}else n.push("".concat(c(e,u)," ").concat(a,"x"))}(o,i);return n.join(", ")}}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(e&&/\/\d*$/.test(e)){var r=l(e);if(r){for(var n=[],o=0,i=[375,720,1080,1920];o<i.length&&"break"!==function(o,i){var a=i[o],u=Math.round(a*t);if(r.length){var l=r.find(function(e){return e>=u});if(!l)return n.push("".concat(e," ").concat(a,"w")),"break";n.push("".concat(c(e,l)," ").concat(a,"w"))}else n.push("".concat(c(e,u)," ").concat(a,"w"))}(o,i);o++);return n.join(", ")}}}function l(e){var t=e.replace(/^https?:/,"");if(n.some(function(e){return t.startsWith(e)}))return[];var r=!0,i=!1,a=void 0;try{for(var u,l=Object.keys(o)[Symbol.iterator]();!(r=(u=l.next()).done);r=!0){var c=u.value;if(t.startsWith(c))return o[c]}}catch(p){i=!0,a=p}finally{try{r||null==l.return||l.return()}finally{if(i)throw a}}}function c(e,t){return e.replace(/\/\d*$/,"/".concat(t)).replace(/^http:/i,"https:")}}}]);