PageSourceSearch

https://my.rollerads.com/_nuxt/DYQG0Pg3.js

js rollerads.com collected 2026-09-24 19:46:52 UTC 3,772 bytes, 1 lines download raw bytes

1import{aK as x,br as H,bE as V,bp as B,bv as q,be as M,c2 as K,bP as L,bU as U,c3 as Q,a$ as Z,b_ as l,bf as G,bs as O,aG as Y,aH as j,aP as o,b4 as a,aR as i,aI as p,bw as J,bq as W,aS as b,aT as _,bm as X,bx as m,bl as ee,b$ as ae}from"./lwAlb8aA.js";import{_ as te}from"./Jm2NUOhv.js";import{_ as se}from"./DOHgiB8Q.js";import{_ as oe}from"./CIQVKoE-.js";import{D as ne}from"./MBS9TcWV.js";import{_ as ie}from"./DLf1i-26.js";import{g as re}from"./5TBCPur7.js";import{u as h}from"./arWn4QrR.js";import{u as le}from"./DwzBDGMH.js";import{u as me}from"./BLvHtrxW.js";import{u as de}from"./g25vJATb.js";import{w as ue,u as ce}from"./lvayPHlf.js";import{t as fe}from"./_L7sQdbh.js";import{d as pe}from"./4DlD_fWR.js";import"./CIoIA5MF.js";import"./Cx8oI67G.js";import"./B0-wptDp.js";import"./DZrd5r9H.js";import"./Dzn1hTj8.js";import"./Dt8rcSlA.js";import"./BfSt3CHV.js";import"./DKaJvKFB.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"9727430eefacbdb017bac4a654fa10ac78402466"}}catch{}})();try{(function(){var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="6e39fd23-33f1-4dfa-8b70-1b4da785edc9",s._sentryDebugIdIdentifier="sentry-dbid-6e39fd23-33f1-4dfa-8b70-1b4da785edc9")})()}catch{}const be={class:"flex flex-col gap-8"},_e={class:"flex gap-4"},Be=x({__name:"new",setup(s){const{t}=H(),g=V(),{toastError:S,toastSuccess:y}=le(),{isFeatureEnabled:d}=B(),E=me(),v=de(),n=Number(g.params.id),u=t("zone.new.headline"),w=[{label:t("sites.headline"),to:"/sites"},{label:t("sites.report.headline"),to:"/sites"},{label:t("site.headline",{id:n}),to:`/sites/${n}`}],{schema:T,setServerErrors:I}=ue(fe(re)),{handleSubmit:$,setFieldValue:z,validate:C}=q({validationSchema:T}),F=ce({setServerErrors:I,validate:C}),{data:r,isError:A}=M({queryFn:()=>m.getSite({path:{id:n}}),queryKey:[m.getSite.name,n]});K(()=>{(A.value||r.value&&!(r.value?.site_type===L.SITE&&r.value?.site_status===U.ACTIVE&&r.value?.zones_count>0))&&Q({statusCode:404})});const{isPending:D,mutate:N}=h({mutationFn:e=>m.addZone({body:e,headers:{"x-from-source":""},path:{id:n}}),onError:F,onSuccess:async e=>{y(t("zone.new.messages.zoneCreatedSuccessfully")),await E([[m.getSite.name,n]]),await ee({name:"sites-id-zones-zoneId",params:{id:n,zoneId:e.zone_id}})}}),c=$(e=>N(e),v),{mutate:P}=h({mutationFn:()=>ae.getRandomPhrase(),onError:()=>{S(t("common.errorMessage"))},onSuccess:e=>{z("zone_title",e)}}),R=Z(()=>[l.PUSH,l.ON_CLICK,...d("beta")?[l.INTERSTITIAL]:[],...d("enable_format_native")?[l.NATIVE]:[]].map(e=>({description:t(`site.formatDescriptions.${e}`),label:t(`common.formatId.${e}`),value:e})));return pe({authAccount:G.PUB}),O({title:u}),(e,f)=>(Y(),j("form",{onSubmit:f[0]||(f[0]=(...k)=>a(c)&&a(c)(...k))},[o(a(oe),{class:"px-4 sm:px-0",heading:a(u),links:w},null,8,["heading"]),o(a(ne),{class:"mb-10 mt-8"}),o(a(te),{headline:e.$t("zone.new.form.headline"),description:e.$t("zone.new.form.description")},{default:i(()=>[o(a(ie),null,{footer:i(()=>[o(a(X),{type:"submit","is-submitting":a(D)},{default:i(()=>[b(_(e.$t("common.buttons.saveChanges")),1)]),_:1},8,["is-submitting"])]),default:i(()=>[p("div",be,[p("div",_e,[o(a(J),{class:"flex-1",label:e.$t("zone.new.form.zoneTitle"),name:"zone_title",required:""},null,8,["label"]),o(a(W),{class:"mt-8 h-full",onClick:a(P)},{default:i(()=>[b(_(e.$t("zone.new.form.randomTitleButton")),1)]),_:1},8,["onClick"])]),o(a(se),{label:e.$t("common.formatTitle"),options:a(R),name:"format_id"},null,8,["label","options"])])]),_:1})]),_:1},8,["headline","description"])],32))}});export{Be as default};

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.