PageSourceSearch

https://netbankingpf.bancosemear.com.br/assets/react-cookie-54c1b100.js

js bancosemear.com.br collected 2026-10-08 22:13:27 UTC 11,085 bytes, 13 lines download raw bytes

vendor: 1,917 bytes, lines 1-6
1import{r as O}from"./vendor-066f6287.js";var j={};/*!
2 * cookie
3 * Copyright(c) 2012-2014 Roman Shtylman
4 * Copyright(c) 2015 Douglas Christopher Wilson
5 * MIT Licensed
6 */var A;function z(){if(A)return j;A=1,j.parse=y,j.serialize=v;var t=Object.prototype.toString,o=Object.prototype.hasOwnProperty,r=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,i=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,u=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,d=/^[\u0020-\u003A\u003D-\u007E]*$/;function y(s,f){if(typeof s!="string")throw new TypeError("argument str must be a string");var n={},p=s.length;if(p<2)return n;var C=f&&f.decode||w,a=0,l=0,h=0;do{if(l=s.indexOf("=",a),l===-1)break;if(h=s.indexOf(";",a),h===-1)h=p;else if(l>h){a=s.lastIndexOf(";",l-1)+1;continue}var e=m(s,a,l),g=S(s,l,e),_=s.slice(e,g);if(!o.call(n,_)){var E=m(s,l+1,h),x=S(s,h,E);s.charCodeAt(E)===34&&s.charCodeAt(x-1)===34&&(E++,x--);var U=s.slice(E,x);n[_]=k(U,C)}a=h+1}while(a<p);return n}function m(s,f,n){do{var p=s.charCodeAt(f);if(p!==32&&p!==9)return f}while(++f<n);return n}function S(s,f,n){for(;f>n;){var p=s.charCodeAt(--f);if(p!==32&&p!==9)return f+1}return n}function v(s,f,n){var p=n&&n.encode||encodeURIComponent;if(typeof p!="function")throw new TypeError("option encode is invalid");if(!r.test(s))throw new TypeError("argument name is invalid");var C=p(f);if(!i.test(C))throw new TypeError("argument val is invalid");var a=s+"="+C;if(!n)return a;if(n.maxAge!=null){var l=Math.floor(n.maxAge);if(!isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+l}if(n.domain){if(!u.test(n.domain))throw new TypeError("option domain is invalid");a+="; Domain="+n.domain}if(n.path){if(!d.test(n.path))throw new TypeError("option path is invalid");a+="; Path="+n.path}if(n.expires){var h=n.expires;if(!b(h)||isNaN(h.valueOf()))throw new TypeError("option expires is invali
6d");a+="; Expires="+h.toUTCString()}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.partitioned&&(a+="; Partitioned"),n.priority){var e=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(e){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(n.sameSite){var g=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(g){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a}function w(s){return s.indexOf("%")!==-1?decodeURIComponent(s):s}function b(s){return t.call(s)==="[object Date]"}function k(s,f){try{return f(s)}catch{return s}}return j}var P=z();function F(){const t=typeof global>"u"?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof t=="boolean"?t:typeof document=="object"&&typeof document.cookie=="string"}function H(t){return typeof t=="string"?P.parse(t):typeof t=="object"&&t!==null?t:{}}function T(t,o={}){const r=q(t);if(!o.doNotParse)try{return JSON.parse(r)}catch{}return t}function q(t){return t&&t[0]==="j"&&t[1]===":"?t.substr(2):t}class D{constructor(o,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const u=this.cookies;this.cookies=P.parse(document.cookie),this._checkChanges(u)};const i=typeof document>"u"?"":document.cookie;this.cookies=H(o||i),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=F()}_emitChange(o){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](o)}_checkChanges(o){new Set(Object.keys(o).concat(Object.keys(this.cookies))).forEach(i=>{o[i]!==this.cookies[i]&&this._emitChange({name:i,value:T(this.cookies[i])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(o,r={}){return r.doNotUpdate||this.update(),T(this.cookies[o],r)}getAll(o={}){o.doNotUpdate||this.update();const r={};for(let i in this.cookies)r[i]=T(this.cookies[i],o);return r}set(o,r,i){i?i=Object.assign(Object.assign({},this.defaultSetOptions),i):i=this.defaultSetOptions;const u=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[o]:u}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=P.serialize(o,u,i)),this._emitChange({name:o,value:r,options:i})}remove(o,r){const i=r=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[o],this.HAS_DOCUMENT_COOKIE&&(document.cookie=P.serialize(o,"",i)),this._emitChange({name:o,value:void 0,options:r})}addChangeListener(o){this.changeListeners.push(o),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(o){const r=this.changeListeners.indexOf(o);r>=0&&this.changeListeners.splice(r,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const L=O.createContext(new D),{Provider:K,Consumer:V}=L;class re extends O.Component{constructor(o){super(o),o.cookies?this.cookies=o.cookies:this.cookies=new D(void 0,o.defaultSetOptions)}render(){return O.createElement(K,{value:this.cookies},this.props.children)}}function B(t,o){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&o.indexOf(i)<0&&(r[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,i=Object.getOwnPropertySymbols(t);u<i.length;u++)o.indexOf(i[u])<0&&Object.prototype.propertyIsEnumerable.call(t,i[u])&&(r[i[u]]=t[i[u]]);return r}function W(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $={exports:{}},c={};/** @license React v16.13.1
7 * react-is.production.min.js
8 *
9 * Copyright (c) Facebook, Inc. and its affiliates.
10 *
11 * This source code is licensed under the MIT license found in the
12 * LICENSE file in the root directory of this source tree.
13 */var R;function J(){if(R)return c;R=1;var t=typeof Symbol=="function"&&Symbol.for,o=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,u=t?Symbol.for("react.strict_mode"):60108,d=t?Symbol.for("react.profiler"):60114,y=t?Symbol.for("react.provider"):60109,m=t?Symbol.for("react.context"):60110,S=t?Symbol.for("react.async_mode"):60111,v=t?Symbol.for("react.concurrent_mode"):60111,w=t?Symbol.for("react.forward_ref"):60112,b
13=t?Symbol.for("react.suspense"):60113,k=t?Symbol.for("react.suspense_list"):60120,s=t?Symbol.for("react.memo"):60115,f=t?Symbol.for("react.lazy"):60116,n=t?Symbol.for("react.block"):60121,p=t?Symbol.for("react.fundamental"):60117,C=t?Symbol.for("react.responder"):60118,a=t?Symbol.for("react.scope"):60119;function l(e){if(typeof e=="object"&&e!==null){var g=e.$$typeof;switch(g){case o:switch(e=e.type,e){case S:case v:case i:case d:case u:case b:return e;default:switch(e=e&&e.$$typeof,e){case m:case w:case f:case s:case y:return e;default:return g}}case r:return g}}}function h(e){return l(e)===v}return c.AsyncMode=S,c.ConcurrentMode=v,c.ContextConsumer=m,c.ContextProvider=y,c.Element=o,c.ForwardRef=w,c.Fragment=i,c.Lazy=f,c.Memo=s,c.Portal=r,c.Profiler=d,c.StrictMode=u,c.Suspense=b,c.isAsyncMode=function(e){return h(e)||l(e)===S},c.isConcurrentMode=h,c.isContextConsumer=function(e){return l(e)===m},c.isContextProvider=function(e){return l(e)===y},c.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===o},c.isForwardRef=function(e){return l(e)===w},c.isFragment=function(e){return l(e)===i},c.isLazy=function(e){return l(e)===f},c.isMemo=function(e){return l(e)===s},c.isPortal=function(e){return l(e)===r},c.isProfiler=function(e){return l(e)===d},c.isStrictMode=function(e){return l(e)===u},c.isSuspense=function(e){return l(e)===b},c.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===i||e===v||e===d||e===u||e===b||e===k||typeof e=="object"&&e!==null&&(e.$$typeof===f||e.$$typeof===s||e.$$typeof===y||e.$$typeof===m||e.$$typeof===w||e.$$typeof===p||e.$$typeof===C||e.$$typeof===a||e.$$typeof===n)},c.typeOf=l,c}var M;function Y(){return M||(M=1,$.exports=J()),$.exports}var N,I;function Z(){if(I)return N;I=1;var t=Y(),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[t.ForwardRef]=i,d[t.Memo]=u;function y(f){return t.isMemo(f)?u:d[f.$$typeof]||o}var m=Object.defineProperty,S=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,w=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,k=Object.prototype;function s(f,n,p){if(typeof n!="string"){if(k){var C=b(n);C&&C!==k&&s(f,C,p)}var a=S(n);v&&(a=a.concat(v(n)));for(var l=y(f),h=y(n),e=0;e<a.length;++e){var g=a[e];if(!r[g]&&!(p&&p[g])&&!(h&&h[g])&&!(l&&l[g])){var _=w(n,g);try{m(f,g,_)}catch{}}}}return f}return N=s,N}var G=Z(),Q=W(G);function oe(t){const o=t.displayName||t.name;class r extends O.Component{constructor(){super(...arguments),this.onChange=()=>{this.forceUpdate()}}listen(){this.props.cookies.addChangeListener(this.onChange)}unlisten(d){(d||this.props.cookies).removeChangeListener(this.onChange)}componentDidMount(){this.listen()}componentDidUpdate(d){d.cookies!==this.props.cookies&&(this.unlisten(d.cookies),this.listen())}componentWillUnmount(){this.unlisten()}render(){const d=this.props,{forwardedRef:y,cookies:m}=d,S=B(d,["forwardedRef","cookies"]),v=m.getAll({doNotUpdate:!0});return O.createElement(t,Object.assign({},S,{ref:y,cookies:m,allCookies:v}))}}r.displayName=`withCookies(${o})`,r.WrappedComponent=t;const i=O.forwardRef((u,d)=>O.createElement(V,null,y=>O.createElement(r,Object.assign({cookies:y},u,{forwardedRef:d}))));return i.displayName=r.displayName,i.WrappedComponent=r.WrappedComponent,Q(i,t)}function X(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function ie(t,o){const r=O.useContext(L);if(!r)throw new Error("Missing <CookiesProvider>");const u=Object.assign(Object.assign({},{doNotUpdate:!0}),o),[d,y]=O.useState(()=>r.getAll(u));X()&&O.useLayoutEffect(()=>{function w(){const b=r.getAll(u);ee(t||null,b,d)&&y(b)}return r.addChangeListener(w),()=>{r.removeChangeListener(w)}},[r,d]);const m=O.useMemo(()=>r.set.bind(r),[r]),S=O.useMemo(()=>r.remove.bind(r),[r]),v=O.useMemo(()=>r.update.bind(r),[r]);return[d,m,S,v]}function ee(t,o,r){if(!t)return!0;
13for(let i of t)if(o[i]!==r[i])return!0;return!1}export{re as C,ie as u,oe as w};

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.