"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1768],{91768:(e,l,s)=>{s.r(l),s.d(l,{default:()=>f});var a=s(23892),t=s(85848),r=s(83252),d=s(61897);function f(e){let{item:l}=e,[s,f]=(0,t.useState)(!1),u=(0,r.w8)(l.path,!0);return s?(0,a.jsx)(d.A,{title:"Failed to load PDF",message:"The PDF file could not be loaded or displayed."}):(0,a.jsx)("div",{className:"w-full h-full flex flex-col",children:(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,a.jsx)("iframe",{src:u,className:"w-full h-full rounded-md border",title:l.name,onError:()=>f(!0)})})})}}}]);