PageSourceSearch

https://www.outdoor-magazin.com/_next/static/chunks/articleinlineform.1cd820e9884d8aec.js

js outdoor-magazin.com collected 2026-09-24 17:22:02 UTC 2,289 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28874],{81648:(e,t,n)=>{n.r(t),n.d(t,{ArticleInlineForm:()=>h,default:()=>p});var s=n(6029),i=n(99114),a=n(64996),l=n(55729),r=n(32988),o=n.n(r),c=n(31332),u=n(23661),d=n(92476),f=n(73318);let h=({form:e,irConfig:t,page:n,element:r,message:h,notready:p,divId:m,showAdditionalUploadHints:w,...x})=>{let[g,b]=(0,l.useState)(e),[S,k]=(0,l.useState)(p),[y,N]=(0,l.useState)(!1),[j,_]=(0,l.useState)(null),[v,A]=(0,l.useState)(null),D=(0,l.useRef)(),E=(0,a.A)(),F=(0,f.A)(e=>e.setFormSuccess),M=["MVP_grund","MVP_print","MVP_digital"];(0,l.useEffect)(()=>{D.current&&D.current.scrollIntoView({behavior:"smooth",block:"center"})},[D,y]);let U=async()=>{if(p)try{let e=await E(r,t,n);e?.notready||(k(!1),b(e.form))}catch(e){console.error(e)}};(0,l.useEffect)(()=>{U()},[p]),(0,l.useEffect)(()=>{if(y&&v)try{let e=window.location.host,t=new URL(v,window.location.origin);t.host!==e?window.location.href=t.pathname+t.search+t.hash:window.location.href=v}catch(e){window.location.href=v}},[y,v]);let V=async e=>{var s;s=e,M&&M.map((e,t)=>{s[e]&&(s[e]=s[e].toString())}),e=s;let i=new FormData;e.isSubmitted||(e.isSubmitted=!0);let a=[];for(let t in e)e[t]instanceof File?(i.append("files",e[t]),a.push({field:t,fileName:e[t].name})):null!==e[t]&&("true"===e[t]?i.append(t,"on"):"false"===e[t]?i.append(t,"off"):i.append(t,e[t]));a.length&&i.append("files",JSON.stringify(a));let l=await E(r,t,n,{},i);if(_(l.successText),A(l.successUrl),F(l.successText,l.successUrl,e,l.isGewinnspiel||!1),l?.form?.success)return N(!0),l;b({...l.form,scrollIntoView:!0})};return S?h?(0,s.jsx)("div",{className:o()({"px-4 lg:px-0":!0}),children:(0,s.jsx)(c.Headline,{size:"small",headline:h,isDarkMode:!0})}):null:y?(0,s.jsx)("div",{className:o()({"px-4 lg:px-0":!0}),ref:D,children:(0,s.jsx)(d.Ay,{className:"font-skin-primary underline text-xl-ce
1nter",href:v||"",noFollow:!0,children:v})}):(0,s.jsx)("div",{className:o()({"px-4 lg:px-0":!0}),id:m,...(0,u.h)("form"),children:(0,s.jsx)(i.a,{...g,submitButtonText:"Absenden",submitButtonTextLoading:w?"Bitte warte, je nach Dateigr\xf6\xdfe kann der Upload einige Minuten andauern":"Bitte warte, Deine Daten werden \xfcbertragen",onSubmit:e=>V(e),element:r,showAdditionalUploadHints:w})})},p=h}}]);

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.