text: /*
   *  Copyright 2020 Adobe Systems Incorporated. All rights reserved.
   *  This file is licensed to you under the Apache License, Version 2.0 (the "License");
   *  you may not use this file except in compliance with the License. You may obtain a copy
   *  of the License at http://www.apache.org/licenses/LICENSE-2.0
   *
   *  Unless required by applicable law or agreed to in writing, software distributed under
   *  the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
   *  OF ANY KIND, either express or implied. See the License for the specific language
   *  governing permissions and limitations under the License.
   *
   */
  
  var IS_SELECTED = "function(){return function(){function f(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=new c};function g(a){for(var b=1;b<arguments.length;b++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,c);return a};function h(a,b){this.code=a;this.message=b||\"\";this.name=i[a]||i[13];var c=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}f(h,Error);\nvar i={7:\"NoSuchElementError\",8:\"NoSuchFrameError\",9:\"UnknownCommandError\",10:\"StaleElementReferenceError\",11:\"ElementNotVisibleError\",12:\"InvalidElementStateError\",13:\"UnknownError\",15:\"ElementNotSelectableError\",19:\"XPathLookupError\",23:\"NoSuchWindowError\",24:\"InvalidCookieDomainError\",25:\"UnableToSetCookieError\",26:\"ModalDialogOpenedError\",27:\"NoModalDialogOpenError\",28:\"ScriptTimeoutError\",32:\"InvalidSelectorError\",33:\"SqlDatabaseError\",34:\"MoveTargetOutOfBoundsError\"};\nh.prototype.toString=function(){return\"[\"+this.name+\"] \"+this.message};function j(a){this.stack=Error().stack||\"\";if(a)this.message=String(a)}f(j,Error);j.prototype.name=\"CustomError\";function k(a,b){b.unshift(a);j.call(this,g.apply(null,b));b.shift();this.f=a}f(k,j);k.prototype.name=\"AssertionError\";function l(a){var b=m;if(typeof b==\"string\"){if(typeof a!=\"string\"||a.length!=1)return-1;return b.indexOf(a,0)}for(var c=0;c<b.length;c++)if(c in b&&b[c]===a)return c;return-1};var n={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},o={IMG:\" \",BR:\"\\n\"};function p(a,b,c){if(!(a.nodeName in n))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in o)b.push(o[a.nodeName]);else for(a=a.firstChild;a;)p(a,b,c),a=a.nextSibling};function q(a,b,c,d,e){this.b=!!b;if(a&&(this.a=a))this.c=typeof d==\"number\"?d:this.a.nodeType!=1?0:this.b?-1:1;this.d=e!=void 0?e:this.c||0;this.b&&(this.d*=-1);this.e=!c}f(q,function(){});q.prototype.a=null;q.prototype.c=0;f(function(a,b,c,d){q.call(this,a,b,c,null,d)},q);function r(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}function s(a){if(r(a,\"OPTION\"))return!0;if(r(a,\"INPUT\"))return a=a.type.toLowerCase(),a==\"checkbox\"||a==\"radio\";return!1}var t={\"class\":\"className\",readonly:\"readOnly\"},m=[\"checked\",\"disabled\",\"draggable\",\"hidden\"];function u(a){if(!s(a))return!1;if(!s(a))throw new h(15,\"Element is not selectable\");var b=\"selected\",c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";var c=b,d=t[c]||c,b=a[d];if(b===void 0&&l(d)>=0)a=!1;else{if(d=c==\"value\")if(d=r(a,\"OPTION\")){var e;c=c.toLowerCase();if(a.hasAttribute)e=a.hasAttribute(c);else try{e=a.attributes[c].specified}catch(y){e=!1}d=!e}d&&(e=[],p(a,e,!1),b=e.join(\"\"));a=b}return!!a}var v=\"_\".split(\".\"),w=this;\n!(v[0]in w)&&w.execScript&&w.execScript(\"var \"+v[0]);for(var x;v.length&&(x=v.shift());)!v.length&&u!==void 0?w[x]=u:w=w[x]?w[x]:w[x]={};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null}, arguments);}";
  module.exports = IS_SELECTED;
  