(function(opts_){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var f=this||self,g=/^[\w+/_-]+[=]{0,2}$/,k=null,l=function(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&g.test(a)?a:""},m=function(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},n=function(a){return a};var p=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,p);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};m(p,Error);p.prototype.name="CustomError";var r=function(a,b){a=a.split("%s");for(var c="",e=a.length-1,d=0;d"}else h=void 0===a?"undefined":null===a?"null": typeof a;u("Argument is not a %s (or a non-Element, non-Location mock); got: %s",b,h)}};var w;var z=function(a,b){this.g=a===x&&b||"";this.h=y};z.prototype.toString=function(){return"Const{"+this.g+"}"};var A=function(a){if(a instanceof z&&a.constructor===z&&a.h===y)return a.g;u("expected object of type Const, got '"+a+"'");return"type_error:Const"},y={},x={};var D=function(a,b){this.f=a===B&&b||"";this.i=C};D.prototype.toString=function(){return"TrustedResourceUrl{"+this.f+"}"}; var E=function(a){if(a instanceof D&&a.constructor===D&&a.i===C)return a.f;var b=typeof a;u("expected object of type TrustedResourceUrl, got '"+a+"' of type "+("object"!=b?b:a?Array.isArray(a)?"array":b:"null"));return"type_error:TrustedResourceUrl"},H=function(a,b){var c=A(a);if(!F.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(aa,function(e,d){if(!Object.prototype.hasOwnProperty.call(b,d))throw Error('Found marker, "'+d+'", in format string, "'+c+'", but no valid label mapping found in args: '+ JSON.stringify(b));e=b[d];return e instanceof z?A(e):encodeURIComponent(String(e))});return G(a)},aa=/%{(\w+)}/g,F=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,ba=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,J=function(a){var b=ca;a=H(da,a);a=E(a).toString();a=ba.exec(a);var c=a[3]||"";return G(a[1]+I("?",a[2]||"",b)+I("#",c,void 0))},C={},G=function(a){if(void 0===w){var b=null,c=f.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:n,createScript:n, createScriptURL:n})}catch(e){f.console&&f.console.error(e.message)}w=b}a=(b=w)?b.createScriptURL(a):a;return new D(B,a)},I=function(a,b,c){if(null==c)return b;if("string"===typeof c)return c?a+encodeURIComponent(c):"";for(var e in c)if(Object.prototype.hasOwnProperty.call(c,e)){var d=c[e];d=Array.isArray(d)?d:[d];for(var h=0;ha.length?"&":"")+encodeURIComponent(e)+"="+encodeURIComponent(String(q)))}}return b},B={};var K=function(){this.c=""};K.prototype.toString=function(){return"SafeStyle{"+this.c+"}"};K.prototype.a=function(a){this.c=a};(new K).a("");var L=function(){this.b=""};L.prototype.a=function(a){this.b=a};L.prototype.toString=function(){return"SafeStyleSheet{"+this.b+"}"};(new L).a("");var ea=new z(x,"https://www.google.com/cse/static/style/look/%{versionDir}%{versionSlash}%{theme}.css"),M=new z(x,"https://www.google.com/cse/static/element/%{versionDir}%{versionSlash}default%{experiment}+%{lang}.css"),da=new z(x,"https://www.google.com/cse/static/element/%{versionDir}%{versionSlash}cse_element__%{lang}.js"),N=new z(x,"/");window.__gcse=window.__gcse||{};window.__gcse.ct=Date.now(); window.__gcse.scb=function(){var a=window.__gcse;O()||delete opts_.rawCss;var b=fa(a.initializationCallback||a.callback);google.search.cse.element.init(opts_)&&("explicit"!==a.parsetags?"complete"===document.readyState||"interactive"===document.readyState?(google.search.cse.element.go(),b&&b()):google.setOnLoadCallback(function(){google.search.cse.element.go();b&&b()},!0):b&&b())};function fa(a){return"function"===typeof a?a:"string"===typeof a&&"function"===typeof window[a]?window[a]:null} function O(){return!(window.__gcse&&window.__gcse.plainStyle)}function P(a){var b=document.createElement("link");b.type="text/css";v(b,"HTMLLinkElement");b.rel="stylesheet";t(a instanceof D,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"');b.href=E(a).toString();return b};var Q,ca=opts_.usqp?{usqp:opts_.usqp}:{},R=opts_.language.toLowerCase();Q=opts_.cselibVersion?J({versionDir:opts_.cselibVersion,versionSlash:N,lang:R}):J({versionDir:"",versionSlash:"",lang:R});var S=window.__gcse.scb,T=document.createElement("script");v(T,"HTMLScriptElement");T.src=E(Q);var U;var V=T.ownerDocument&&T.ownerDocument.defaultView;V&&V!=f?U=l(V.document):(null===k&&(k=l(f.document)),U=k);U&&T.setAttribute("nonce",U);T.type="text/javascript";S&&(T.onload=S);document.getElementsByTagName("head")[0].appendChild(T); if(O()){document.getElementsByTagName("head")[0].appendChild(P(opts_.cselibVersion?H(M,{versionDir:opts_.cselibVersion,versionSlash:N,experiment:"",lang:opts_.language}):H(M,{versionDir:"",versionSlash:"",experiment:"",lang:opts_.language})));var W,X=opts_.uiOptions.cssThemeVersion||2,Y=opts_.theme.toLowerCase(),Z=X?"v"+X:Y.match(/v2_/g)?"v2":"",ha=Y.replace("v2_","");W=H(ea,{versionDir:Z,versionSlash:Z?N:"",theme:ha});document.getElementsByTagName("head")[0].appendChild(P(W))}; })({ "cx": "84f11ed3ea3923141", "language": "vi", "theme": "V2_DEFAULT", "uiOptions": { "resultsUrl": "", "enableAutoComplete": false, "enableImageSearch": true, "imageSearchLayout": "popup", "resultSetSize": "filtered_cse", "enableOrderBy": true, "orderByOptions": [{ "label": "Relevance", "key": "" }, { "label": "Date", "key": "date" }], "overlayResults": true, "webSearchExtendedRestricts": { "gl": "vn" }, "imageSearchExtendedRestricts": { "gl": "vn" }, "enableHistory": false, "numTopRefinements": 2147483647, "hideElementBranding": false, "cssThemeVersion": 4, "isSafeSearchActive": true }, "protocol": "https", "rawCss": ".gsc-control-cse{font-family:arial, sans-serif}.gsc-control-cse .gsc-table-result{font-family:arial, sans-serif}.gsc-refinementsGradient{background:linear-gradient(to left,rgba(255,255,255,1),rgba(255,255,255,0))}", "cse_token": "AJvRUv1fpfG4qJ8nskJzlbdAoflR:1615255464520", "isHostedPage": false, "exp": ["csqr", "cc"], "cselibVersion": "323d4b81541ddb5b", "usqp": "CAI\u003d" });