PageSourceSearch

http://fetalmedicine.org/website/js/Mine.d30b936f.js

js fetalmedicine.org collected 2026-10-02 09:57:12 UTC 49,386 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkfmf_website"]=self["webpackChunkfmf_website"]||[]).push([[226],{18295:function(t,e,i){i.r(e),i.d(e,{default:function(){return Z}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"mine"},[e("div",{staticClass:"vcontainer main-container"},[e("span",{staticClass:"mine-title"},[t._v("Own Page")]),e("div",{staticClass:"fill hcontainer mine-body"},[e("div",{staticClass:"vcontainer mine-left"},[e("div",{staticClass:"vcontainer vcenter"},[e("span",{staticClass:"mine-name"},[t._v(t._s(t.userInfo.firstName)+" "+t._s(t.userInfo.lastName))]),e("span",{staticClass:"mine-title mine-title1"},[t._v("FMF ID: "+t._s(t.userInfo.fmfId))])]),e("div",{staticClass:"fill vcontainer mine-userinfo-container"},[e("div",{staticClass:"hcontainer mine-userinfo"},[e("el-image",{staticClass:"mine-userinfo-icon",attrs:{src:i(72582)}}),e("div",{staticClass:"vcontainer"},[e("span",{staticClass:"mine-userinfo-label"},[t._v("Institution")]),e("span",[t._v(t._s(t.userInfo.institution))])])],1),e("div",{staticClass:"hcontainer mine-userinfo"},[e("el-image",{staticClass:"mine-userinfo-icon",attrs:{src:i(61090)}}),e("div",{staticClass:"vcontainer"},[e("span",{staticClass:"mine-userinfo-label"},[t._v("Institution name")]),e("span",[t._v(t._s(t.userInfo.institutionName))])])],1),e("div",{staticClass:"hcontainer mine-userinfo"},[e("el-image",{staticClass:"mine-userinfo-icon",attrs:{src:i(21884)}}),e("div",{staticClass:"vcontainer"},[e("span",{staticClass:"mine-userinfo-label"},[t._v("Clinical specialty")]),e("span",[t._v(t._s(t.userInfo.clinicalSpecialty))])])],1),e("div",{staticClass:"hcontainer mine-userinfo"},[e("el-image",{staticClass:"mine-userinfo-icon",attrs:{src:i(55606)}}),e("div",{staticClass:"vcontainer"},[e("span",{staticClass:"mine-userinfo-label"},[t._v("Email")]),e("span",[t._v(t._s(t.userInfo.email))])])],1),e("div",{staticClass:"hcontainer mine-userinfo"},[e("el-image",{staticClass:"mine-userinfo-icon",attrs:{src:i(78601)}}),e("div",{staticClass:"vcontainer"},[e("span",{staticClass:"mine-userinfo-label"},[t._v("Date of birth")]),e("span",[t._v(t._s(t.userInfo.birthday))])])],1),e("div",{staticClass:"hcontainer mine-userinfo"},[e("el-image",{staticClass:"mine-userinfo-icon",attrs:{src:i(22432)}}),e("div",{staticClass:"vcontainer"},[e("span",{staticClass:"mine-userinfo-label"},[t._v("Country")]),e("span",[t._v(t._s(t.userInfo.country))])])],1)]),e("el-button",{staticClass:"mine-btn",attrs:{type:"text"},on:{click:t.editClick}},[t._v("Details")])],1),e("div",{staticClass:"fill vcontainer mine-right"},[e("div",{staticClass:"tabs-scroll-wrap"},[t.tabsCanScrollLeft?e("button",{staticClass:"tabs-arrow tabs-arrow--left",on:{click:function(e){return t.shiftTab(-1)}}},[t._v("‹")]):t._e(),e("div",{ref:"tabsWrap",staticClass:"tabs-inner"},[e("div",{staticClass:"hcontainer vcenter tabs"},t._l(t.tabList,function(i,a){return e("span",{directives:[{name:"show",rawName:"v-show",value:6!==a||t.showAffiliateProgramme,expression:"tabIndex !== 6 || showAffiliateProgramme"}],key:a,ref:"tab_"+a,refInFor:!0,class:["tab-item",{active:a===t.curTabIndex}],on:{click:function(e){return t.tabClick(a)}}},[t._v(" "+t._s(i.name)+" ")])}),0)]),t.tabsCanScrollRight?e("button",{staticClass:"tabs-arrow tabs-arrow--right",on:{click:function(e){return t.shiftTab(1)}}},[t._v("›")]):t._e()]),e("div",{staticClass:"hcontainer vcenter flex-between mine-right-top"},[t.curTabIndex!=t.tabList.length-1?e("div",{staticClass:"header-title"},[t._v(t._s(t.tabList[t.curTabIndex].name)+t._s(4!==t.curTabIndex?` (${t.pageConfig.total})`:""))]):e("div",{staticClass:"myCountry-title"},[e("span",{class:{active:"all"==t.currentType},on:{click:function(e){t.currentType="all"}}},[t._v("Submissions")]),e("span",{class:{active:"history"==t.currentType},on:{click:function(e){t.currentType="history"}}},[t._v("Assessment History")])]),4!==t.curTabIndex?e("el-pagination",{staticClass:"pagination-container",attrs:{layout:"total, prev, pager, next","current-page":t.pageConfig.pageNo,"page-size":t.pageConfig.pageSize,total:t.pageConfig.total,"pager-count":7}
1,on:{"update:currentPage":function(e){return t.$set(t.pageConfig,"pageNo",e)},"update:current-page":function(e){return t.$set(t.pageConfig,"pageNo",e)},"current-change":t.getListDataFn}}):t._e()],1),e("div",{staticClass:"fill vcontainer mine-content"},[4===t.curTabIndex?e("MyLicence"):t._l(t.listData,function(i,a){return e("div",{key:a,class:["hcontainer vcenter","flex-between mine-item"]},[0===t.curTabIndex?e("MyCourses",{attrs:{item:i}}):1===t.curTabIndex?e("MyOrders",{attrs:{item:i}}):2===t.curTabIndex?e("MyRegistrations",{attrs:{item:i}}):3===t.curTabIndex?e("AbstractApprovals",{attrs:{item:i}}):5===t.curTabIndex?e("MyFellowShip",{attrs:{userInfo:t.userInfo,item:i}}):6===t.curTabIndex?e("MyCountry",{attrs:{userInfo:t.userInfo,currentType:t.currentType,item:i},on:{refreshList:t.getListDataFn}}):t._e()],1)})],2)])])])])},s=[],n=(i(44114),i(18111),i(22489),i(61701),i(1910)),o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"myLicence"},[t._m(0),e("div",{staticClass:"myLicence-versions-box"},[e("div",{staticClass:"hcontainer flex-between licence-version-item"},[t._m(1),e("div",{staticClass:"vcontainer licence-version-actions"},[e("el-button",{staticClass:"mine-btn",attrs:{type:"text"},on:{click:function(e){return t.handleShowDetails("v1")}}},[t._v("Details")]),e("el-button",{staticClass:"mine-btn",attrs:{type:"text"},on:{click:function(e){return t.downloadLicenceFn("v1")}}},[t._v("Download")])],1)]),e("div",{staticClass:"hcontainer flex-between licence-version-item licence-version-item--last"},[t._m(2),e("div",{staticClass:"vcontainer licence-version-actions"},[e("el-button",{staticClass:"mine-btn",attrs:{type:"text"},on:{click:function(e){return t.handleShowDetails("v2")}}},[t._v("Details")]),e("el-button",{staticClass:"mine-btn",attrs:{type:"text"},on:{click:function(e){return t.downloadLicenceFn("v2")}}},[t._v("Download")])],1)])]),e("el-dialog",{attrs:{visible:t.dialogObj.visible,title:"Details","custom-class":"licence-details-dialog","append-to-body":!0,"destroy-on-close":!0,top:"0",width:"520px"},on:{close:function(e){t.dialogObj.visible=!1}}},[e("div",{staticClass:"licence-dialog-body"},["v1"===t.dialogObj.type?[e("p",[e("strong",[t._v("V2 version:")])]),e("p",[t._v("This license is valid for the software versions:")]),e("ul",[e("li",[t._v("FMF FTS - old software")]),e("li",[t._v("astraia: version "),e("strong",[t._v("1.24.7 up to 1.25.2")])]),e("li",[t._v("ViewPoint: version "),e("strong",[t._v("5.6.9 or higher")])])]),e("p",[e("strong",[t._v("Do not open the file.")]),t._v(" Save the file to a convenient location, enter Options in the software, and import the license.")])]:[e("p",[e("strong",[t._v("V3 version:")])]),e("p",[t._v("This license is valid only for astraia version "),e("strong",[t._v("1.26 or higher")])]),e("p",[e("strong",[t._v("Do not open the file.")]),t._v(" Save the file to a convenient location, enter Options in the software, and import the license.")])]],2),e("div",{staticClass:"hcontainer vcenter hcenter",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticClass:"w-150",on:{click:function(e){t.dialogObj.visible=!1}}},[t._v("Close")])],1)])],1)},l=[function(){var t=this,e=t._self._c;return e("p",{staticClass:"myLicence-desc"},[t._v(" Your personal FMF license is now available to you, and it is valid for a period of 12 months from the date of each download."),e("br"),t._v(" The license gives you access to all methods of screening for chromosomal abnormalities and preeclampsia."),e("br"),t._v(" If you wish to exclude some markers from risk calculation, please do so through the Options page within your software."),e("br"),t._v(" Please select the appropriate license version below, depending on the software used in your clinic. ")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"vcontainer"},[e("span",{staticClass:"licence-version-title"},[t._v("V2 version")]),e("span",{staticClass:"licence-version-info"},[t._v("FMF FTS - old software")]),e("span",{staticClass:"licence-version-info"},[t._v("Astraia: 1.24.7 upto 1.25.2")]),e("span",{staticClass:"licence-version-info"},[t._v("ViewPoint: version 5.6.9 or higher")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"vcontainer"},[e("span",{staticClass:"licence-version-title"},[t._v("V3 version")]),e("span",{staticClass:"licence-version-info"}
1,[t._v("Astraia: version 1.26 or higher")])])}],r={name:"MyLicence",data(){return{dialogObj:{visible:!1,type:"v1"},showLicenceDetailsV1:!1,showLicenceDetailsV2:!1}},methods:{handleShowDetails(t){this.dialogObj.visible=!0,this.dialogObj.type=t},async downloadLicenceFn(t){try{"v1"===t?await this.$api.downloadLicenceV1():await this.$api.downloadLicenceV2()}catch(e){this.$message.error("Failed to download licence"),console.error("Error downloading licence:",e)}}}},c=r,d=i(81656),u=(0,d.A)(c,o,l,!1,null,"cb6cdf02",null),p=u.exports,m=function(){var t=this,e=t._self._c;return e("div",{staticClass:"myOrders"},[e("div",{staticClass:"fill vcontainer flex-around mine-order-main"},[e("div",{staticClass:"hcontainer vcenter flex-between"},[e("div",{staticClass:"hcontainer vcenter"},[e("div",{staticClass:"hcontainer vcenter mr-10"},[e("span",{staticClass:"order-sn",on:{click:function(e){return t.orderClick(t.item)}}},[t._v(t._s(t.item.orderId))]),e("span",{staticClass:"order-name",domProps:{innerHTML:t._s(t.item.congressTitle||"")}})]),e("span",{class:["mine-item-status",(t.item.paymentStatus||"").toLowerCase()]},[t._v(t._s(t.item.paymentStatus))])])]),e("div",{staticClass:"w100 hcontainer vcenter flex-between mv-10"},[e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Registration type")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t._f("registrationTypeF")(t.item.registrationType)))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Payment Time")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.paymentTime))])]),t.item[`${t.item.documentType}Url`]?e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Document")]),e("el-link",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary"},on:{click:function(e){return t.letterClick("/app-api/fmf/user/congress"+t.item[`${t.item.documentType}Url`])}}},[t._v(t._s(t.item.documentType+".pdf"))])],1):t._e()]),e("div",{staticClass:"w100 hcontainer vcenter flex-between"},[e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Number of Registrants")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.numberOfRegistrants))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Amount Payable")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.totalAmount))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Amount Paid")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.paidAmount))])])])]),"Unpaid"===t.item.paymentStatus?e("div",{staticClass:"vcontainer flex-around ml-50 mine-order-actions"},[e("el-button",{staticClass:"mine-btn",attrs:{type:"text"},on:{click:function(e){return t.payClick(t.item)}}},[t._v(" Proceed to Pay ")])],1):t._e(),e("PaymentDialog",{attrs:{visible:t.showPaymentDialog,paymentToken:t.paymentToken,stripeOrderId:t.stripeOrderId,stripeQuantity:t.stripeQuantity,stripePayType:t.stripePayType},on:{close:t.paymentClose,success:t.paymentSuccess}})],1)},g=[],v=i(18754),h={name:"MyOrders",components:{PaymentDialog:v.A},props:{item:{type:Object,default:()=>{}}},inject:["letterClick"],data(){return{paymentToken:"",stripeOrderId:"",stripeQuantity:1,stripePayType:"",showPaymentDialog:!1}},methods:{orderClick(t){this.$router.push("/orderDetail?id="+t.orderId)},payClick(t){this.stripeOrderId=t.orderId,this.stripeQuantity=t.quantity||1,this.stripePayType=t.payType||"",this.createPayTokenFn(t.totalAmount,t.currency,t.orderId)},createPayTokenFn(t,e,i,a="SALE"){this.$api.createPayToken({amount:t,currency:e,orderId:i,transactionType:a}).then(t=>{200!==t.code&&0!==t.code||!t.data||(this.paymentToken=t.data.tokenId,this.showPaymentDialog=!0)}).catch(t=>{console.log("err:",t)})},paymentSuccess(){this.showPaymentDialog=!1,this.$emit("refreshList")},paymentClose(){this.showPaymentDialog=!1}}},b=h,f=(0,d.A)(b,m,g,!1,null,null,null),C=f.exports,y=function(){var t=this,e=t._self._c;return e("div",{staticClass:"myRegistrations w100 flex-row"},[e("div",{staticClass:"myRegistrations-left w100 vcontainer flex-around",staticStyle:{height:"100%"}},[e("div",{staticClass:"hcontainer vcenter mine-item-header"},[e("el-link",{staticClass:"mine-registration-title",attrs:{type:"1"!=t.
1item.publishStatus||"Supported Courses"==t.item.congressType&&"0"!==t.item.registrationHostedBy?"info":"primary",disabled:"1"!=t.item.publishStatus||"Supported Courses"==t.item.congressType&&"0"!==t.item.registrationHostedBy},on:{click:function(e){return t.handleRouter(t.item)}}},[t._v(t._s(t.item.congressTitle))]),e("span",{class:["mine-item-status",(t.item.registrationStatus||"").toLowerCase().replace(" ","-")]},[t._v(t._s(t.formatRegistrationStatus(t.item.registrationStatus)))])],1),e("div",{staticClass:"hcontainer vcenter flex-between"},[e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Order ID")]),e("span",{staticClass:"mine-item-link",on:{click:function(e){return t.$router.push("/orderDetail?id="+t.item.orderId)}}},[t._v(t._s(t.item.orderId))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Registration type")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t._f("registrationTypeF")(t.item.registrationType)))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Congress type")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.congressType))])])])]),e("div",{staticClass:"myRegistrations-right vcontainer flex-around ml-50"},[e("el-button",{staticClass:"mine-btn",attrs:{type:"text",disabled:!(((t.item.registrationType||"").toLowerCase().includes("group")||"Manual"==t.item.registrationType)&&"Incomplete Registration"===t.item.registrationStatus)},on:{click:function(e){return t.registerClick(t.item)}}},[t._v("Register")]),e("el-button",{staticClass:"mine-btn",attrs:{type:"text",disabled:!t.item.visaUrl},on:{click:function(e){return t.letterClick("/app-api/fmf/user/congress"+t.item.visaUrl)}}},[t._v(" Visa Letter ")]),e("el-button",{staticClass:"mine-btn reg-desktop-only",attrs:{type:"text",disabled:!t.item.certificateUrl||1!==t.item.isSendEmail||"Attended"!==t.item.attendanceStatus},on:{click:function(e){return t.letterClick("/app-api/fmf/user/congress"+t.item.certificateUrl)}}},[t._v(" Certificate ")]),"Supported Courses"!==t.item.congressType?e("el-button",{staticClass:"mine-btn reg-desktop-only",class:{"mine-btn--contest-active":t.isImageContestEnabled(t.item)},attrs:{type:"text",disabled:!t.isImageContestEnabled(t.item)},on:{click:function(e){return t.imageContestClick(t.item)}}},[t._v(" Image Contest ")]):t._e(),e("el-dropdown",{staticClass:"reg-more-btn",attrs:{trigger:"click"},on:{command:function(e){return t.handleRegMoreAction(e,t.item)}}},[e("span",{staticClass:"mine-btn reg-more-trigger"},[t._v("More "),e("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("el-dropdown-item",{attrs:{disabled:!t.item.certificateUrl||1!==t.item.isSendEmail||"Attended"!==t.item.attendanceStatus,command:"certificate"}},[t._v("Certificate")]),"Supported Courses"!==t.item.congressType?e("el-dropdown-item",{attrs:{command:"imageContest",disabled:!t.isImageContestEnabled(t.item)}},[e("span",{class:{"reg-more-contest-active":t.isImageContestEnabled(t.item)}},[t._v("Image Contest")])]):t._e()],1)],1)],1),e("el-dialog",{attrs:{visible:t.imageContestClosedDialog,title:"FMF Clinical Image Contest",width:"min(480px, calc(100vw - 32px))","append-to-body":!0,"destroy-on-close":!0},on:{"update:visible":function(e){t.imageContestClosedDialog=e}}},[e("p",{staticStyle:{"line-height":"1.7",color:"#333","font-size":"15px",margin:"0"}},[t._v(" Submissions for the FMF Image Contest are now closed. If you have any questions, please contact "),e("a",{staticStyle:{color:"#036fc0","text-decoration":"none"},attrs:{href:"mailto:[email protected]"}},[t._v("[email protected]")])]),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary"},on:{click:function(e){t.imageContestClosedDialog=!1}}},[t._v("OK")])],1)])],1)},A=[],_={name:"MyRegistrations",props:{item:{type:Object,default:()=>{}}},inject:["letterClick"],data(){return{imageContestClosedDialog:!1}},methods:{...(0,n.i0)("user",["changeActiveId"]),handleRouter(t){1==t.publishStatus&&("Congress"==t.congressType?(this.changeActiveId("/congress"),this.$router.push(`/congress?categoryName=${t.congressTitle}`)):"Supported Courses"==t.congressType&&"0"===t.registrationHostedBy?(this.changeActiveId("/fmf-supported-courses"),this.$router.push(`/fmf-supported-course-detail?categoryName=${t.congressTitle}`)):"Advances Course"==t.congressType&&(this.changeActiveId("/fmf-advances-courses"),this.$router.push(`/fmf-advances-courses?categoryName=${t.congressTitle}`)))},formatRegistrationStatus(t){return"Incomplete Registration"===t?"Registered-incomplete information":t},isImageContestEnabled(t){if("Registered"!==t.registrationStatus)return!1;const e=t=>t?new Date(t.replace(" ","T")).getTime():null,i=e(t.contestStartTime),a=e(t.contestEndTime),s=Date.now();return!(i&&s<i)&&!(a&&s>a)},handleRegMoreAction(t,e){if("certificate"===t){if(!e.certificateUrl||1!==e.isSe
1ndEmail||"Attended"!==e.attendanceStatus)return;this.letterClick("/app-api/fmf/user/congress"+e.certificateUrl)}else"imageContest"===t&&this.imageContestClick(e)},async imageContestClick(t){if("Registered"===t.registrationStatus)try{const e=await this.$api.getImageContestPage({congressId:t.congressId,pageSize:1});if(!e||200!==e.code&&0!==e.code)return;const i=e.data&&Array.isArray(e.data.list)&&e.data.list[0],a=i&&Array.isArray(i.imageList)&&i.imageList.length>0;if(a)this.$router.push(`/imageContest?id=${t.congressId}&readonly=true`);else{const e=t=>t?new Date(t.replace(" ","T")).getTime():null,i=e(t.contestEndTime);i&&Date.now()>i?this.imageContestClosedDialog=!0:this.$router.push(`/participate?id=${t.congressId}`)}}catch{this.$message.error("Failed to check image contest status.")}else this.$message.warning("Please complete your congress registration before participating in the Image Contest.")},registerClick(t){this.$router.push(`/mineReg?id=${t.id}&congressId=${t.congressId}`)}}},w=_,T=(0,d.A)(w,y,A,!1,null,"bcc86f9a",null),I=T.exports,x=function(){var t=this,e=t._self._c;return e("div",{staticClass:"abstractApprovals"},[e("div",{staticClass:"fill vcontainer flex-around",staticStyle:{height:"100%"}},[e("div",{staticClass:"hcontainer vcenter mine-item-header"},[e("span",{staticClass:"mine-item-title"},[t._v(t._s(t.item.abstractsTitle))]),e("span",{class:["mine-item-status",t.item.status]},[t._v(t._s(t._f("approvalStatusF")(t.item.status)))])]),e("div",{staticClass:"hcontainer vcenter flex-between two-col-row"},[e("div",{staticClass:"vcontainer flex-between data-col"},[e("div",{staticClass:"hcontainer vcenter mb-10"},[e("span",{staticClass:"mine-item-label"},[t._v("Congress Title")]),e("span",{staticClass:"mine-item-value",domProps:{innerHTML:t._s(t.item.congressTitle||"")}})]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Speaker")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s((t.item.firstName||"")+" "+(t.item.lastName||"")))])])]),e("div",{staticClass:"vcontainer flex-between data-col"},[e("div",{staticClass:"hcontainer vcenter mb-10"},[e("span",{staticClass:"mine-item-label"},[t._v("Submitted at")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.submittedAt))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("E-poster")]),t.item.presentationFileList&&t.item.presentationFileList[0]&&t.item.presentationFileList[0].url?e("span",{staticClass:"mine-item-value"},[e("span",{staticClass:"link-span",on:{click:function(e){return t.handlePreview(t.item.presentationFileList[0].url)}}},[t._v(t._s(t.item.presentationFileList[0].name))])]):t._e()])])]),e("div",{staticClass:"hcontainer vcenter mt-10"},[e("span",{staticClass:"mine-item-label",staticStyle:{"font-weight":"bold",color:"#0E3045"}},[t._v("E-poster Submission Deadline Date")]),e("span",{staticClass:"mine-item-value",staticStyle:{"font-weight":"bold"}},[t._v(t._s(t.item.deadlineTime||"-"))])])]),e("div",{staticClass:"vcontainer abstractApprovals-btn ml-50"},[e("el-button",{staticClass:"mine-btn",attrs:{type:"text"},on:{click:function(e){return t.reviewClick(t.item)}}},[t._v("Review Details")]),e("el-button",{staticClass:"mine-btn",attrs:{type:"text",disabled:t.isUploadDisabled(t.item)},on:{click:function(e){return t.uploadClick(t.item)}}},[t._v("Upload e-poster")]),e("el-button",{staticClass:"mine-btn",attrs:{type:"text",disabled:!t.item.certificateUrl||1!==t.item.isSendAbstractemail},on:{click:function(e){return t.certificateClick(t.item)}}},[t._v("Certificate")])],1),e("el-dialog",{attrs:{visible:t.showUploadDialog,title:"Upload","close-on-click-modal":!1,"close-on-press-escape":!1,"append-to-body":!0,"destroy-on-close":!0,width:t.uploadDialogWidth,fullscreen:t.uploadDialogFullscreen,top:t.uploadDialogTop,"custom-class":"upload-dialog"},on:{close:function(e){t.showUploadDialog=!1}}},[e("el-upload",{attrs:{action:"#",accept:t.uploadObj.accept,limit:t.uploadObj.limit,"show-file-list":!1,"before-upload":t.beforeUpload}},[e("div",{staticClass:"upload-dialog-inner"},[e("el-button",{attrs:{size:"small",type:"primary",disabled:t.uploadFileList.length>=t.uploadObj.limit}},[t._v("Upload")]),e("p",{staticClass:"upload-dialog-note"},[t._v(" Note: Maximum file size is "+t._s(t.uploadObj.size/1048576)+"MB, and only one file can be uploaded. ")])],1),t.uploadFileList.length?e("div",{staticClass:"upload-dialog-tags"},t._l(t.uploadFileList,function(i){return e("el-tag",{key:i.id,attrs:{closable:"",type:""},on:{close:function(e){return t.uploadFileRemove(i)},click:function(e){return t.handlePreview(i.url)}}},[t._v(" "+t._s(i.name)+" ")])}),1):t._e()]),e("div",{staticClass:"hcontainer vcenter hcenter footer upload-dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticClass:"w-150",on:{click:function(e){t.showU
1ploadDialog=!1}}},[t._v("Cancel")]),e("el-button",{staticClass:"w-150",attrs:{type:"primary"},on:{click:t.submitFn}},[t._v("Submit")])],1)],1)],1)},k=[],D={name:"AbstractApprovals",props:{item:{type:Object,default:()=>{}}},inject:["getListDataFn","letterClick"],filters:{approvalStatusF(t){return"PendingReview"==t?"Pending Review":t}},data(){return{showUploadDialog:!1,curApproval:null,uploadFileList:[],uploadObj:{accept:".pdf",size:209715200,limit:1},uploadDialogWidth:"500px",uploadDialogFullscreen:!1,uploadDialogTop:"8vh"}},watch:{showUploadDialog(t){t&&this.updateUploadDialogLayout()}},mounted(){this.updateUploadDialogLayout(),window.addEventListener("resize",this.updateUploadDialogLayout)},methods:{...(0,n.i0)("user",["changeActiveId"]),isUploadDisabled(t){return"Approved"!=t.status},async uploadClick(t){if(t.deadlineTime){const e=this.$moment().startOf("day"),i=this.$moment(t.deadlineTime).startOf("day");if(e.isAfter(i))return void this.$alert('The deadline has passed. Please email us for any further assistance at: <span style="color:#036FC0;">[email protected]</span>',"Tip",{confirmButtonText:"OK",dangerouslyUseHTMLString:!0}).catch(()=>{})}t.toPublish?(this.curApproval=t,this.uploadFileList=[],Array.isArray(t.presentationFileList)&&t.presentationFileList.length>0&&(this.uploadFileList=[...t.presentationFileList]),this.showUploadDialog=!0):this.$alert('You are not currently registered to the congress. Registration is required before submitting the e-poster. If another author is attending, please inform us by email at: <span style="color:#036FC0;">[email protected]</span>',"Tip",{confirmButtonText:"Cancel",dangerouslyUseHTMLString:!0}).catch(()=>{})},async submitFn(){if(0===this.uploadFileList.length)return void this.$message.error("Please upload the file");const t={...this.curApproval,presentationFile:this.uploadFileList.map(t=>t.id).join(","),presentationFileList:this.uploadFileList};this.$api.presentationUpdate(t).then(t=>{200!==t.code&&0!==t.code||(this.showUploadDialog=!1,this.getListDataFn())})},handlePreview(t){window.open(t)},uploadFileRemove(t){this.uploadFileList=this.uploadFileList.filter(e=>e.id!==t.id)},beforeUpload(t){return this.beforeUploadFn(t,this.uploadObj,async t=>{console.log(t);const e=this.$loading({lock:!0,text:"Uploading...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});try{const i=await this.$api.uploadFile(t,"congress","congress").catch(t=>t);if(e.close(),i.code)return void this.$message.error("Request failed");this.uploadFileList.push({id:i.id,name:t.name,url:i.url})}catch{e.close(),this.$message.error("Failed to upload")}}),!1},async uploadFileChange(t){try{const e=this.$loading({lock:!0,text:"Uploading...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),i=await this.$api.uploadFile(t.raw,"congress","congress").catch(t=>t);e.close(),this.uploadFileList.push({id:i.id,name:t.name,url:i.url})}catch{this.$message.error("Failed to upload")}},reviewClick(t){this.$router.push("/reviewDetail?id="+t.id)},certificateClick(t){t.certificateUrl&&1===t.isSendAbstractemail&&this.letterClick("/app-api/fmf/user/congress"+t.certificateUrl)},updateUploadDialogLayout(){if("undefined"===typeof window)return;const t=window.innerWidth;t<=576?(this.uploadDialogFullscreen=!0,this.uploadDialogWidth="100%",this.uploadDialogTop="0"):(this.uploadDialogFullscreen=!1,this.uploadDialogTop=t<=768?"2vh":"8vh",this.uploadDialogWidth=t<=768?"94%":t<=1100?"92%":"500px")},getClickStatus(t,e){return this.currentTime.getTime()>=new Date(e).getTime()&&this.currentTime.getTime()<=new Date(t).getTime()}},beforeDestroy(){window.removeEventListener("resize",this.updateUploadDialogLayout)}},S=D,L=(0,d.A)(S,x,k,!1,null,"46b359c6",null),F=L.exports,O=function(){var t=this,e=t._self._c;return e("div",{staticClass:"myCourses"},[e("div",{staticClass:"myCourses-left vcontainer flex-around"},[e("div",{staticClass:"hcontainer vcenter mine-item-header"},[e("span",{staticClass:"mine-item-title"},[t._v(t._s(t.item.coursesTitle))]),1===t.item.examResults?e("span",{staticClass:"mine-item-status pass"}
1,[t._v("Pass")]):t._e(),0==t.item.examResults?[t.item.coursesLearnCount<t.item.coursesTotal?e("span",{staticClass:"mine-item-status not-attempted"},[t._v("In Progress")]):t._e(),t.item.coursesLearnCount==t.item.coursesTotal?e("span",{staticClass:"mine-item-status examPending"},[t._v("Completed-Exam Pending")]):t._e()]:t._e(),2==t.item.examResults?[e("span",{staticClass:"mine-item-status not-attempted"},[t._v("Failed")])]:t._e()],2),e("div",{staticClass:"hcontainer vcenter flex-between"},[e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Update Status")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(1==t.item.updateStatus?"Updated":"Updating"))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Learning Progress")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.coursesLearnCount||0)+"/"+t._s(t.item.coursesTotal||0))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Exam time")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t._f("examTimeF")(t.item.examTime)))])])])]),e("div",{staticClass:"vcontainer myCourses-btns flex-around"},[e("el-button",{staticClass:"mine-btn",attrs:{type:"text",disabled:1==t.item.examResults||1!=t.item.updateStatus||t.item.coursesLearnCount!=t.item.coursesTotal},on:{click:function(e){return t.examClick(t.item)}}},[t._v(" Final test ")]),e("el-button",{staticClass:"mine-btn",attrs:{type:"text",disabled:1!=t.item.examResults},on:{click:function(e){return t.certClick(t.item)}}},[t._v(" Certification ")])],1)])},U=[],R=(i(14603),i(47566),i(98721),{name:"MyCourses",props:{item:{type:Object,default:()=>{}}},data(){return{}},filters:{examTimeF(t){return t?t.split("T")[0]:"-"}},methods:{examClick(t){this.$utils.startExam(t.coursesId,t.coursesTitle)},async certClick(t){try{await this.$api.generateCourseCompletionCertificate({coursesId:t.coursesId});const e=await this.$api.websiteCourseCompletionCertificate(t.coursesId,t.userId).catch(t=>t),i=new Blob([e],{type:"application/pdf"}),a=URL.createObjectURL(i),s=window.open(a,"_blank");s&&(s.onbeforeunload=()=>{URL.revokeObjectURL(a)})}catch(e){this.$message.error("Failed to preview document"),console.error("Error previewing document:",e)}}}}),P=R,E=(0,d.A)(P,O,U,!1,null,null,null),j=E.exports,B=function(){var t=this,e=t._self._c;return e("div",{staticClass:"myCourses"},[e("div",{staticClass:"myCourses-left vcontainer flex-around"},[e("div",{staticClass:"hcontainer vcenter mine-item-header"},[e("span",{staticClass:"mine-item-title"},[t._v(t._s(t.item.certificate))])]),e("div",{staticClass:"hcontainer vcenter flex-between"},[e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Course")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.course||"-"))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Practical Date")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.defineFormat(t.item.practicalDate)))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Certified")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.defineFormat(t.item.certified)))])])])]),e("div",{staticClass:"vcontainer myCourses-btns flex-around"},[e("el-button",{staticClass:"mine-btn",attrs:{type:"text",disabled:!t.item.certificateUrl},on:{click:function(e){return t.certClick(t.item)}}},[t._v(" Certificate ")])],1)])},M=[],N={name:"MyCourses",props:{item:{type:Object,default:()=>{}},userInfo:{type:Object,default:()=>{}}},inject:["letterClick"],data(){return{}},methods:{async certClick(t){this.letterClick("/app-api/fmf/user/congress"+t.certificateUrl)}}},z=N,Q=(0,d.A)(z,B,M,!1,null,null,null),V=Q.exports,Y=function(){var t=this,e=t._self._c;return e("div",{staticClass:"myCourses"},[e("div",{staticClass:"myCourses-left vcontainer flex-around"},[e("div",{staticClass:"hcontainer vcenter mine-item-header"},[e("span",{staticClass:"mine-item-title"},[t._v(t._s(t.item.imageTitle))]),"history"==t.currentType&&"Pass"==t.item.status?[e("div",{staticClass:"myCountry-status",class:"0"===t.item.validityType?"temporary":"permanent"},[e("span",[t._v("Expiry date:"+t._s("0"==t.item.validityType?t.defineFormat(t.item.validityEnd):"Permanent"))])])]:t._e()],2),e("div",{staticClass:"hcontainer vcenter flex-between"},["all"==t.currentType?[e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Renewal period")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s("0"===t.item.validityType?"One Year":"Permanent"))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Course")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.courseName))])])]:[e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Status")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.status))])]),e("div",{staticClass:"hcontainer vcenter"},[e("span",{staticClass:"mine-item-label"},[t._v("Submission date")]),e("span",{staticClass:"mine-item-value"},[t._v(t._s(t.item.submissionDate))])])]],2)]),e("div",{staticClass:"vcontainer myCourses-btns flex-around"},["all"==t.currentType?[e("el-button",{staticClass:"mine-btn",attrs:{type:"text"},on:{click:function(e){return t.handleAbout(t.item)}}},[t._v(" About ")]),e("el-button",{staticClass:"mine-btn",attrs:{type:"text",disabled:t.item.isU
1pload},on:{click:function(e){return t.uploadClick(t.item)}}},[t._v(" Upload Images ")])]:[e("el-link",{staticStyle:{"margin-bottom":"8px"},attrs:{type:"primary"},on:{click:function(e){return t.handleDetail(t.item)}}},[t._v("Details")]),e("el-link",{staticStyle:{"margin-bottom":"8px"},attrs:{type:"primary",disabled:!!t.item.appealDescription||"Pass"==t.item.status||"Pending"==t.item.status},on:{click:function(e){return t.handleAppeal(t.item)}}},[t._v("Appeal")]),"Pass"==t.item.status?e("el-link",{attrs:{type:"primary",disabled:!t.item.certificate},on:{click:function(e){t.item.certificate&&t.letterClick("/app-api/fmf/user/congress"+t.item.certificate)}}},[t._v("Certificate")]):t._e()]],2),e("el-dialog",{attrs:{title:t.dialogObj.title,visible:t.dialogObj.visible,"append-to-body":"","modal-append-to-body":!1,"custom-class":"uploadImage-dialog",width:t.dialogObj.width},on:{"update:visible":function(e){return t.$set(t.dialogObj,"visible",e)}}},["uploadImage"==t.dialogObj.component?[e("div",{staticClass:"uploadImage-dialog-tips"},[t._v('To upload images, you need to complete the online course "'),e("span",[t._v(t._s(t.dialogObj.obj.coursesTitle))]),t._v('"')]),e("div",{staticClass:"uploadImage-dialog-container"},[e("div",{staticClass:"uploadImage-dialog-container-title"},[e("span",[t._v(t._s(t.dialogObj.obj.coursesTitle))]),1===t.dialogObj.obj.examResults?e("span",{staticClass:"pt-4 pb-4 pl-8 pr-8 bg-[#E5FFF6] color-[#23C36E] border-[#23C36E] br-4 fs-12 ml-24",staticStyle:{"font-weight":"normal"}},[t._v("Pass")]):t._e(),0==t.dialogObj.obj.examResults?[t.dialogObj.obj.coursesLearnCount<t.dialogOb
1j.obj.coursesTotal?e("span",{staticClass:"pt-4 pb-4 pl-8 pr-8 bg-[#ddd] color-[#333] br-4 fs-12 ml-24",staticStyle:{"font-weight":"normal"}},[t._v("In Progress")]):t._e(),t.dialogObj.obj.coursesLearnCount==t.dialogObj.obj.coursesTotal?e("span",{staticClass:"pt-4 pb-4 pl-8 pr-8 bg-[#F0F9FF] color-[#0895FF] border-[#0895FF] br-4 fs-12 ml-24",staticStyle:{"font-weight":"normal"}},[t._v("Completed-Exam Pending")]):t._e()]:t._e(),2==t.dialogObj.obj.examResults?[e("span",{staticClass:"pt-4 pb-4 pl-8 pr-8 bg-[#EEEEEE] color-[#656B6F] border-[#656B6F] br-4 fs-12 ml-24",staticStyle:{"font-weight":"normal"}},[t._v("Failed")])]:t._e()],2),e("div",{staticClass:"uploadImage-dialog-container-content"},[e("div",{staticClass:"uploadImage-dialog-container-content-item"},[e("span",{staticClass:"uploadImage-dialog-container-content-item-label"},[t._v("Update Status")]),e("span",{staticClass:"uploadImage-dialog-container-content-item-value"},[t._v(t._s(1==t.dialogObj.obj.updateStatus?"Updated":"Updating"))])]),e("div",{staticClass:"uploadImage-dialog-container-content-item"},[e("span",{staticClass:"uploadImage-dialog-container-content-item-label"},[t._v("Learning Progress")]),e("span",{staticClass:"uploadImage-dialog-container-content-item-value"},[t._v(t._s(t.dialogObj.obj.coursesLearnCount||0)+"/"+t._s(t.dialogObj.obj.coursesTotal||0))])]),e("div",{staticClass:"uploadImage-dialog-container-content-item"},[e("span",{staticClass:"uploadImage-dialog-container-content-item-label"},[t._v("Exam Results")]),e("span",{staticClass:"uploadImage-dialog-container-content-item-value"}
1,[t._v(t._s(t.defineFormat(t.dialogObj.obj.examTime,"YYYY-MM-DD HH:mm:ss")))])])])])]:[e("div",{staticClass:"uploadImage-dialog-tips"},[t._v("If your images were assessed and failed within the last two weeks and you disagree with the outcome, you may submit an appeal together with an explanation.")]),e("div",{staticClass:"uploadImage-dialog-container"},[e("div",{staticClass:"uploadImage-dialog-container-title"},[e("span",{staticClass:"color-[red]"},[t._v("*")]),t._v("Appeal Description")]),e("div",{staticClass:"uploadImage-dialog-container-content flex-col"},[e("el-input",{attrs:{placeholder:"Please enter",type:"textarea",rows:6,autofocus:"","show-word-limit":!0,resize:"none"},model:{value:t.dialogObj.obj.appealDescription,callback:function(e){t.$set(t.dialogObj.obj,"appealDescription",e)},expression:"dialogObj.obj.appealDescription"}})],1)])],e("div",{staticClass:"hcontainer vcenter hcenter",attrs:{slot:"footer"},slot:"footer"},["uploadImage"==t.dialogObj.component?e("el-button",{staticClass:"w-150",attrs:{type:"primary",round:""},on:{click:function(e){t.dialogObj.visible=!1}}},[t._v("Close")]):[e("el-button",{staticClass:"w-150",attrs:{type:"info",round:""},on:{click:function(e){t.dialogObj.visible=!1}}},[t._v("Dismiss")]),e("el-button",{staticClass:"w-150",attrs:{type:"primary",round:""},on:{click:t.handleDialogSubmit}},[t._v("Submit")])]],2)],2),t.aboutDialogVisible?e("div",{ref:"aboutOverlay",staticClass:"about-overlay",attrs:{role:"dialog","aria-modal":"true","aria-labelledby":"about-dialog-title"},on:{click:function(e){return e.target!==e.currentTarget?null:t.closeAboutDialog.apply(null,arguments)}}},[e("div",{staticClass:"about-modal",style:{width:t.aboutDialogWidth}},[e("div",{staticClass:"about-modal-header"},[e("span",{staticClass:"about-modal-title",attrs:{id:"about-dialog-title"}},[t._v("About")]),e("button",{staticClass:"about-modal-close",attrs:{type:"button","aria-label":"Close"},on:{click:t.closeAboutDialog}},[e("i",{staticClass:"el-icon-close"})])]),e("div",{staticClass:"about-modal-body about-dialog-content",domProps:{innerHTML:t._s(t.aboutContent)}}),e("div",{staticClass:"about-modal-footer about-dialog-footer"},[e("el-button",{staticClass:"w-150",attrs:{type:"primary",round:""},on:{click:t.closeAboutDialog}},[t._v("Close")])],1)])]):t._e()],1)},$=[],K={name:"MyCourses",inject:["letterClick"],props:{item:{type:Object,default:()=>{}},userInfo:{type:Object,default:()=>{}},currentType:{type:String,default:"all"}},data(){return{dialogObj:{title:"Upload Images",visible:!1,obj:{},width:"800px",component:"uploadImage"},aboutDialogVisible:!1,aboutContent:"",aboutDialogWidth:"800px"}},watch:{aboutDialogVisible(t){t?(this.updateAboutDialogLayout(),this.$nextTick(()=>{this.mountAboutOverlay()})):this.unmountAboutOverlay()}},mounted(){this.updateAboutDialogLayout(),window.addEventListener("resize",this.updateAboutDialogLayout),this._aboutKeyHandler=t=>{"Escape"===t.key&&this.aboutDialogVisible&&this.closeAboutDialog()}},beforeDestroy(){window.removeEventListener("resize",this.updateAboutDialogLayout),this.unmountAboutOverlay()},filters:{examTimeF(t){return t?t.replace("T"," "):"-"}},methods:{examClick(t){this.$utils.startExam(t.coursesId,t.coursesTitle)},async uploadClick(t){try{const e=await this.$api.getUserLearingProcessResult(t.courseId);if(0===e.code)if(e.data)this.$router.push({name:"UpdateMyUploadImage",query:{id:t.id}});else{const e=await this.$api.webUserLearingProcessPage({userId:this.userInfo.id,coursesId:t.courseId});0===e.code&&(this.dialogObj.obj=e.data?.list?.[0]||{}),this.dialogObj.title="Upload Images",this.dialogObj.component="uploadImage",this.dialogObj.visible=!0}}catch(e){console.log(e)}},handleDetail(t){this.$router.push({name:"MyUploadImageDetail",query:{id:t.id}})},handleAppeal(t){this.dialogObj.title="Appeal",this.dialogObj.visible=!0,this.dialogObj.obj=t,this.dialogObj.component="appeal"},handleAbout(t){this.aboutContent=t.about||"",this.updateAboutDialogLayout(),this.aboutDialogVisible=!0},closeAboutDialog(){this.aboutDialogVisible=!1},mountAboutOverlay(){const t=this.$refs.aboutOverlay;t&&t.parentNode!==document.body&&document.body.appendChild(t),document.addEventListener("keydown",this._aboutKeyHandler),this._aboutBodyOverflowSaved||(this._aboutBodyOverflowSaved=document.body.style.overflow),document.body.style.overflow="hidden"},unmountAboutOverlay(){this._aboutKeyHandler&&document.removeEventListener("keydown",this._aboutKeyHandler),void 0!==this._aboutBodyOverflowSaved&&(document.body.style.overflow=this._aboutBodyOverflowSaved,this._aboutBodyOverflowSaved=void 0)},updateAboutDialogLayout(){if("undefined"===typeof window)return;const t=window.innerWidth;this.aboutDialogWidth=t<=576?"92%":t<=768?"94%":t<=1100?"92%":"800px"}
1,async handleDialogSubmit(){if(this.dialogObj.obj.appealDescription)try{let t={...this.dialogObj.obj};const e=await this.$api.updateImageReviewLog(t);0===e.code&&(this.$message({message:"Appeal submitted successfully",type:"success"}),this.dialogObj.visible=!1,this.$emit("refreshList"))}catch(t){console.log(t)}}}},H=K,W=(0,d.A)(H,Y,$,!1,null,null,null),G=W.exports,J={name:"MinePage",components:{MyLicence:p,MyOrders:C,MyRegistrations:I,AbstractApprovals:F,MyCourses:j,MyFellowShip:V,MyCountry:G},provide(){return{letterClick:this.letterClick,getListDataFn:this.getListDataFn}},data(){return{userInfo:{},tabList:[{name:"Courses"},{name:"Orders"},{name:"Registrations"},{name:"Abstract Approvals"},{name:"Licence"},{name:"Fellowship"},{name:"FMF Affiliate Programme"}],curTabIndex:0,currentType:"all",pageConfig:{pageNo:1,pageSize:5,total:0},listData:[],paymentToken:"",showPaymentDialog:!1,uploadFileList:[],currentTime:new Date,imageContestClosedDialog:!1,tabsCanScrollLeft:!1,tabsCanScrollRight:!1,showAffiliateProgramme:!1,uploadObj:{accept:".pdf",size:209715200,limit:1},uploadDialogWidth:"500px",uploadDialogFullscreen:!1,uploadDialogTop:"8vh"}},computed:{baseUrl(){return window.location.origin+""},visibleTabIndices(){return this.tabList.map((t,e)=>e).filter(t=>6!==t||this.showAffiliateProgramme)}},watch:{currentType(){this.pageConfig.pageNo=1,this.pageConfig.total=0,this.getListDataFn()}},methods:{...(0,n.i0)("user",["changeActiveId"]),getOwnUserInfoFn(){this.$api.getOwnUserInfo({}).then(t=>{200!==t.code&&0!==t.code||!t.data?this.userInfo={}:this.userInfo=t.data,this.checkAffiliateProgrammeVisible()}).catch(t=>{console.log("err:",t),this.userInfo={}})},async checkAffiliateProgrammeVisible(){try{const t=await this.$api.getImageReviewLogUserPage({pageNo:1,pageSize:1,publishStatus:"1",country:this.userInfo.country});t&&(200===t.code||0===t.code)&&t.data&&(t.data.total>0||Array.isArray(t.data.list)&&t.data.list.length>0)&&(this.showAffiliateProgramme=!0)}catch(t){}},tabClick(t){this.curTabIndex=t,this.pageConfig.pageNo=1,this.pageConfig.total=0,this.currentType="all",this.getListDataFn(),this.$nextTick(()=>this.scrollTabIntoView(t))},scrollTabIntoView(t){const e=this.$refs.tabsWrap,i=this.$refs["tab_"+t];if(!e||!i)return;const a=Array.isArray(i)?i[0]:i,s=12,n=e.getBoundingClientRect(),o=a.getBoundingClientRect(),l=o.left-n.left,r=o.right-n.left;l<s?e.scrollBy({left:l-s,behavior:"smooth"}):r>n.width-s&&e.scrollBy({left:r-n.width+s,behavior:"smooth"}),this.$nextTick(()=>this.updateTabArrows())},shiftTab(t){const e=this.visibleTabIndices,i=e.indexOf(this.curTabIndex),a=Math.max(0,Math.min(e.length-1,i+t));if(a!==i)this.tabClick(e[a]);else{const e=this.$refs.tabsWrap;e&&e.scrollBy({left:80*t,behavior:"smooth"}),this.$nextTick(()=>this.updateTabArrows())}},updateTabArrows(){const t=this.$refs.tabsWrap;t&&(this.tabsCanScrollLeft=t.scrollLeft>2,this.tabsCanScrollRight=t.scrollLeft+t.clientWidth<t.scrollWidth-2)},editClick(){this.$router.push({path:"personalInformation"})},letterClick(t){window.open(this.baseUrl+t)},async getListDataFn(){if(4===this.curTabIndex)return this.listData=[],void(this.pageConfig.total=0);1===this.pageConfig.pageNo&&(this.listData=[]);let t=null;t=6===this.curTabIndex?"all"==this.currentType?await this.$api.getImageReviewLogUserPage({pageNo:this.pageConfig.pageNo,pageSize:this.pageConfig.pageSize,publishStatus:"1",country:this.userInfo.country}).catch(t=>t):await this.$api.getImageReviewLogPage({pageNo:this.pageConfig.pageNo,pageSize:this.pageConfig.pageSize,fmfId:this.userInfo.fmfId}).catch(t=>t):5===this.curTabIndex?await this.$api.getCourseCertificatePage({fmfId:this.userInfo.fmfId,pageNo:this.pageConfig.pageNo,pageSize:this.pageConfig.pageSize}).catch(t=>t):3===this.curTabIndex?await this.$api.presentationGet({pageNo:this.pageConfig.pageNo,pageSize:this.pageConfig.pageSize}).catch(t=>t):2===this.curTabIndex?await this.$api.registrationGet({pageNo:this.pageConfig.pageNo,pageSize:this.pageConfig.pageSize}).catch(t=>t):1===this.curTabIndex?await this.$api.orderGet({pageNo:this.pageConfig.pageNo,pageSize:this.pageConfig.pageSize}).catch(t=>t):await this.$api.webUserLearingProcessPage({pageNo:this.pageConfig.pageNo,pageSize:this.pageConfig.pageSize}).catch(t=>t),t&&(200===t.code||0===t.code)&&t.data&&Array.isArray(t.data.list)?(this.listData=t.data.list,this.pageConfig.total=t.data.total||0):(this.listData=[],this.pageConfig.total=0)}},mounted(){this.getOwnUserInfoFn(),this.getListDataFn(),this.$nextTick(()=>{this.updateTabArrows();const t=this.$refs.tabsWrap;t&&t.addEventListener("scroll",()=>this.updateTabArrows())})}}
1,X=J,q=(0,d.A)(X,a,s,!1,null,null,null),Z=q.exports},21884:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABsUlEQVR4AbySv0vDQBTHv+/U6iwqHRxcBAcFBwcF3QQHB/8ABa1NhzZqFAdx00kFl2qLg4qKS8G1oE4uFRwcBd3aUWgFwcX+oM+XSENqMySl+Ljv5ZJ773PvG06hxfFPwB1u70zyieirK8nZQILnvBpx7TDQh00wNAYORW9ESOGI+71AXYHEGCeFTEmnXSohSkBXp8IoPIQrULp6ZoGK5U10YE/WlWIZLx54cAWW8jiQLgvS2SEI01UFDRuUaxqIbgSlyyBXEf3WqbccoysvMDPHtcNAO+ZBqBQrSJlJfuQKFLsLAkljgz7l6Ws0ADuOeYyAYbk2dTYjMSMb0Q12SosZ139PawCqNrELFIoF3NUlEwaY+RxcDVkCMiA03E0bGI6uzi7H1pcGPx4XRvL3r+G8MR/W1xZrsuAkKCKuisSB8Dho7kdWjBlrXyYbqJRKtxFfTLzf9Izmb6cU6NIpSBBIq30T2iRAQ+a7wG03Cs4QO6fJOPmR9BxyIuqBzp0m1/VAoi1NNx78CFLjPNsGMmEfoCcCcn4EqfmthRU28CwR35Z/F2pGZq1Fk8kGyrol4wcAAP//wS5sXQAAAAZJREFUAwBzg+MpG3r5hgAAAABJRU5ErkJggg=="},22432:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAACKUlEQVR4AbyUQWjTUBiA/z9NXTuHkyLTgdMNBFEP9iAUTx687uBlggeh0EY0wYYdhF3E7uBJxDU0LXQdThgMT07YVczRgSiKelmhRcUVHXWidQGT/L7/ME22prAx9shH3nv/e99L3v8SCXa57K1wTFX7FDWnZ1V9WfBakEmn07FuL9XxCTOadjyr6Q/6MfqJEPOAsAhILwGoKPceqGfV3J2srh/uJA4Ir2l6SlH1JxLINSAYRaK808aRqlkYr5qG0nbsITGhKBa4Dn+okVH1h4o2fgZ8RcT/tzwiSww+5HnuWO3Dm1PTJaMwOzu1tjFivlJZrZSMu7X3b4eAPAUBzhF5CxtxvgeEiBgj1709Uy4uWJbl8IBOcKxaLs4hePeFVPaPCQj9gZ3WQ4W8lyIxzzuhqLly2IKhQpFRS0xKIkEDeG8For4mGPYQXkBICRVyQjyUf78aGG3OnS40mOWDqVUH5S8zpvEoxAehQp7gYDTeih9Ni8zzWcy34scuOZFYH8fC6Crscdd/XKybV2wNR5jUyuNbPe6vVpiM+7sKbXl/4tmwOh8zqc4sDV6+tx7pH+CJYXQVRl37Z8L+zPs1KQSTCfvj031u+99BF31bri1CkqSzyo2bFxiJnEjy6+LK1Xe5OnPi+9K3CDm9HGMI8ORmY0BIQE0JcQokyWLEl3NkU3sCEZIcYxBxQhyvJviK5KuD+AEMTpsF3BYl47zfERD6Azut77rwLwAAAP//d/IAUgAAAAZJREFUAwDABPIpox425wAAAABJRU5ErkJggg=="},55606:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABT0lEQVR4AeRTvUrDUBg9XxHbTiq4uKiDk5uLoG/gCwgOCg5CIRXdXPsGii2KCP68gYODgnvXiqO+QCeHiqbY3us9H0mMJI3VukhDzs3H+SM34ebwx9cwF25s771ueTv2N2A2/BXRN8wbv/g0tmjqU6utZnGuAms2s0APvcwwmygkMdp9O3icWG7ezpZ3L+cPn0+PqhdpoEYPvcwwGyJ6QxLTrfuHNrAgwE1OcJWv2X1U7Ag1hZvJUaOHXmZUC5Yvhcp58uKXZc0CJQhKhUnUCzU7o3AzOWr0wHk1E1uShYHY9uTEAEtWMO4KGgo3k6MW2BKPnoV0vnvS4LZEcE1wJketFzILNeS25XuyTqRtUT2x5fvCmLmf8X8VdiC5858ePWbcp+g46B1tuWvMStZRy9I0q3VAVHh2XL1LO2b9cMwGfZ+FITHoM3rDQYvC/AcAAAD//xPcCyQAAAAGSURBVAMAMcUOON8QNREAAAAASUVORK5CYII="},61090:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABq0lEQVR4AbyTvUoDQRSFzx0TDWIhaCGiSEBLsRFsFBNEsBBstbHxB91oRLBVsRNEMJpsE5G8gT6ARYr0prBTEDSFhUgKi41kM841BJbdzERBHPiWnXPvfLszMAJ/PP5fGL6Q4x1p+RBJy5dwWk602lDgD5fW13vXNrenF5MHM/0nzwuCcEhASQLFNuCYM65xz3Ii0eP/QEDYFY7cQYg8ibbb987BGyLMq0UFEPKK2HematzTjtAjfEP45mpKA9J149dDB1E1AT4RdbZov5KgU37njGvcQ0A3fKOJsN7hAGW1TQfteIpkpGT4XUpUHRcf9a7gUyvELpUrLkZQQ9xLpYYo9ugtqKoneiHXk1RytinvBSrjkg6jcMWyhlet5KEXznQyzo1CF+hSBz8JolgDiVAfL9RhFOZsu5i1z2cvM6l4gyv7vKCTcW4Urm5sxdasnScvK1ZyjhfqMAqrTqgI1I68uKiqTKcDjMJc7qyctS9yXtQxvOp1LYSmhbpa0z+UQozx5TfBPc2kzYQFQXTGl98E96hreO+XBoTZTGpKQT/h0k6NthT6G347/wIAAP//CJ+pJgAAAAZJREFUAwC/NMkpiJuMhQAAAABJRU5ErkJggg=="},72582:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAB7klEQVR4AdyTP0gbURzHf99HTjO0kNIOpVDaoWtpoEOHFhxKoVunDh1aQpMivTMJpYUuOjgKgiaac0iUDA6Ci4NuDiIODm66iIOCgw4KggoxMffz9y54vuSCimTy8X7v/f5+jt979xR1eNwj4FfbfvDrd7onZWf/puzMbMrJ7Mq+l7DtuHlqN7acagDWY7COSaklIk4QoQKmYRD2IxT5QsZQhh5S5etPASkE5uqe96l2ikclN/+65Oa+F918jkFH1DKuBZLXFdX5tTompybGFsvl0RBAx025Hmhm3lIPAX84zuOkk/mYtLO9luL/Jsdy+W3U5R4a4ZjpN/UmoAZ1U2RfERYVuJ+Jr25wmJ8oj1aJaanLol4TYurKNOTmPjDz2hHXHhYL+efnnvoWxP/h4KwPVsUBqn0YCvwtShPQjwGVWdc98fU7LGGgQLrHuRgt8Pbyi+RnMRtTWhb/lvbL7jSc4bUtkOuU8zwaeHW4shKUSMtMNCD2IGq0IHvb2RZYzWKjmsb0s5PNptbl7GbkDMuVP9hpSxNnAPyZTr8B4aXcYky/WS0Rxe8khyxVf6/tVtG5kBpdq/O0BEDlYZ5ACYDi/puVdyv6DOkBNX3pM3eJx3WNX6vzRAJgSX6TYiGHu4iuFZY/A6BvdWDpOPACAAD//xNKXZAAAAAGSURBVAMAIozAKd0+oR0AAAAASUVORK5CYII="},78601:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABkUlEQVR4AbySMUvDUBDH79JCRhe1buIgIhRcHAvazcWxg0MnW6im1Ulw7KiTrdQotIOIoIOgg7sd/ACCi4ODo4MfoLb2ne/Ka8x7SSDS0oM/ufvf3Y/jEQvGHJMBFkrl9cLu3qt5PHvcM31/7V0oh8+Lzn5PijCReELENOd+scc95fV4xw/j3APK4RIJcUD9flYIcUxAn5xrkt6gJ2d4lncY4pcHHJhEL62LRhsBHoBgkHM9FHvc4xrkLISEBiTLWinuVNbkko1ER5z7xR732OPZEB5oQEQ4BLQu4wh5NoRoaV5fbDXd+kKoZmuLV+naxrAHclbbVYUOVGbgU6WkPQM38g0fAz3DiATaDTqxXVoCBZNvlyEBm8Z+oIwESsAcErTtabiXeUYIyHYr+BYgGEYksPMFeQJ4RoTVuDBmRwKhij/fDuY6XViOcxmo0IEWpLYdZ17Te3lKq1Vf/nApxdA+f
10CiO8TErQXJjzjiWSK4BiM8YNM9zTXP6vgftdx63uDJw01nxNq7cESOtz524C8AAAD//0HN7RMAAAAGSURBVAMA61nqKTJSO2IAAAAASUVORK5CYII="}}]);
2//# sourceMappingURL=Mine.d30b936f.js.map

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.