PageSourceSearch

https://gunauction.uk/assets/settings-3832cafe.js

js gunauction.uk collected 2026-10-04 08:11:43 UTC 5,221 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:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1ac4c772-72ae-491f-9e40-3026058c354d",e._sentryDebugIdIdentifier="sentry-dbid-1ac4c772-72ae-491f-9e40-3026058c354d")}catch(e){}}();import{_ as e}from"./VSwitchBlock.vue_vue_type_style_index_0_lang-76cc7324.js";import{_ as l}from"./VField.vue_vue_type_script_setup_true_lang-65d5aca7.js";import{_ as a}from"./VControl-451956b0.js";import{_ as s}from"./VInput.vue_vue_type_script_setup_true_lang-4c443806.js";import{aD as o,b6 as t,b as i,b7 as n,aP as u,aQ as d,aX as r,b3 as c,b4 as f,aY as p,aL as m,b0 as _,b1 as v,aS as b,aJ as y,a$ as h,bb as g,bd as w,a_ as V}from"./index-490bf3f6.js";import{u as k}from"./useNotyf-8f665038.js";import{s as j}from"./sleep-03c24d5f.js";import{u as P}from"./viewWrapper-d816d1e8.js";import"./VLabel.vue_vue_type_script_setup_true_lang-0f24ac73.js";import"./notyf-713d8123.js";const E={class:"account-box is-form is-footerless"},D={class:"form-head-inner"},S={class:"right"},x={class:"buttons"},C={class:"fieldset"},I={class:"columns is-multiline"},U={class:"column is-12"},N={class:"column is-12"},F={class:"column is-12"},T={class:"fieldset"},A={class:"columns is-multiline"},B={class:"column is-12"},G={key:0,class:"column is-12"},K={class:"fieldset"},L={class:"columns is-multiline"},R={class:"column is-12"},X={class:"fieldset"},Y={class:"columns is-multiline"},J={class:"column is-12"},M=o({__name:"EditProfileSettings",setup(o){const w=k(),{y:V}=t(),P=i(!1),M=i(!0),O=i(!1),Q=i(!1),W=i(!1),$=i(!1),q=n(()=>V.value>30),z=async()=>{P.value=!0,await j(),w.success("Your changes have been successfully saved!"),P.value=!1};return(o,t)=>{const i=g,n=s,w=a,V=l,k=e;return u(),d("div",E,[r("div",{class:b(["form-head stuck-header",[m(q)&&"is-stuck"]])},[r("div",D,[t[7]||(t[7]=r("div",{class:"left"},[r("h3",null,"Settings"),r("p",null,"Edit your account prefs and settings")],-1)),r("div",S,[r("div",x,[c(i,{to:"/sidebar/layouts/profile-view",icon:"lnir lnir-arrow-left rem-100",light:"","dark-outlined":""},{default:f(()=>t[5]||(t[5]=[p(" Go Back ")])),_:1}),c(i,{color:"primary",raised:"",loading:m(P),tabindex:"0",onKeydown:_(v(z,["prevent"]),["space"]),onClick:z},{default:f(()=>t[6]||(t[6]=[p(" Save Changes ")])),_:1},8,["loading","onKeydown"])])])])],2),r("form",{method:"post",novalidate:"",class:"form-body",onSubmit:v(z,["prevent"])},[r("div",C,[t[8]||(t[8]=r("div",{class:"fieldset-heading"},[r("h4",null,"Change Password"),r("p",null,"For an improved account security")],-1)),r("div",I,[r("div",U,[c(V,null,{default:f(()=>[c(w,{icon:"feather:unlock"},{default:f(()=>[c(n,{type:"password",placeholder:"Old Password",autocomplete:"current-password"})]),_:1})]),_:1})]),r("div",N,[c(V,null,{default:f(()=>[c(w,{icon:"feather:lock"},{default:f(()=>[c(n,{type:"password",placeholder:"New Password",autocomplete:"new-password"})]),_:1})]),_:1})]),r("div",F,[c(V,null,{default:f(()=>[c(w,{icon:"feather:lock"},{default:f(()=>[c(n,{type:"password",placeholder:"Repeat New Password",autocomplete:"new-password"})]),_:1})]),_:1})])])]),r("div",T,[t[9]||(t[9]=r("div",{class:"fieldset-heading"},[r("h4",null,"2 Factor Auth"),r("p",null,"Enable or disable 2 factor auth")],-1)),r("div",A,[r("div",B,[c(V,null,{default:f(()=>[c(w,null,{default:f(()=>[c(k,{modelValue:m(M),"onUpdate:modelValue":t[0]||(t[0]=e=>y(M)?M.value=e:null),label:"Enable / disable 2 factor",color:"primary"},null,8,["modelValue"])]),_:1})]),_:1})]),m(M)?(u(),d("div",G,[c(V,null,{default:f(()=>[c(w,{icon:"feather:smartphone"},{default:f(()=>[c(n,{type:"text",placeholder:"Phone Number",autocomplete:"tel",inputmode:"tel"})]),_:1})]),_:1})])):h("",!0)])]),r("div",K,[t[10]||(t[10]=r("div",{class:"fieldset-heading"},[r("h4",null,"Notifications"),r("p",null,"Configure how you receive notifications")],-1)),r("div",L,[r("div",R,[c(V,null,{default:f(()=>[c(w,null,{default:f(()=>[c(k,{modelValue:m(O),"onUpdate:modelValue":t[1]||(t[1]=e=>y(O)?O.value=e:null),label:"Disable all notifications",color:"primary"},null,8,["modelValue"])]),_:1})]),_:1}),c(V,null,{default:f(()=>
1[c(w,null,{default:f(()=>[c(k,{modelValue:m(Q),"onUpdate:modelValue":t[2]||(t[2]=e=>y(Q)?Q.value=e:null),label:"Disable low priority notifications",color:"primary"},null,8,["modelValue"])]),_:1})]),_:1})])])]),r("div",X,[t[11]||(t[11]=r("div",{class:"fieldset-heading"},[r("h4",null,"Marketing"),r("p",null,"Configure how you receive promotions")],-1)),r("div",Y,[r("div",J,[c(V,null,{default:f(()=>[c(w,null,{default:f(()=>[c(k,{modelValue:m(W),"onUpdate:modelValue":t[3]||(t[3]=e=>y(W)?W.value=e:null),label:"Enable marketing emails",color:"primary"},null,8,["modelValue"])]),_:1})]),_:1}),c(V,null,{default:f(()=>[c(w,null,{default:f(()=>[c(k,{modelValue:m($),"onUpdate:modelValue":t[4]||(t[4]=e=>y($)?$.value=e:null),label:"Enable partners emails",color:"primary"},null,8,["modelValue"])]),_:1})]),_:1})])])])],32)])}}}),O=o({__name:"settings",setup:e=>(P().setPageTitle("Profile Edit 4"),w({title:"GunAuction | Settings"}),(e,l)=>{const a=M;return u(),V(a)})});export{O as default};

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.