PageSourceSearch

https://console.makeshop.jp/assets/useSessionStore-BgG6hCas.js

js makeshop.jp collected 2026-10-01 08:40:33 UTC 7,445 bytes, 2 lines download raw bytes

1/*! licenses: /assets/vendor.LICENSE.txt */
2import{B as e,Ct as t,Dt as n,F as r,N as i,Ot as a,_t as o,bt as s,ct as c,kt as l,mt as u,pt as d,t as f,vt as p,xt as m,y as h,yt as g}from"./vue.esm-bundler-Dfe4qMWF.js";f();var _=typeof window<`u`,v,y=e=>v=e,b=Symbol();function x(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var S;(function(e){e.direct=`direct`,e.patchObject=`patch object`,e.patchFunction=`patch function`})(S||={});var C=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function w(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function T(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){A(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function E(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function D(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var O=typeof navigator==`object`?navigator:{userAgent:``},k=/Macintosh/.test(O.userAgent)&&/AppleWebKit/.test(O.userAgent)&&!/Safari/.test(O.userAgent),A=_?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!k?j:`msSaveOrOpenBlob`in O?M:N:()=>{};function j(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?D(r):E(r.href)?T(e,t,n):(r.target=`_blank`,D(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){D(r)},0))}function M(e,t=`download`,n){if(typeof e==`string`){if(E(e))T(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){D(t)})}}else navigator.msSaveOrOpenBlob(w(e,n),t)}function N(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return T(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(C.HTMLElement))||`safari`in C,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||k)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:P}=Object;function F(){let e=d(!0),n=e.run(()=>t({})),r=[],i=[],a=g({install(e){y(a),a._a=e,e.provide(b,a),e.config.globalProperties.$pinia=a,i.forEach(e=>r.push(e)),i=[]},use(e){return this._a?r.push(e):i.push(e),this},_p:r,_a:null,_e:e,_s:new Map,state:n});return a}var I=()=>{};function L(e,t,n,r=I){e.add(t);let i=()=>{e.delete(t)&&r()};return!n&&u()&&s(i),i}function R(e,...t){e.forEach(e=>{e(...t)})}var z=e=>e(),B=Symbol(),V=Symbol();function H(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!t.hasOwnProperty(n))continue;let r=t[n],i=e[n];e[n]=x(i)&&x(r)&&e.hasOwnProperty(n)&&!p(r)&&!o(r)?H(i,r):r}return e}var U=Symbol();function W(e){return!x(e)||!Object.prototype.hasOwnProperty.call(e,U)}var{assign:G}=Object;function K(e){return!!(p(e)&&e.effect)}function q(e,t,n,r){let{state:i,actions:a,getters:o}=t,s=n.state.value[e],c;function u(){return s||(n.state.value[e]=i?i():{}),G(l(n.state.value[e]),a,Object.keys(o||{}).reduce((t,r)=>(t[r]=g(h(()=>{y(n);let t=n._s.get(e);return o[r].call(t,t)})),t),{}))}return c=J(e,u,t,n,r,!0),c}function J(r,i,a={},s,l,u){let f,h=G({actions:{}},a),g={deep:!0},_,v,b=new Set,x=new Set,C,w=s.state.value[r];!u&&!w&&(s.state.value[r]={}),t({});let T;function E(t){let n;_=v=!1,typeof t==`function`?(t(s.state.value[r]),n={type:S.patchFunction,storeId:r,events:C}):(H(s.state.value[r],t),n={type:S.patchObject,payload:t,storeId:r,events:C});let i=T=Symbol();e().then(()=>{T===i&&(_=!0)}),v=!0,R(b,n,s.state.value[r])}let D=u?function(){let{state:e}=a,t=e?e():{};this.$patch(e=>{G(e,t)})}:I;function O(){f.stop(),b.clear(),x.clear(),s._s.delete(r)}let k=(e,t=``)=>{if(B in e)return e[V]=t,e;let n=function(){y(s);let t=Array.from(arguments),i=new Set,a=new Set;function o(e){i.add(e)}function c(e){a.add(e)}R(x,{args:t,name:n[V],store:j,after:o,onError:c});let l;try{l=e.apply(this&&this.$id===r?this:j,t)}catch(e){throw R(a,e),e}return l instanceof Promise?l.then(e=>(R(i,e),e)).catch(e=>(R(a,e),Promise.reject(e))):(R(i,l),l)};
2return n[B]=!0,n[V]=t,n},A={_p:s,$id:r,$onAction:L.bind(null,x),$patch:E,$reset:D,$subscribe(e,t={}){let n=L(b,e,t.detached,()=>i()),i=f.run(()=>c(()=>s.state.value[r],n=>{(t.flush===`sync`?v:_)&&e({storeId:r,type:S.direct,events:C},n)},G({},g,t)));return n},$dispose:O},j=m(A);s._s.set(r,j);let M=(s._a&&s._a.runWithContext||z)(()=>s._e.run(()=>(f=d()).run(()=>i({action:k}))));for(let e in M){let t=M[e];p(t)&&!K(t)||o(t)?u||(w&&W(t)&&(p(t)?t.value=w[e]:H(t,w[e])),s.state.value[r][e]=t):typeof t==`function`&&(M[e]=k(t,e),h.actions[e]=t)}return G(j,M),G(n(j),M),Object.defineProperty(j,"$state",{get:()=>s.state.value[r],set:e=>{E(t=>{G(t,e)})}}),s._p.forEach(e=>{G(j,f.run(()=>e({store:j,app:s._a,pinia:s,options:h})))}),w&&u&&a.hydrate&&a.hydrate(j.$state,w),_=!0,v=!0,j}function Y(e,t,n){let a,o=typeof t==`function`;a=o?n:t;function s(n,s){let c=i();return n||=c?r(b,null):null,n&&y(n),n=v,n._s.has(e)||(o?J(e,t,a,n):q(e,a,n)),n._s.get(e)}return s.$id=e,s}function X(e){let t=n(e),r={};for(let n in t){let i=t[n];i.effect?r[n]=h({get:()=>e[n],set(t){e[n]=t}}):(p(i)||o(i))&&(r[n]=a(e,n))}return r}f();var Z=Y(`session`,()=>{let e=m({bearer:``,shopID:``,shopHost:``,shopName:``,userID:``,serverTimeOffset:0,twoStepVerificationKey:``,lastQueryUnixMilliseconds:void 0,initialPaidDate:null,elapsedDaysFromInitialPaidDate:-1,isPaymentGracePeriod:!1,isLoadCompletedContract:!1,isConnectedMakerepeater:!1}),t=h(()=>e.shopID),n=h(()=>e.userID),r=h(()=>e.isPaymentGracePeriod),i=h(()=>e.userID!==null&&e.userID!==``),a=h(()=>!i.value),o=h(()=>e.shopID?i.value?`${e.shopID}_${e.userID}`:e.shopID:``);return{state:e,setBearer:t=>{e.bearer=t},setShopID:t=>{e.shopID=t},setShopHost:t=>{e.shopHost=t},setShopName:t=>{e.shopName=t},setUserID:t=>{e.userID=t},setServerTimeOffset:t=>{e.serverTimeOffset=t??540},setTwoStepVerificationKey:t=>{e.twoStepVerificationKey=t},setLastQueryUnixMilliseconds:t=>{e.lastQueryUnixMilliseconds=t},setInitialPaidDate:t=>{e.initialPaidDate=t},setElapsedDaysFromInitialPaidDate:t=>{e.elapsedDaysFromInitialPaidDate=t},setIsPaymentGracePeriod:t=>{e.isPaymentGracePeriod=t},setIsLoadCompletedContract:t=>{e.isLoadCompletedContract=t},setIsConnectedMakerepeater:t=>{e.isConnectedMakerepeater=t},isSubAdmin:i,isAdmin:a,isLoggedIn:h(()=>!!e.bearer),shopID:t,userID:n,isPaymentGracePeriod:r,uniqueAdminId:o}}),Q=()=>Z().state;export{X as a,Y as i,Z as n,F as r,Q as t};

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.