import{T as m,c as S,a as d,u as t,b as s,t as n,w as g,d as p,v as r,g as E,o as P,p as e}from"./app-13978987.js";import{_ as A}from"./AdminLayout-bd13ff9d.js";import{_ as v}from"./SpinnerBtn-899a94c2.js";import{_ as b}from"./PageHeader-8c638686.js";import"./dropdown-45d66330.js";const f={class:"container p-4 sm:p-6"},h={class:"space-y-6"},K={class:"grid grid-cols-1 lg:grid-cols-12"},L={class:"lg:col-span-5"},I={class:"lg:col-span-7"},Y={class:"card"},x={class:"card-body"},y={class:"mb-2"},U={class:"label"},N={class:"mb-2"},k={class:"label"},M={class:"mt-3"},H=E({layout:A}),$=Object.assign(H,{__name:"StockMedia",props:["segments","buttons","id","UNSPLASH_API_KEY","PEXELS_API_KEY"],setup(a){const l=a,o=m({UNSPLASH_API_KEY:l.UNSPLASH_API_KEY,PEXELS_API_KEY:l.PEXELS_API_KEY});function u(){const _=route("admin.developer-settings.update",l.id);o.put(_)}return(_,i)=>(P(),S("main",f,[d(b,{title:t(e)("Social Login Developer Settings"),segments:a.segments,buttons:a.buttons},null,8,["title","segments","buttons"]),s("div",h,[s("div",K,[s("div",L,[s("strong",null,n(t(e)("Stock Media Developer Settings")),1),s("p",null,n(t(e)("Edit you application Stock Media Api settings")),1)]),s("div",I,[s("form",{onSubmit:g(u,["prevent"])},[s("div",Y,[s("div",x,[s("h6",null,n(t(e)("Stock Media Api Keys")),1),s("div",y,[s("label",U,n(t(e)("Unsplash Api")),1),p(s("input",{type:"text","onUpdate:modelValue":i[0]||(i[0]=c=>t(o).UNSPLASH_API_KEY=c),class:"input"},null,512),[[r,t(o).UNSPLASH_API_KEY]])]),s("div",N,[s("label",k,n(t(e)("Pexels Api")),1),p(s("input",{type:"text","onUpdate:modelValue":i[1]||(i[1]=c=>t(o).PEXELS_API_KEY=c),class:"input"},null,512),[[r,t(o).PEXELS_API_KEY]])]),s("div",M,[d(v,{processing:t(o).processing,"btn-text":t(e)("Save Changes")},null,8,["processing","btn-text"])])])])],32)])])])]))}});export{$ as default};
