PageSourceSearch

https://app.snappr.com/_next/static/chunks/56075.b19f96e78e430894.js

js snappr.com collected 2026-09-24 09:30:14 UTC 2,260 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0ae5ffff-81bb-412f-9045-d6b54e72dfc9",e._sentryDebugIdIdentifier="sentry-dbid-0ae5ffff-81bb-412f-9045-d6b54e72dfc9")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[56075],{56075:(e,s,r)=>{r.r(s),r.d(s,{GalleryPermissionRequestRoute:()=>i});var n=r(50979),o=r(25963),a=r(32071),t=r(41382),l=r(54113);class i extends o.Component{componentDidMount(){let{location:{search:e}}=this.props,{permissionGranted:s,requestToken:r}=a.parse(e);(0,t.nr)("/api/v2/gallery-permission-request/".concat(r,"/permission-granted"),{method:"PUT",body:JSON.stringify({permission_granted:JSON.parse(s)})}).then(e=>{let{coupon_code:s}=e;return this.setState({loading:!1,couponCode:s})}).catch(e=>{this.setState({error:!0,loading:!1}),(0,t.Cp)(e),console.error(e)})}render(){let{location:{search:e}}=this.props,{permissionGranted:s}=a.parse(e);return(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(l.j,{}),(0,n.jsx)("div",{className:"base-div-wrapper d-flex flex-column flex-1",children:(0,n.jsx)("div",{className:"base-div-2 d-flex flex-column flex-1",children:(0,n.jsx)("div",{className:"base-div d-flex text-center flex-column align-items-center flex-1 bg-white p-5",children:this.state.loading?(0,n.jsx)("p",{className:"lead",children:"loading..."}):this.state.error?(0,n.jsx)("p",{className:"lead",children:"Looks like there was an error"}):JSON.parse(s)?(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)("p",{className:"lead",children:"Thanks for giving us permission to show your photos to help Snappr photographers!"}),(0,n.jsx)("p",{className:"lead",children:"Use this coupon code for $10 off your next Snappr booking:"}),(0,n.jsx)("h3",{className:"mb-0",children:this.state.couponCode})]}):(0,n.jsxs)("p",{className:"lead",children:["Thanks for letting us know you ","don't"," want your photos to appear on ",(0,n.jsx)("a",{href:"htpps://wwww.snappr.com",children:"snappr.com."})," ","Have a great day!"]})})})})]})}constructor(...e){super(...e),this.state={loading:!0,error:!1,couponCode:""}}}}}]);

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.