PageSourceSearch

https://pwskills.com/_next/static/chunks/259.9ed6ce2ef9800173.js

js pwskills.com collected 2026-09-24 19:01:02 UTC 9,474 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[259],{50259:function(t,o,n){n.r(o),n.d(o,{GoogleReCaptcha:function(){return S},GoogleReCaptchaConsumer:function(){return v},GoogleReCaptchaContext:function(){return f},GoogleReCaptchaProvider:function(){return h},useGoogleReCaptcha:function(){return g},withGoogleReCaptcha:function(){return ne}});var a,u=n(67294),l=n(83454),s=function(){return(s=Object.assign||function(t){for(var o,n=1,a=arguments.length;n<a;n++)for(var u in o=arguments[n])Object.prototype.hasOwnProperty.call(o,u)&&(t[u]=o[u]);return t}).apply(this,arguments)},p=function(t){var o;t?function(t){if(t)for(;t.lastChild;)t.lastChild.remove()}("string"==typeof t?document.getElementById(t):t):(o=document.querySelector(".grecaptcha-badge"))&&o.parentNode&&document.body.removeChild(o.parentNode)},d=function(t,o){p(o),window.___grecaptcha_cfg=void 0;var n,a=document.querySelector("#"+t);a&&a.remove(),(n=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))&&n.remove()},y=function(t){var o=t.render,n=t.onLoadCallbackName,a=t.language,u=t.onLoad,l=t.useRecaptchaNet,f=t.useEnterprise,v=t.scriptProps,b=void 0===v?{}:v,C=b.nonce,P=void 0===C?"":C,R=b.defer,x=b.async,E=b.id,$=b.appendTo,N=(void 0===E?"":E)||"google-recaptcha-v3";if(document.querySelector("#"+N))u();else{var k,M="https://www."+((k={useEnterprise:f,useRecaptchaNet:l}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(k.useEnterprise?"enterprise.js":"api.js"),O=document.createElement("script");O.id=N,O.src=M+"?render="+o+("explicit"===o?"&onload="+n:"")+(a?"&hl="+a:""),P&&(O.nonce=P),O.defer=!!(void 0!==R&&R),O.async=!!(void 0!==x&&x),O.onload=u,("body"===$?document.body:document.getElementsByTagName("head")[0]).appendChild(O)}},m=function(t){void 0===l||l.env,console.warn(t)};(a||(a={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var f=(0,u.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}}),v=f.Consumer;function h(t){var o=t.reCaptchaKey,n=t.useEnterprise,l=void 0!==n&&n,v=t.useRecaptchaNet,b=void 0!==v&&v,C=t.scriptProps,P=t.language,R=t.container,x=t.children,E=(0,u.useState)(null),$=E[0],N=E[1],k=(0,u.useRef)(o),M=JSON.stringify(C),O=JSON.stringify(null==R?void 0:R.parameters);(0,u.useEffect)(function(){if(o){var t=(null==C?void 0:C.id)||"google-recaptcha-v3",n=(null==C?void 0:C.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var t=l?window.grecaptcha.enterprise:window.grecaptcha,n=s({badge:"inline",size:"invisible",sitekey:o},(null==R?void 0:R.parameters)||{});k.current=t.render(null==R?void 0:R.element,n)},y({render:(null==R?void 0:R.element)?"explicit":o,onLoadCallbackName:n,useEnterprise:l,useRecaptchaNet:b,scriptProps:C,language:P,onLoad:function(){if(window&&window.grecaptcha){var t=l?window.grecaptcha.enterprise:window.grecaptcha;t.ready(function(){N(t)})}else m("<GoogleRecaptchaProvider /> "+a.SCRIPT_NOT_AVAILABLE)},onError:function(){m("Error loading google recaptcha script")}}),function(){d(t,null==R?void 0:R.element)}}m("<GoogleReCaptchaProvider /> recaptcha key not provided")},[l,b,M,O,P,o,null==R?void 0:R.element]);var _=(0,u.useCallback)(function(t){if(!$||!$.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return $.execute(k.current,{action:t})},[$,k]),G=(0,u.useMemo)(function(){return{executeRecaptcha:$?_:void 0,container:null==R?void 0:R.element}},[_,$,null==R?void 0:R.element]);return u.createElement(f.Provider,{value:G},x)}var g=function(){return(0,u.useContext)(f)};function S(t){var o=this,n=t.action,a=t.onVerify,l=t.refreshReCaptcha,f=g();(0,u.useEffect)(function(){var t,u,l,v=f.executeRecaptcha;v&&(t=void 0,u=void 0,l=function(){var t;return function(t,o){var n,a,u,l,f={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return l={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function i(l){return function(v){return function(l){if(n)throw TypeError("Generator is already executing.");for(;f;)try{if(n=1,a&&(u=2&l[0]?a.return:l[0]?a.throw||((u=a.return)&&u.call(a),0):a.next)&&!(u=u.call(a,l[1])).done)return u;switch(a=0,u&&(l=[2&l[0],u.value]),l[0]){case 0:case 1:u=l;break;case 4:return f.label++,{value:l[1],done:!1};case 5:f.label++,a=l[1],l=[0];continue;case 7:l=f.ops.pop(),f.trys.pop();continue;default:if(!(u=(u=f.trys).length>0&&u[u.length-1])&&(6===l[0]||2===l[0])){f=0;continue}if(3===l[0]&&(!u||l[1]>u[0]&&l[1]<u[3])){f.label=l[1];break}if(6===l[0]&&f.label<u[1]){f.label=u[1],u=l;break}if(u&&f.label<u[2]){f.label=u[2],f.ops.push(l);break}u[2]&&f.ops.pop(),f.trys.pop();continue}
1l=o.call(t,f)}catch(t){l=[6,t],a=0}finally{n=u=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,v])}}}(this,function(o){switch(o.label){case 0:return[4,v(n)];case 1:return t=o.sent(),a?a(t):m("Please define an onVerify function"),[2]}})},new(u||(u=Promise))(function(n,a){function c(t){try{s(l.next(t))}catch(t){a(t)}}function i(t){try{s(l.throw(t))}catch(t){a(t)}}function s(t){var o;t.done?n(t.value):((o=t.value)instanceof u?o:new u(function(t){t(o)})).then(c,i)}s((l=l.apply(o,t||[])).next())}))},[n,a,l,f]);var v=f.container;return"string"==typeof v?u.createElement("div",{id:v}):null}function w(t,o){return t(o={exports:{}},o.exports),o.exports;/** @license React v16.13.1
2 * react-is.production.min.js
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */}var b="function"==typeof Symbol&&Symbol.for,C=b?Symbol.for("react.element"):60103,P=b?Symbol.for("react.portal"):60106,R=b?Symbol.for("react.fragment"):60107,x=b?Symbol.for("react.strict_mode"):60108,E=b?Symbol.for("react.profiler"):60114,$=b?Symbol.for("react.provider"):60109,N=b?Symbol.for("react.context"):60110,k=b?Symbol.for("react.async_mode"):60111,M=b?Symbol.for("react.concurrent_mode"):60111,O=b?Symbol.for("react.forward_ref"):60112,_=b?Symbol.for("react.suspense"):60113,G=b?Symbol.for("react.suspense_list"):60120,T=b?Symbol.for("react.memo"):60115,L=b?Symbol.for("react.lazy"):60116,j=b?Symbol.for("react.block"):60121,F=b?Symbol.for("react.fundamental"):60117,A=b?Symbol.for("react.responder"):60118,z=b?Symbol.for("react.scope"):60119;function I(t){if("object"==typeof t&&null!==t){var o=t.$$typeof;switch(o){case C:switch(t=t.type){case k:case M:case R:case E:case x:case _:return t;default:switch(t=t&&t.$$typeof){case N:case O:case L:case T:case $:return t;default:return o}}case P:return o}}}function D(t){return I(t)===M}var V={AsyncMode:k,ConcurrentMode:M,ContextConsumer:N,ContextProvider:$,Element:C,ForwardRef:O,Fragment:R,Lazy:L,Memo:T,Portal:P,Profiler:E,StrictMode:x,Suspense:_,isAsyncMode:function(t){return D(t)||I(t)===k},isConcurrentMode:D,isContextConsumer:function(t){return I(t)===N},isContextProvider:function(t){return I(t)===$},isElement:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===C},isForwardRef:function(t){return I(t)===O},isFragment:function(t){return I(t)===R},isLazy:function(t){return I(t)===L},isMemo:function(t){return I(t)===T},isPortal:function(t){return I(t)===P},isProfiler:function(t){return I(t)===E},isStrictMode:function(t){return I(t)===x},isSuspense:function(t){return I(t)===_},isValidElementType:function(t){return"string"==typeof t||"function"==typeof t||t===R||t===M||t===E||t===x||t===_||t===G||"object"==typeof t&&null!==t&&(t.$$typeof===L||t.$$typeof===T||t.$$typeof===$||t.$$typeof===N||t.$$typeof===O||t.$$typeof===F||t.$$typeof===A||t.$$typeof===z||t.$$typeof===j)},typeOf:I},q=w(function(t,o){}),B=(q.AsyncMode,q.ConcurrentMode,q.ContextConsumer,q.ContextProvider,q.Element,q.ForwardRef,q.Fragment,q.Lazy,q.Memo,q.Portal,q.Profiler,q.StrictMode,q.Suspense,q.isAsyncMode,q.isConcurrentMode,q.isContextConsumer,q.isContextProvider,q.isElement,q.isForwardRef,q.isFragment,q.isLazy,q.isMemo,q.isPortal,q.isProfiler,q.isStrictMode,q.isSuspense,q.isValidElementType,q.typeOf,w(function(t){t.exports=V})),J={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},K={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},H={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Q={};function W(t){return B.isMemo(t)?H:Q[t.$$typeof]||J}Q[B.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Q[B.Memo]=H;var U=Object.defineProperty,X=Object.getOwnPropertyNames,Y=Object.getOwnPropertySymbols,Z=Object.getOwnPropertyDescriptor,ee=Object.getPrototypeOf,et=Object.prototype,oe=function e(t,o,n){if("string"!=typeof o){if(et){var a=ee(o);a&&a!==et&&e(t,a,n)}var u=X(o);Y&&(u=u.concat(Y(o)));for(var l=W(t),f=W(o),v=0;v<u.length;++v){var b=u[v];if(!(K[b]||n&&n[b]||f&&f[b]||l&&l[b])){var C=Z(o,b);try{U(t,b,C)}catch(t){}}}}return t},ne=function(t){var r=function(o){return u.createElement(v,null,function(n){return u.createElement(t,s({},o,{googleReCaptchaProps:n}))})};return r.displayName="withGoogleReCaptcha("+(t.displayName||t.name||"Component")+")",oe(r,t),r}}}]);
9//# sourceMappingURL=259.9ed6ce2ef9800173.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.