PageSourceSearch

https://canalrivertrust.org.uk/build/3516.c01910e7.js

js canalrivertrust.org.uk collected 2026-09-24 08:46:20 UTC 4,100 bytes, 2 lines download raw bytes

1/*! For license information please see 3516.c01910e7.js.LICENSE.txt */
2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3516],{26511:function(e,t,r){r.d(t,{default:function(){return f}});var o=r(96540),n=r(60134),c=r(49785),a=r(45346),i=r(38645);function f(){const{amountFloat:e,frequencyFormatted:t,product:{headline:r,isCash:f,isFriendProgram:u}}=(0,n.useSelector)(a.$),{watch:s}=(0,c.xW)(),p=s("productName");return(0,o.useEffect)((()=>{var o;""!==r&&(0,i.z)({ecommerce:{currencyCode:"GBP",checkout:{actionField:{step:1},products:{id:p,name:r,brand:"Canal and River Trust",category:f?"Single Donation":u?"Individual Friend":null,variant:f?"One time donation":(o=t,null===o?null:o.charAt(0).toUpperCase()+o.slice(1)),dimension3:f,dimension4:!1,dimension5:!1,price:e,quantity:1}}}})}),[r]),null}},45346:function(e,t,r){function o(e){return e.donate}function n(e){return e.donate.loading>0}r.d(t,{$:function(){return o},Q:function(){return n}})},4146:function(e,t,r){var o=r(44363),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function f(e){return o.isMemo(e)?a:i[e.$$typeof]||n}i[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[o.Memo]=a;var u=Object.defineProperty,s=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,o){if("string"!=typeof r){if(m){var n=y(r);n&&n!==m&&e(t,n,o)}var a=s(r);p&&(a=a.concat(p(r)));for(var i=f(t),d=f(r),b=0;b<a.length;++b){var $=a[b];if(!(c[$]||o&&o[$]||d&&d[$]||i&&i[$])){var S=l(r,$);try{u(t,$,S)}catch(e){}}}}return t}},22799:function(e,t){var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,c=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,i=r?Symbol.for("react.profiler"):60114,f=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,s=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,l=r?Symbol.for("react.forward_ref"):60112,y=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,d=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,$=r?Symbol.for("react.block"):60121,S=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,v=r?Symbol.for("react.scope"):60119;function P(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case s:case p:case c:case i:case a:case y:return e;default:switch(e=e&&e.$$typeof){case u:case l:case b:case d:case f:return e;default:return t}}case n:return t}}}function h(e){return P(e)===p}t.AsyncMode=s,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=f,t.Element=o,t.ForwardRef=l,t.Fragment=c,t.Lazy=b,t.Memo=d,t.Portal=n,t.Profiler=i,t.StrictMode=a,t.Suspense=y,t.isAsyncMode=function(e){return h(e)||P(e)===s},t.isConcurrentMode=h,t.isContextConsumer=function(e){return P(e)===u},t.isContextProvider=function(e){return P(e)===f},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return P(e)===l},t.isFragment=function(e){return P(e)===c},t.isLazy=function(e){return P(e)===b},t.isMemo=function(e){return P(e)===d},t.isPortal=function(e){return P(e)===n},t.isProfiler=function(e){return P(e)===i},t.isStrictMode=function(e){return P(e)===a},t.isSuspense=function(e){return P(e)===y},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===c||e===p||e===i||e===a||e===y||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===d||e.$$typeof===f||e.$$typeof===u||e.$$typeof===l||e.$$typeof===S||e.$$typeof===g||e.$$typeof===v||e.$$typeof===$)},t.typeOf=P},44363:function(e,t,r){e.exports=r(22799)}}]);

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.