PageSourceSearch

https://studio.saskiagriffiths.com/_nuxt/C5hOVbLp.js

js saskiagriffiths.com collected 2026-10-09 03:17:09 UTC 2,079 bytes, 2 lines download raw bytes

1import{m as a,l as r,o as e,e as n,f as s,i,t as d,h as g,g as h,x as c,q as C,y as f,j as S,I as L}from"./CjU924Rn.js";import{_ as y}from"./DR4f3E8h.js";import{_ as T}from"./BSJyBmdS.js";import{e as N}from"./-8JjO_8n.js";import{S as u}from"./DYUUnNDg.js";import"./BFzrwNQE.js";import"./C2OOnQ61.js";import"./DxKbIUrD.js";import"./W-xEpCjm.js";import"./DoutMD9J.js";import"./2uEI_Auu.js";const R={class:"container mt-4 mb-6"},k={key:0,class:"text-center"},I={key:1},O={key:0},U={key:1},v={class:"text-center"},D={class:"mb-4"},B=i("hr",null,null,-1),E={name:"StudentSignContract",components:{SignContractComponent:u},data(){return{isLoading:!0,signedContract:null}},computed:{...a(r,{studio:"currentStudio"}),...a(f,{isLoggedIn:"isLoggedIn"}),studioURL(){return this.$studioURL},uuid(){return this.$route.params.unique_id}},methods:{async loadData(){if(!(!this.isLoggedIn&&!this.uuid)){this.isLoading=!0;try{this.signedContract=await r().getSignedContract({studioURL:this.studioURL,uuid:this.uuid})}catch(o){this.$notify({group:"app",type:"error",title:"Failed to load contract",text:N(o==null?void 0:o.response,`Request failed: ${o}`),duration:-1})}finally{this.isLoading=!1}}}},async mounted(){await this.loadData()},watch:{isLoggedIn:{handler(){this.isLoggedIn&&this.loadData()},immediate:!0}}},P=Object.assign(E,{setup(o){return(t,$)=>{const _=S,m=y,l=T,p=L;return e(),n("div",R,[t.isLoading?(e(),n("div",k,[s(_)])):(e(),n("div",I,[t.signedContract.id&&!t.signedContract.document?(e(),n("div",O,[s(u,{signedContract:t.signedContract,onOnContractSigned:t.loadData},null,8,["signedContract","onOnContractSigned"])])):(e(),n("div",U,[i("div",v,[i("h2",D,d(t.$t("CONTRACTS.TITLES.YOUR_SIGNED_CONTRACT")),1),t.signedContract.document?(e(),g(m,{key:0,file:t.signedContract.document},null,8,["file"])):h("",!0),s(p,{color:"brand",class:"my-4"},{default:c(()=>[s(l,{class:"undecorated-router-link",to:{name:"studio-home-page"}},{default:c(()=>[C(d(t.$t("GENERAL.BUTTON.RETURN_TO_STUDIO")),1)]),_:1})]),_:1})])]))])),B])}}});
1export{P as default};
2//# sourceMappingURL=C5hOVbLp.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.