1import{Resource as o,invoke as t,addPluginListener as c}from"./core-DhEqZVGG.js";class i extends o{constructor(e){super(e)}static async new(e,r,p){return t("plugin:image|new",{rgba:a(e),width:r,height:p}).then(u=>new i(u))}static async fromBytes(e){return t("plugin:image|from_bytes",{bytes:a(e)}).then(r=>new i(r))}static async fromPath(e){return t("plugin:image|from_path",{path:e}).then(r=>new i(r))}async rgba(){return t("plugin:image|rgba",{rid:this.rid}).then(e=>new Uint8Array(e))}async size(){return t("plugin:image|size",{rid:this.rid})}}function a(n){return n==null?null:typeof n=="string"?n:n instanceof i?n.rid:n}var s;(function(n){n.Nsis="nsis",n.Msi="msi",n.Deb="deb",n.Rpm="rpm",n.AppImage="appimage",n.App="app"})(s||(s={}));async function g(){return t("plugin:app|version")}async function l(){return t("plugin:app|name")}async function y(){return t("plugin:app|tauri_version")}async function d(){return t("plugin:app|identifier")}async function h(){return t("plugin:app|app_show")}async function m(){return t("plugin:app|app_hide")}async function _(){return t("plugin:app|fetch_data_store_identifiers")}async function b(n){return t("plugin:app|remove_data_store",{uuid:n})}async function w(){return t("plugin:app|default_window_icon").then(n=>n?new i(n):null)}async function v(n){return t("plugin:app|set_app_theme",{theme:n})}async function k(n){return t("plugin:app|set_dock_visibility",{visible:n})}async function D(){return t("plugin:app|bundle_type")}async function A(n){return c("app","back-button",n)}export{s as BundleType,w as defaultWindowIcon,_ as fetchDataStoreIdentifiers,D as getBundleType,d as getIdentifier,l as getName,y as getTauriVersion,g as getVersion,m as hide,A as onBackButtonPress,b as removeDataStore,k as setDockVisibility,v as setTheme,h as show};
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.