1import{n as e,o as t}from"./rolldown-runtime-CMxvf4Kt.js";import{k as n}from"./vendor-BQMjys_I.js";import{a as r,i,n as a,o,r as s,t as c}from"./link-url-model-DKY_qjBr.js";var l,u=e((()=>{l=`/assets/xero-logo-Bj6dMIjj.svg`})),d,f,p=e((()=>{u(),o(),i(),a(),d=t(n(),1),f=class extends r{constructor(e={},t={}){e.appId=`XERO`,super(e,(0,d.default)({name:`xero-app`,computed:{name:()=>`Xero`,type:()=>`ACCOUNTING`,category:()=>`Accounting Platform`,logoUrl:()=>l,iconLogoUrl:()=>this.logoUrl,importCallbackUrl:()=>window.location.origin+`/app-integration/`+this.appId+`/result/import`}},t))}getSSOSignupUrl(e={}){let{signupId:t}=e;return new s({providerId:`xero`}).find({method:`post`,params:{action:`create-account`,signupId:t}})}getSSOLoginUrl(){return new s({providerId:`xero`}).find({method:`post`})}getSSOLinkUrl(){return new c({providerId:`xero`}).find({method:`post`})}async linkSSO(){let e=await this.getSSOLinkUrl();if(!e)throw Error(`Unable to retrieve connection link`);window.open(e)}}}));export{p as n,f 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.