1import{r as e}from"./chunk-C0FnF6B9.js";import{lt as t}from"./chunk-DXCQqMjh.js";import{n,t as r}from"./chunk-CijCKjwr.js";import{t as i}from"./chunk-DWgBEfm2.js";function a(e){return(e=>({dataId:(e=>e)(e.dataId)}))(e)}function o(e){return n(a(e))}function s(e){return(e=>{if(typeof e!=`object`)return{success:!1,reason:`[#/components/schemas/SummaryQrCodeResponse]: '${e}' expected to be of type 'object'.`};if(e===null)return{success:!1,reason:`[#/components/schemas/SummaryQrCodeResponse]: '${e}' expected to not be null.`};if(!t(e,`base64`))return{success:!1,reason:`[#/components/schemas/SummaryQrCodeResponse/base64]: '${n(e)}' expected to have property 'base64'.`};let r=(e=>typeof e==`string`?{success:!0,value:e}:{success:!1,reason:`[#/components/schemas/SummaryQrCodeResponse/base64]: '${e}' expected to be of type string.`})(e.base64);return r.success?{success:!0,value:{base64:r.value}}:{success:!1,reason:r.reason}})(e)}function c(e){return s(r(e))}var l=e({getSummaryShareQrCode:()=>u});async function u(e){let t=await i({path:`/gaapi/summary/qrcode`,method:`POST`,requestBody:(e=>o(e))(e.body)});if(t.kind==`error`)return t;let n=(e=>c(e))(t.data);return n.success==0?(console.warn(`could not parse response body`),{kind:`error`,errorCode:null,errorMessage:`deserialize failed`}):{kind:`success`,data:n.value}}export{l as n,u as t}; 2//# sourceMappingURL=chunk-Cs0pc9yz.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.