PageSourceSearch

https://www.talkingdogfishing.com/_next/static/chunks/6349-b951144dfa198230.js

js talkingdogfishing.com collected 2026-10-09 21:48:33 UTC 12,399 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="81611f12-e653-418a-88fb-9deda376ec1f",e._sentryDebugIdIdentifier="sentry-dbid-81611f12-e653-418a-88fb-9deda376ec1f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6349],{75443:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(37876),a=r(14232),i=r(89099),l=r(14312),o=r(92935);let d=(0,a.forwardRef)((e,t)=>{let{url:i,type:l="",from:d,style:s={},loadingVal:u=!0,isSigned:c=!1}=e,m=(0,a.useRef)(null),p=(0,a.useRef)(null),f=(0,a.useRef)(!1),[y,_]=(0,a.useState)("html"!==l||u),[g,h]=(0,a.useState)(null);(0,a.useEffect)(()=>{var e;_(!0);let t=!1;if(!m.current||!i||f.current)return;let n=null==i||null==(e=i.split("?"))?void 0:e[0],a=setTimeout(async()=>{try{let a=await r.e(5507).then(r.t.bind(r,85507,23)),i=await a.default({path:"https://master.dtus9n5khqmvs.amplifyapp.com/lib/webviewer",licenseKey:"Guidesly Inc.:PWS:a5jOK000000uGtJ::B+3:209D6EE25769F086C288A4C6C3BC44C456F20810FC754F8AB97D656D",initialDoc:"html"===l?"":n,disabledElements:["default-top-header","tools-header","toolsOverlay"],disabledFeatures:["header","toolsHeader","toolsOverlay"]},m.current);if(t)return;p.current=i,f.current=!0;let{documentViewer:o,annotationManager:d,Annotations:s}=i.Core,{Core:u,UI:c}=i;function e(e,t){return t&&"number"==typeof t.x1&&"number"==typeof t.y1?t:new e.Math.Rect(t.x,t.y,t.x+t.width,t.y+t.height)}null==c||c.disableElements(["default-top-header","tools-header"]),null==c||c.disableTools(["AnnotationCreateSignature","AnnotationCreateInitial"]),d.addEventListener("annotationChanged",(t,r)=>{"add"===r&&t.forEach(t=>{if(!(t instanceof s.FreeHandAnnotation))return;let r=t.PageNumber,n=e(u,t.getRect()),a=d.getAnnotationsList().filter(e=>e.PageNumber===r&&e instanceof s.SignatureWidgetAnnotation).find(t=>e(u,t.getRect()).intersects(n));if(!a)return void d.deleteAnnotation(t,!1,!0);let i=e(u,a.getRect()),l=function(e,t){let r=t.x2-t.x1,n=t.y2-t.y1;return new e.Rect(t.x1,t.y1,r,n)}(s,i);t.setRect(l),d.redrawAnnotation(t)})}),o.addEventListener("documentLoaded",()=>{if(!t){var e;_(!1),null==c||c.enableFeatures([null==c||null==(e=c.Feature)?void 0:e.Initials]),setTimeout(()=>{c.setFitMode(c.FitMode.FitWidth)},100)}}),"html"===l&&await o.loadDocument(n,{filename:"waiver.pdf"})}catch(e){t||(h("Failed to load PDF.",e),_(!1))}},0);return()=>{t=!0,clearTimeout(a)}},[i,l]);let v=async()=>{let e=p.current;if(!e)return{allValid:!1};let{Core:t}=e,{documentViewer:r,annotationManager:n}=t;await new Promise(e=>{r.getDocument()?e():r.addEventListener("documentLoaded",e,{once:!0})}),await r.getAnnotationsLoadedPromise(),await new Promise(e=>setTimeout(e,100));try{let e=await n.exportAnnotations(),t=new DOMParser().parseFromString(e,"text/xml"),r={};t.querySelectorAll("field").forEach(e=>{var t;let n=e.getAttribute("name"),a=(null==(t=e.querySelector("value"))?void 0:t.textContent)||"";r[n]=a});let u={};t.querySelectorAll("ink").forEach(e=>{let t=e.getAttribute("field");t&&(u[t]=!0)}),t.querySelectorAll("widget[field]").forEach(e=>{let t=e.getAttribute("field");t&&e.querySelector("appearance")&&(u[t]=!0)});let c=n.getFieldManager().getFields(),m=[];for(let e of c){var a,i,l,o,d,s;let t=e.name;if((null==e||null==(a=e.flags)?void 0:a.Required)!==!0&&(null==e||null==(l=e.flags)||null==(i=l.nq)?void 0:i.Required)!==!0&&(null==e||null==(s=e.original)||null==(d=s.flags)||null==(o=d.nq)?void 0:o.Required)!==!0)continue;let n=r[t]||"";if("Sig"===e.type){if(!u[t]&&e.getValue){let r=e.getValue();r&&""!==r&&(u[t]=!0)}n=u[t]?"SIGNED":""}n&&""!==n.trim()&&"Off"!==n||m.push(t)}return m.length>0?{allValid:!1,missing:m}:{allValid:!0}}catch(e){return{allValid:!1,error:e.message}}},x=async()=>{let e=p.current;if(!e)return null;let{Core:t}=e;try{let e=t.documentViewer.getDocument(),r=await e.getFileData({downloadType:"pdf",xfdfString:await t.annotationManager.exportAnnotations()});return new File([r],"converted.pdf",{type:"application/pdf",lastModified:Date.now()})}catch(e){return console.error("Export failed:",e),null}};return(0,a.useImperativeHandle)(t,()=>
1({exportPdf:x,validateRequiredFields:v})),(0,n.jsxs)("div",{className:"".concat(o.pdfViewerWrapper," ").concat(o.pdfViewerContainer," ").concat("link"!==d?o.pdfViewerConfirmattion:""),children:[y&&!g&&(0,n.jsx)("div",{className:o.pdfLoader,children:(0,n.jsx)("div",{className:"spinner",children:"Loading PDF..."})}),g&&(0,n.jsx)("div",{className:o.pdfErrorMsg,children:g}),(0,n.jsx)("div",{ref:m,className:"".concat(o.pdfViewerContainer," ").concat("link"!==d?o.pdfViewerConfirmattion:""),style:{...s,display:y?"none":"block"}})]})}),s=(0,a.forwardRef)((e,t)=>{let{htmlUrl:r,from:i,style:s,isSigned:u=!1,isInteractiveWaiver:c=!1}=e,m=(0,a.useRef)(),[p,f]=(0,a.useState)(""),[y,_]=(0,a.useState)(null),[g,h]=(0,a.useState)(!1),v=(0,a.useRef)();(0,a.useImperativeHandle)(t,()=>({exportPdf:async()=>{var e;return(null==(e=v.current)?void 0:e.exportPdf)?await v.current.exportPdf():null},validateRequiredFields:async()=>{var e;return(null==(e=v.current)?void 0:e.validateRequiredFields)?await v.current.validateRequiredFields():null}}),[]),(0,a.useEffect)(()=>{r&&x()},[r]),(0,a.useEffect)(()=>{r&&x()},[r]);let x=async()=>{try{h(!0);let e=await fetch(r),t=await e.text();f(t)}catch(e){console.error("Error fetching HTML:",e)}finally{h(!1)}};(0,a.useEffect)(()=>{p&&w()},[p]);let w=async()=>{if(m.current)try{h(!0),document.fonts&&document.fonts.ready&&await document.fonts.ready;let e=new l.uE("p","pt","a4"),t=e.internal.pageSize.getWidth();await e.html(m.current,{callback:e=>{let t=e.output("blob"),r=URL.createObjectURL(t);_(r)},x:50,y:50,html2canvas:{scale:(t-100)/m.current.scrollWidth},autoPaging:"text"})}catch(e){console.error("Error generating PDF:",e)}finally{h(!1)}};return(0,n.jsxs)("div",{style:s,className:"".concat(c?"":o.htmlToPdfContainer),children:[(0,n.jsx)("div",{className:o.waiverBox,children:(0,n.jsx)("div",{ref:m,style:{padding:"20px",backgroundColor:"white"},dangerouslySetInnerHTML:{__html:"".concat(c?"<style>p, span { word-spacing: 2px; letter-spacing: 0.5px }</style>":"<style>p, span { word-spacing: 1px; }</style>").concat(p)}})}),c?(0,n.jsx)(d,{url:y||"",type:"html",from:i,style:s,ref:v,loadingVal:g,isSigned:u}):(0,n.jsxs)(n.Fragment,{children:[g&&(0,n.jsx)("div",{className:o.pdfLoader,children:(0,n.jsx)("div",{className:"spinner",children:"Loading PDF..."})}),y&&!g&&(0,n.jsx)("iframe",{src:"".concat(y,"#toolbar=0&navpanes=0&scrollbar=0&view=FitH"),width:"100%",style:{width:"100%",border:"none"},className:"link"==i?o.pdfIframeLink:o.pdfIframeConfirmation})]})]})}),u=(0,a.forwardRef)((e,t)=>{var r,l,o,u,c,m,p;let{docs:f,signature:y,setSignature:_,errmsg:g,isMobile:h,initialSign:v,handleSaveWaiver:x,setShowWaiver:w,from:b,getDocsviewer:C,isInteractiveWaiver:S=!1,onCancel:j}=e,k=(0,i.useRouter)(),D=(0,a.useRef)();return(0,a.useImperativeHandle)(t,()=>({exportPdf:async()=>{var e;return(null==(e=D.current)?void 0:e.exportPdf)?await D.current.exportPdf():null},validateRequiredFields:async()=>{var e;return(null==(e=D.current)?void 0:e.validateRequiredFields)?await D.current.validateRequiredFields():null}}),[]),(0,n.jsxs)("div",{className:"waiverBody",children:[(0,n.jsx)("p",{children:"Read and understand the terms below."}),(0,n.jsx)("div",{className:"WaiverContent",style:{height:"link"==b?"80vh":"63vh"},children:(null==f?void 0:f.length)>0&&(null==f||null==(r=f[0])?void 0:r.fileType)=="html"?(0,n.jsx)(s,{htmlUrl:null==f||null==(l=f[0])?void 0:l.uri,from:b,type:null==f||null==(o=f[0])?void 0:o.fileType,style:{display:(null==f||null==(u=f[0])?void 0:u.fileType)==="html"?"block":"none"},ref:D,isSigned:null==y?void 0:y.allready_signed,isInteractiveWaiver:S}):S?(0,n.jsx)(d,{url:null==f||null==(c=f[0])?void 0:c.uri,type:null==f||null==(m=f[0])?void 0:m.fileType,from:b,style:{display:(null==f||null==(p=f[0])?void 0:p.fileType)!=="html"?"block":"none"},ref:D,isSigned:null==y?void 0:y.allready_signed}):C}),(0,n.jsxs)("div",{className:"Waiver",style:{alignItems:"center"},children:[(0,n.jsx)("input",{type:"checkbox",checked:null==y?void 0:y.accept,onChange:e=>_({...y,accept:e.target.checked}),disabled:null!=y&&!!y.allready_signed}),(0,n.jsx)("p",{children:"I have read and understand the Waiver Agreement Form."})]}),(0,n.jsxs)("div",{className:"Signature",children:["link"==b?(0,n.jsx)("div",{className:"link"==b&&(null==y?void 0:y.allready_signed)?"signText signText1":"signText",children:(0,n.jsx)("p",{children:(null==y?void 0:y.allready_signed)?"Signed":"Sign Here"})}):(0,n.jsx)("div",{className:"signText",children:(0,n.jsx)("p",{children:(null==y?void 0:y.allready_signed)?"Signed":"Sign Here"})}),(0,n.jsx)("input",{type:"text",value:null==y?void 0:y.name,disabled:null!=y&&!!y.allready_signed,onChange:e=>_({...y,name:e.target.value})}),(0,n.jsx)("div",{className:"SignPlaceholder"}),(0,n.jsx)("span",{children:"Enter your full name as your signature."})]}),g&&(0,n.jsx)("p",{className:"errWMessage",children:g}),!(null==y?void 0:y.allready_signed)&&(0,n.jsxs)("div",{className:"BtnCont",children:[(0,n.jsx)("button",{className:"bookNowBtn blackBtn",style:{display:h?"none":void 0,height:"35px",..."link"!==b&&{background:"#000",cursor:"pointer",padding:"0 20px"}},onClick:()=>{_(v),"confirmation"==b?j?j():w(!1):k.push("/")},children:"Cancel"}),(0,n.jsx)("button",{className:"bookNowBtn blackBtn",style:{..."link"!==b&&{background:"#000",cursor:"pointer",padding:"0 20px"},...(null==y?void 0:y.accept)&&(null==y?void 0:y.name)?{}
1:{cursor:"auto",height:"35px"},height:"35px"},onClick:()=>x(),disabled:!!h&&!((null==y?void 0:y.accept)&&(null==y?void 0:y.name)),children:"Accept Waiver"})]})]})})},91423:(e,t,r)=>{"use strict";let n;r.d(t,{A:()=>o});let a={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},i=new Uint8Array(16),l=[];for(let e=0;e<256;++e)l.push((e+256).toString(16).slice(1));let o=function(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();let o=(e=e||{}).random??e.rng?.()??function(){if(!n){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");n=crypto.getRandomValues.bind(crypto)}return n(i)}();if(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=o[e];return t}return function(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}(o)}},92935:e=>{e.exports={tripcontainer:"tripsummary_tripcontainer__0c9HL",tripSummary:"tripsummary_tripSummary__DiGFd",Grid1:"tripsummary_Grid1__0FNca",boldFont1:"tripsummary_boldFont1__JLbOu",calendar:"tripsummary_calendar__vRP0f",Drop:"tripsummary_Drop__J1jtT",Drop1:"tripsummary_Drop1__D_m_L",guestCont:"tripsummary_guestCont__zc9FS",CheckMax:"tripsummary_CheckMax__GodDc",errorMsg:"tripsummary_errorMsg__XZG5n",norc:"tripsummary_norc__zniLi",AmtContainer:"tripsummary_AmtContainer___eTA7",AmtContainers:"tripsummary_AmtContainers__JcH0h",cardrow:"tripsummary_cardrow__BG_qJ",cardrow_guide:"tripsummary_cardrow_guide__bSA7s",rightText:"tripsummary_rightText__bdwH6",hbar1:"tripsummary_hbar1__DYWll",bottomBtns:"tripsummary_bottomBtns__a9CDE",textmsg:"tripsummary_textmsg__i3TrX",continueB:"tripsummary_continueB__pD75M",agreeBtn:"tripsummary_agreeBtn__c5We8",disable:"tripsummary_disable__eWmpC",newSummary:"tripsummary_newSummary__4VD6W",groupSection:"tripsummary_groupSection__dP9nq",SubTitleAccr:"tripsummary_SubTitleAccr__08fEB",waiverBox:"tripsummary_waiverBox__A_Z0Z",pdfViewerContainer:"tripsummary_pdfViewerContainer__xNM05",pdfViewerWrapper:"tripsummary_pdfViewerWrapper__oy3fS",pdfLoader:"tripsummary_pdfLoader__AyO7l",pdfErrorMsg:"tripsummary_pdfErrorMsg__4MM4x",pdfViewerConfirmattion:"tripsummary_pdfViewerConfirmattion__3cQQt",htmlToPdfContainer:"tripsummary_htmlToPdfContainer__ibIsB",pdfIframeLink:"tripsummary_pdfIframeLink__Virhk",pdfIframeConfirmation:"tripsummary_pdfIframeConfirmation__EuC8r"}}}]);
2//# sourceMappingURL=6349-b951144dfa198230.js.map

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.