Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
import{g as y,a as q,b as f,c as g,d as S,f as b,e as B,h as w,i as h,r as A,j as m,k as Q,l as C,m as K,t as k,n as F,o as T,p as W,q as p,s as v}from"./BCeYu6Ts.js";import{a as c}from"./Bxz5a8QK.js";import{c as _}from"./l3bjNl-j.js";import{e as r,f as s}from"./CoIuAmXb.js";import{u as i}from"./AyVnYNqP.js";function a(e,t){return{queryKey:["get-autobuild-action",e,t],queryFn:()=>q({uuid:e,repository:t})}}function D(e,t,u){return{queryKey:[g({namespace:e,repository:t,limit:u})],queryFn:_({statusCodeResponseMap:{400:null}})}}function j({namespace:e,repository:t}){return{queryKey:[f({namespace:e,repository:t})],queryFn:async()=>await(await c(f({namespace:e,repository:t}))).json()}}function U({namespace:e,buildSourceId:t}){return{queryKey:[y({namespace:e,buildSourceId:t})],queryFn:async()=>{const u=await c(y({namespace:e,buildSourceId:t}),{noThrowStatuses:[401]});return u.status===401?null:await u.json()}}}function l({namespace:e,sourceUUID:t}){return{queryKey:[S({namespace:e,sourceUUID:t})],queryFn:async()=>{const u=await c(S({namespace:e,sourceUUID:t}),{noThrowStatuses:[404]});return u.status===404?null:await u.json()}}}function x({uuid:e,repository:t},u){return r({...a(e,t),...u})}function E({namespace:e,repository:t,limit:u},n){return r({...D(e,t,u),...n})}function J(){const e=s();return i({mutationFn:async({uuid:t})=>{await W({uuid:t})},async onSuccess(t,u){await e.invalidateQueries([a(u.uuid,"").queryKey[0],a(u.uuid,"").queryKey[1]])}})}function L(){const e=s();return i({mutationFn:async({uuid:t})=>p({uuid:t}),onSettled(t,u,n){e.invalidateQueries([a(n.uuid,"").queryKey[0],a(n.uuid,"").queryKey[1]])}})}function O({namespace:e,repository:t},u){return r({...j({namespace:e,repository:t}),...u})}function P({namespace:e,buildSourceId:t},u){return r({...U({namespace:e,buildSourceId:t}),...u})}function V({namespace:e,buildSourceId:t},u){return r({...l({namespace:e,sourceUUID:t}),...u})}function X(){const e=s();return i(T,{async onSuccess(t,u){await e.invalidateQueries(l(u).queryKey)}})}function Y(){const e=s();return i(F,{async onSuccess(t,u){await e.invalidateQueries(l(u).queryKey)}})}function Z({namespace:e,page:t=1,page_size:u,reponame:n,resource_uri:o}){return r({queryKey:["cloud-build-history",e,n,o,t,u],queryFn:()=>w({namespace:e,page:t,page_size:u,reponame:n,resource_uri:o}),enabled:!!(o&&e&&n)})}function $({namespace:e,reponame:t}){return r({queryKey:["cloud-build-source",e,t],queryFn:()=>B({namespace:e,reponame:t}),enabled:!!(e&&t)})}function I({registry:e,namespace:t,name:u,pageSize:n}){return r({queryKey:["webhooks",t,u,e,n],queryFn:()=>b({registry:e,namespace:t,name:u,pageSize:n}),enabled:!!(t&&u)})}function z(){const e=s();return i(v,{async onSuccess(t,u){await e.invalidateQueries(["webhooks",u.namespace,u.name])}})}function ee(){const e=s();return i(A,{async onSuccess(t,u){await e.invalidateQueries(["webhooks",u.namespace,u.name])}})}function ue(e,t){const{name:u,registry:n,namespace:o,webhook:d}=e;return r({queryKey:["webhook-history",u,n,o,d],queryFn:()=>h({name:u,namespace:o,webhook:d,registry:n}),...t})}function te(){const e=s();return i(Q,{async onSuccess(t,u){await e.invalidateQueries(["cloud-build-source",u.namespace]),await e.invalidateQueries(["build-source-settings",u.namespace])}})}function ne(){const e=s();return i(C,{async onSuccess(t,u){await e.invalidateQueries(["cloud-build-source",u.namespace]),await e.invalidateQueries(["build-source-settings",u.namespace])}})}function re(){const e=s();return i(K,{async onSuccess(t,u){await e.invalidateQueries(["cloud-build-source",u.namespace])}})}function se({namespace:e,uuid:t},u){return r({queryKey:["build-source-settings",e,t],queryFn:()=>m({namespace:e,uuid:t}),...u})}function ie(){const e=s();return i(k,{async onSuccess(t,u){await e.invalidateQueries(["build-source-settings",u.namespace,u.uuid])}})}export{$ as a,Z as b,x as c,J as d,L as e,z as f,ue as g,ee as h,I as i,E as j,D as k,P as l,se as m,te as n,ne as o,re as p,ie as q,V as r,Y as s,X as t,O as u,j as v};