PageSourceSearch

https://resource.flomoapp.com/flomo-web/js/8392.a2da01e6.js

js flomoapp.com collected 2026-09-24 10:34:50 UTC 6,755 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ba06f970-657e-403c-9918-67838591a258",e._sentryDebugIdIdentifier="sentry-dbid-ba06f970-657e-403c-9918-67838591a258")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"20260923130852"},(self.webpackChunkflomo=self.webpackChunkflomo||[]).push([[8392],{68392:function(e,t,n){n.r(t),n.d(t,{default:function(){return c}});var i=n(30112),o=n(74238),s=n(86426),a=n(73430),l=(n(32033),{name:"SingleMemoInsightAnnouncementDialog",props:{show:{type:Boolean,default:!1},title:{type:String,default:""},description:{type:String,default:""},ctaText:{type:String,default:""},closeLabel:{type:String,default:"关闭"},zIndex:{type:Number,default:3200},maskClosable:{type:Boolean,default:!0}},emits:["close","confirm","update:show"],data(){return{isTeleportReady:!1}},computed:{overlayStyle(){return{zIndex:this.zIndex,"--flomo-layer-base":String(this.zIndex)}}},watch:{show:{immediate:!0,handler(e){this.handleBodyScroll(!!e)}}},mounted(){this.$nextTick(()=>{this.isTeleportReady=!0}),document.addEventListener("keydown",this.handleEscapeKey)},beforeDestroy(){document.removeEventListener("keydown",this.handleEscapeKey),this.handleBodyScroll(!1)},methods:{handleClose(){this.$emit("close"),this.$emit("update:show",!1)},handleConfirm(){this.$emit("confirm")},handleOverlayClick(){this.maskClosable&&this.handleClose()},handleEscapeKey(e){"Escape"===e.key&&this.show&&this.handleClose()},handleBodyScroll(e){document.body.style.overflow=e?"hidden":""}}}),r=n(53460),h={name:"SingleMemoInsightPopupManager",components:{SingleMemoInsightAnnouncementDialog:(0,r.A)(l,function(){var e=this,t=e._self._c;return t("teleport",{attrs:{to:"body",disabled:!e.isTeleportReady}},[t("transition",{attrs:{name:"smi-announce-fade"}},[e.show?t("div",{staticClass:"smi-announce-overlay",style:e.overlayStyle,attrs:{"data-flomo-layer-root":"dialog","data-flomo-layer-z":e.zIndex},on:{click:e.handleOverlayClick}},[t("transition",{attrs:{name:"smi-announce-content"}},[e.show?t("div",{staticClass:"smi-announce-sheet",on:{click:function(e){e.stopPropagation()}}},[t("button",{staticClass:"smi-announce-close",attrs:{type:"button","aria-label":e.closeLabel},on:{click:e.handleClose}},[t("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"}},[t("path",{attrs:{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])]),t("div",{staticClass:"smi-announce-header"},[t("img",{staticClass:"smi-announce-header-image smi-announce-header-image--light",attrs:{src:n(86728),alt:""}}),t("img",{staticClass:"smi-announce-header-image smi-announce-header-image--dark",attrs:{src:n(54043),alt:""}})]),t("div",{staticClass:"smi-announce-main"},[t("div",{staticClass:"smi-announce-text"},[t("p",{staticClass:"smi-announce-title"},[e._v(e._s(e.title))]),t("p",{staticClass:"smi-announce-desc"},[e._v(e._s(e.description))])]),t("button",{staticClass:"smi-announce-cta",attrs:{type:"button"},on:{click:e.handleConfirm}},[e._v(" "+e._s(e.ctaText)+" ")])])]):e._e()])],1):e._e()])],1)},[],!1,null,"38533adc",null).exports},setup(){const{track:e}=(0,a.Vu)();return{track:e}},data(){return{visible:!1,mode:"",pendingMemoSlug:"",pendingTrialMemo:null,announceWatcher:null}},computed:{dialogTitle(){return this.$t("components.memoInsight.announceDialog.title")},dialogDescription(){return this.$t("components.memoInsight.announceDialog.description")},dialogCtaText(){return"trial"===this.mode?this.$t("components.memoInsight.announceDialog.trial_cta"):this.$t("components.memoInsight.announceDialog.announce_cta")}},mounted(){this.$store.dispatch("announcement/getAnnouncement"),this.tryShowAnnouncePopup(),this.announceWatcher=this.$watch(()=>this.$store.getters["announcement/show"],e=>{e&&this.visible&&this.closePopup(!1),e||this.tryShowAnnouncePopup()}),i.default.on("singleMemoInsight:checkTrialPopup",this.handleTrialPopupCheck)},beforeDestroy(){this.announceWatcher&&(this.announceWatcher(),this.announceWatcher=null),i.default.off("singleMemoInsight:checkTrialPopup",this.handleTrialPopupCheck),(0,s.ll)(!1)}
1,methods:{getTrialExperimentGroup(){return(0,s.L6)(this.$store)},trackTrialPopupView(){this.track("homepage_insight_popup_view",{group:this.getTrialExperimentGroup()})},trackTrialPopupClick(){this.track("homepage_insight_popup_click",{group:this.getTrialExperimentGroup()})},trackTrialPopupDismiss(){this.track("homepage_insight_popup_dismiss",{group:this.getTrialExperimentGroup()})},tryShowAnnouncePopup(){this.visible||(0,s.MK)(this.$store)&&this.openPopup("announce")},async handleTrialPopupCheck(e){if(!e)return;if(this.visible)return void("announce"===this.mode&&(this.pendingTrialMemo=e));if((0,s.w8)(this.$store))return;if((0,s.dT)())return;if(!(0,s.DB)(e.content))return;const t=e.fake_slug||e.slug;t&&("idle"!==this.$store.getters.bizConfigStatus&&"loading"!==this.$store.getters.bizConfigStatus||await this.$store.dispatch("loadBizConfig",{configKeys:["biz_single_memo_insight_trial"]}),(0,s.Ah)(this.$store)&&(await(0,s.rQ)(this.$store),(0,s.vJ)(this.$store.state.me)&&(this.pendingTrialMemo=null,this.pendingMemoSlug=t,this.openPopup("trial"))))},async flushPendingTrialPopup(){const e=this.pendingTrialMemo;this.pendingTrialMemo=null,e&&await this.handleTrialPopupCheck(e)},openPopup(e){this.mode=e,this.visible=!0,"trial"===e&&((0,s.ll)(!0),this.trackTrialPopupView())},closePopup(e){e&&("trial"===this.mode?(0,s.ML)():"announce"===this.mode&&(0,s.EV)()),this.visible=!1,"trial"===this.mode&&(0,s.ll)(!1),this.mode="",this.pendingMemoSlug=""},async handleClose(){"trial"===this.mode&&this.trackTrialPopupDismiss(),this.closePopup(!0),await this.flushPendingTrialPopup()},async handleConfirm(){const e=this.mode,t=this.pendingMemoSlug;"trial"===e&&this.trackTrialPopupClick(),this.closePopup(!0),"trial"===e&&t?await(0,o.j)(t):await this.flushPendingTrialPopup()}}},c=(0,r.A)(h,function(){var e=this;return(0,e._self._c)("SingleMemoInsightAnnouncementDialog",{attrs:{show:e.visible,title:e.dialogTitle,description:e.dialogDescription,"cta-text":e.dialogCtaText,"close-label":e.$t("components.memoInsight.announceDialog.close")},on:{close:e.handleClose,confirm:e.handleConfirm}})},[],!1,null,null,null).exports},54043:function(e,t,n){e.exports=n.p+"img/memo-insight-dialog-top-dark.4d71e7f3.png"},86728:function(e,t,n){e.exports=n.p+"img/memo-insight-dialog-top.6d32ae9d.png"}}]);

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.