var d=a=>{throw TypeError(a)};var j=(a,i,t)=>i.has(a)||d("Cannot "+t);var m=(a,i,t)=>i.has(a)?d("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(a):i.set(a,t);var o=(a,i,t)=>(j(a,i,"access private method"),t);import{R as b}from"./Rest.js?ver=1.3.21";import{J as v,aB as u}from"./vue.esm-bundler.js?ver=1.3.21";var r,h,l,x,P,R;const c=class c{static init(i={}){var n;const t=new this(i);return typeof t.beforeInit=="function"&&t.beforeInit(),t.data=v(t.data),o(n=c,r,h).call(n,t)}};r=new WeakSet,h=function(i){return new Proxy(i,{get:(t,n,s)=>{var e;return o(e=c,r,l).call(e,t,n,s)},set:(t,n,s)=>{var e;return o(e=c,r,x).call(e,t,n,s)}})},l=function(i,t,n){var s,e;return o(s=c,r,P).call(s,i,t,n)||o(e=c,r,R).call(e,i,t,n)},x=function(i,t,n){const s=t.split("_").map(f=>u(f)).join(""),e=`set${u(s)}Attribute`;return e in i?i[e](t,n):i.data[t]=n,!0},P=function(i,t,n){if(t in i)return typeof i[t]=="function"?(...s)=>i[t].bind(n)(...s):i[t];if(t in i.data){const s=t.split("_").map(f=>u(f)).join(""),e=`get${u(s)}Attribute`;return e in i?i[e](i.data[t]):i.data[t]}},R=function(i,t,n){if(typeof t!="string")return;const s=t.substr(1);if(s in b)return(...e)=>b[s](...e)},m(c,r);let y=c;export{y as M};
