1import{n as e}from"./chunk_CTpGxAXH.js";import{h as t,m as n}from"./cms_www_res_t_GFWPtyCl.js";import{d as r,f as i,i as a,o,r as s,t as c}from"./cms_inc_url-parameters_DZglQWip.js";function l(){if(WialonHosting.IS_LOCAL)return[];if(WialonHosting.CustomOptions.s_gr)return[{name:`s_gr`,value:WialonHosting.CustomOptions.s_gr}];let e;if(typeof wialon<`u`&&(e=wialon.core.Session.getInstance().getId().slice(0,2),e)||(e=r.get_sid()||s(),e))return[{name:`s_gr`,value:e.slice(0,2)}];let t=c();if(t)return[{name:`s_gr`,value:t.slice(0,2)}];let n=a();return n?[{name:`s_gr_token`,value:n}]:[]}function u(){let e=l();return e.length?e.map(function(e){return e.name+`=`+encodeURIComponent(e.value)}).join(`&`):null}function d(e){return l().forEach(function(n){e=t(e,n.name,n.value)}),e}function f(){return WialonHosting.CustomOptions.group_id?+WialonHosting.CustomOptions.group_id:WialonHosting.CMS_BRANCH===`develop`?3:p()?2:1}function p(){return WialonHosting.CustomOptions.prestable===`1`}var m=e((()=>{i(),n(),o()}));export{p as a,m as i,u as n,f as r,d 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.