forked from Harry-zklcdc/go-proxy-bingai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.html
33 lines (32 loc) · 323 KB
/
compose.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html><html dir="ltr" lang="zh" xml:lang="zh" xmlns="http://www.w3.org/1999/xhtml" xmlns:Web="http://schemas.live.com/Web/" style="background:#11100F"><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" >//<![CDATA[
si_ST=new Date
//]]></script><head><!--pc--><title>ComposePage</title><meta content="text/html; charset=utf-8" http-equiv="content-type" /><meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /><meta name="referrer" content="origin-when-cross-origin" /><meta name="theme-color" content="#11100F" /><link href="/sa/simg/favicon-trans-bg-blue-mg.ico" data-orighref="" rel="icon" /><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
_G={Region:"US",Lang:"zh-CN",ST:(typeof si_ST!=='undefined'?si_ST:new Date),Mkt:"zh-CN",RevIpCC:"us",RTL:false,Ver:"43",IG:"9BC6390F128048138A5F9960C1D1D6B1",EventID:"65310bb96b124f2b80afb045cdf9bfc2",V:"underside",P:"UNSP",DA:"CHIE01",SUIH:"hOWuUXDWvWmc2IDXSCIX1A",adc:"b_ad",EF:{cookss:1,bmcov:1,crossdomainfix:1,bmasynctrigger:1,bmasynctrigger3:1,getslctspt:1,newtabsloppyclick:1,chevroncheckmousemove:1,logforctl:1},gpUrl:"\/fd\/ls\/GLinkPing.aspx?" }; _G.lsUrl="/fd/ls/l?IG="+_G.IG ;curUrl="https:\/\/edgeservices.bing.com\/edgesvc\/compose";_G.XLS="\/web\/xls.aspx";_G.XLS="\/web\/xls.aspx";_G.XLSM="\/threshold\/xls_master.aspx";function si_T(a){ if(document.images){_G.GPImg=new Image;_G.GPImg.src=_G.gpUrl+'IG='+_G.IG+'&'+a;}return true;}_G.NTT="600000";_G.CTT="3000";_G.BNFN="Default";_G.LG="160";;var _w=window,_d=document,sb_de=_d.documentElement,sb_ie=!1,sb_i6=!1,_ge=function(n){return _d.getElementById(n)},_qs=function(n,t){return t=typeof t=="undefined"?_d:t,t.querySelector?t.querySelector(n):null},sb_st=function(n,t){return setTimeout(n,t)},sb_rst=sb_st,sb_ct=function(n){clearTimeout(n)},sb_gt=function(){return(new Date).getTime()},sj_gx=function(){return new XMLHttpRequest};_w.sj_ev=function(n){return n};_w.sj_ce=function(n,t,i){var r=_d.createElement(n);return t&&(r.id=t),i&&(r.className=i),r};_w.sj_cook=new function(){function u(){var n=location.protocol==="https:";return n?";secure":""}function f(){return _G!==undefined&&_G.EF!==undefined&&_G.EF.cookss!==undefined&&_G.EF.cookss===1}var n=this,t=!1,i=new Date(0).toGMTString(),r;try{r=_d.cookie}catch(e){t=!0}n.get=function(n,i){var r,u;return t?null:(r=_d.cookie.match(new RegExp("\\b"+n+"=[^;]+")),i&&r)?(u=r[0].match(new RegExp("\\b"+i+"=([^&]*)")),u?u[1]:null):r?r[0]:null};n.set=function(i,r,e,o,s,h,c){var v,l,a,y,b;if(!t){l=r+"="+e;a=n.get(i);a?(y=n.get(i,r),v=y?a.replace(r+"="+y,l):a+"&"+l):v=i+"="+l;var p=location.hostname.match(/([^.]+\.[^.]*)$/),k=h&&h>0?h*6e4:63072e6,d=new Date((new Date).getTime()+Math.min(k,63072e6)),w="";f()&&(b=u(),w=b+(c?";SameSite="+c:";SameSite=None"));_d.cookie=v+(p?";domain="+p[0]:"")+(o?";expires="+d.toGMTString():"")+(s?";path="+s:"")+w}};n.clear=function(n){if(!t){var u=n+"=",r=location.hostname.match(/([^.]+\.[^.]*)$/);_d.cookie=u+(r?";domain="+r[0]:"")+";expires="+i}}};_w.sk_merge||(_w.sk_merge=function(n){_d.cookie=n});var amd,define,require;(function(n){function e(n,i,u){t[n]||(t[n]={dependencies:i,callback:u},r(n))}function r(n){if(n){if(n)return u(n)}else{if(!f){for(var r in t)u(r);f=!0}return i}}function u(n){var s,e;if(i[n])return i[n];if(t.hasOwnProperty(n)){var h=t[n],f=h.dependencies,l=h.callback,a=r,o={},c=[a,o];if(f.length<2)throw"invalid usage";else if(f.length>2)for(s=f.slice(2,f.length),e=0;e<s.length;e++)c.push(u(s[e]));return l.apply(this,c),i[n]=o,o}}var t={},i={},f=!1;n.define=e;n.require=r})(amd||(amd={}));define=amd.define;require=amd.require;function lb(){_w.si_sendCReq&&sb_st(_w.si_sendCReq,800);_w.lbc&&_w.lbc()};define("shared",["require","exports"],function(n,t){function s(n,t){for(var r=n.length,i=0;i<r;i++)t(n[i])}function r(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return function(){n.apply(null,i)}}function u(n){i&&event&&(event.returnValue=!1);n&&typeof n.preventDefault=="function"&&n.preventDefault()}function f(n){i&&event&&(event.cancelBubble=!0);n&&typeof n.stopPropagation=="function"&&n.stopPropagation()}function e(n,t,i){for(var r=0;n&&n.offsetParent&&n!=(i||document.body);)r+=n["offset"+t],n=n.offsetParent;return r}function o(){return(new Date).getTime()}function h(n){return i?event:n}function c(n){return i?event?event.srcElement:null:n.target}function l(n){return i?event?event.fromElement:null:n.relatedTarget}function a(n){return i?event?event.toElement:null:n.relatedTarget}function v(n,t,i){while(n&&n!=(i||document.body)){if(n==t)return!0;n=n.parentNode}return!1}function y(n){window.location.href=n}function p(n,t){n&&(n.style.filter=t>=100?"":"alpha(opacity="+t+")",n.style.opacity=t/100)}t.__esModule=!0;t.getTime=t.getOffset=t.stopPropagation=t.preventDefault=t.wrap=t.forEach=void 0;var i=sb_ie;t.forEach=s;t.wrap=r;t.preventDefault=u;t.stopPropagation=f;t.getOffset=e;t.getTime=o;window.sj_b=document.body;window.sb_de=document.documentElement;window.sj_wf=r;window.sj_pd=u;window.sj_sp=f;window.sj_go=e;window.sj_ev=h;window.sj_et=c;window.sj_mi=l;window.sj_mo=a;window.sj_we=v;window.sb_gt=o;window.sj_so=p;window.sj_lc=y});define("env",["require","exports","shared"],function(n,t,i){function v(n,t){return t.length&&typeof n=="function"?function(){return n.apply(null,t)}:n}function y(n,t){var e=[].slice.apply(arguments).slice(2),i=v(n,e),u;return typeof i=="function"&&(u=window.setImmediate&&!window.setImmediate.Override&&(!t||t<=16)?"i"+setImmediate(i):o(i,t),f[r]=u,r=(r+1)%a),u}function p(n,t){var r=[].slice.apply(arguments).slice(2),i=l(v(n,r),t);return e[u]=i,u=(u+1)%a,i}function w(){h.forEach(f,s);h.forEach(e,window.clearInterval);r=u=e.length=f.length=0}function s(n){n!=null&&(typeof n=="string"&&n.indexOf("i")===0?window.clearImmediate(parseInt(n.substr(1),10)):c(n))}var h=i,f=[],e=[],o,c,l,a=1024,r=0,u=0;o=window.setTimeout;t.setTimeout=y;l=window.setInterval;t.setInterval=p;t.clear=w;c=window.clearTimeout;t.clearTimeout=s;window.sb_rst=o;window.setTimeout=window.sb_st=y;window.setInterval=window.sb_si=p;window.clearTimeout=window.sb_ct=s});define("event.custom",["require","exports"],function(n,t){function o(n){return i[n]||(i[n]=[])}function s(n,t){n.d?setTimeout(function(){n.apply(null,t)},n.d):n(t)}function l(){for(var t,n=0;n<u.length;n++)try{f.apply(null,u[n])}catch(i){t||(t=i)}return u=[],t}function a(n,t,r){var u,f;for(u in i)f=r?t&&u.indexOf(t)===0:!(u.indexOf(c)===0)&&!(t&&u.indexOf(t)===0)&&!(n!=null&&n[u]!=null),f&&delete i[u]}function f(n){for(var f,h,v=[],e=1;e<arguments.length;e++)v[e-1]=arguments[e];if(n){n==="onPP"?r=!0:r||window.fb_is!=null||(r=!0);var t=o(n),y=t.e=arguments,c=!1,i;for(f=0;f<t.length;f++)if(t[f].alive)if(t[f].beforeOnPP||r)try{s(t[f].func,y)}catch(a){i||(i=a)}else c||(u.push(arguments),c=!0);if(n==="onPP"&&(h=l(),h&&!i&&(i=h)),i)throw i;}}function e(n,t,i,u,f){if(n){var e=o(n);t&&(t.d=u,e.push({func:t,alive:!0,beforeOnPP:f}),i&&e.e&&(f||r)&&s(t,e.e))}}function h(n,t){for(var r=i[n],u=0;r&&u<r.length;u++)if(r[u].func==t&&r[u].alive){r[u].alive=!1;break}}t.__esModule=!0;t.unbind=t.bind=t.fire=t.reset=void 0;var i={},r=!1,u=[],c="ajax.";t.reset=a;t.fire=f;t.bind=e;t.unbind=h;window.sj_evt={bind:e,unbind:h,fire:f};e("onPP",function(){window.fb_is&&window.fb_is()},!0)});define("event.native",["require","exports"],function(n,t){function r(n,t,r,u){var f=n===window||n===document||n===document.body;n&&(f&&t=="load"?i.bind("onP1",r,!0):f&&t=="unload"?i.bind("unload",r,!0):n.addEventListener?n.addEventListener(t,r,u):n.attachEvent?n.attachEvent("on"+t,r):n["on"+t]=r)}function u(n,t,r,u){var f=n===window||n===document||n===document.body;n&&(f&&t=="load"?i.unbind("onP1",r):f&&t=="unload"?i.unbind("unload",r):n.removeEventListener?n.removeEventListener(t,r,u):n.detachEvent?n.detachEvent("on"+t,r):n["on"+t]=null)}t.__esModule=!0;t.unbind=t.bind=void 0;var i=n("event.custom");t.bind=r;t.unbind=u;window.sj_be=r;window.sj_ue=u});define("dom",["require","exports"],function(n,t){function f(n,t){function s(n,t,r,f){r&&u.unbind(r,f,s);c.bind("onP1",function(){if(!n.l){n.l=1;var r=i("script");r.setAttribute("data-rms","1");r.src=(t?"/fd/sa/"+_G.Ver:"/sa/"+_G.AppVer)+"/"+n.n+".js";_d.body.appendChild(r)}},!0,5)}for(var f=arguments,e,o,r=2,l={n:n};r<f.length;r+=2)e=f[r],o=f[r+1],u.bind(e,o,h.wrap(s,l,t,e,o));r<3&&s(l,t)}function e(){var n=_d.getElementById("ajaxStyles");return n||(n=_d.createElement("div"),n.id="ajaxStyles",_d.body.insertBefore(n,_d.body.firstChild)),n}function l(n){var t=i("script");t.type="text/javascript";t.text=n;t.setAttribute("data-bing-script","1");document.body.appendChild(t);r.setTimeout(function(){document.body.removeChild(t)},0)}function a(n){var t=i("script");t.type="text/javascript";t.src=n;t.setAttribute("crossorigin","anonymous");t.onload=r.setTimeout(function(){document.body.removeChild(t)},0);document.body.appendChild(t)}function o(n){var t=s("ajaxStyle");t||(t=i("style"),t.setAttribute("data-rms","1"),t.id="ajaxStyle",e().appendChild(t));t.textContent!==undefined?t.textContent+=n:t.styleSheet.cssText+=n}function v(n,t){for(var i=Element.prototype,r=i.matches||i.msMatchesSelector;n!=null;){if(r.call(n,t))return n;n=n.parentElement}return null}function s(n){return _d.getElementById(n)}function i(n,t,i){var r=_d.createElement(n);return t&&(r.id=t),i&&(r.className=i),r}t.__esModule=!0;t.includeCss=t.includeScriptReference=t.includeScript=t.getCssHolder=t.loadJS=void 0;var r=n("env"),h=n("shared"),u=n("event.native"),c=n("event.custom");t.loadJS=f;t.getCssHolder=e;t.includeScript=l;t.includeScriptReference=a;t.includeCss=o;_w._ge=s;_w.sj_ce=i;_w.sj_jb=f;_w.sj_ic=o;_w.sj_fa=v});define("cookies",["require","exports"],function(n,t){function a(){var n=location.protocol==="https:";return n?";secure":""}function v(){return typeof _G!="undefined"&&_G.EF!==undefined&&_G.EF.cookss!==undefined&&_G.EF.cookss===1}function f(){var n=location.hostname.match(/([^.]+\.[^.]*)$/);return n?";domain="+n[0]:""}function e(n,t,i,r,u){var s=f(),h=r&&r>0?r*6e4:63072e6,c=new Date((new Date).getTime()+Math.min(h,63072e6)),e="",o;v()&&(o=a(),e=o+(u?";SameSite="+u:";SameSite=None"));document.cookie=n+s+(t?";expires="+c.toGMTString():"")+(i?";path="+i:"")+e}function o(n,t,r,u,f){if(!i){var o=n+"="+t;e(o,r,u,f)}}function s(){return!i}function r(n,t){var r,u;return i?null:(r=document.cookie.match(new RegExp("\\b"+n+"=[^;]+")),t&&r)?(u=r[0].match(new RegExp("\\b"+t+"=([^&]*)")),u?u[1]:null):r?r[0]:null}function h(n,t,u,f,o,s){var l,h,c,a;i||(h=t+"="+u,c=r(n),c?(a=r(n,t),l=a?c.replace(t+"="+a,h):c+"&"+h):l=n+"="+h,e(l,f,o,s))}function c(n,t){if(!i){var r=n+"=",e=f();document.cookie=r+e+";expires="+u+(t?";path="+t:"")}}var i,u,l;t.__esModule=!0;t.clear=t.set=t.get=t.areCookiesAccessible=t.setNoCrumbs=void 0;i=!1;u=new Date(0).toGMTString();try{l=document.cookie}catch(y){i=!0}t.setNoCrumbs=o;t.areCookiesAccessible=s;t.get=r;t.set=h;t.clear=c;window.sj_cook={get:r,set:h,setNoCrumbs:o,clear:c,areCookiesAccessible:s}});var sj_anim=function(n){var s=25,t=this,c,u,h,f,e,o,l,i,r;t.init=function(n,s,a,v,y){if(c=n,e=s,o=a,l=v,r=y,v==0){f=h;r&&r();return}i||(i=e);u||t.start()};t.start=function(){h=sb_gt();f=Math.abs(o-i)/l*s;u=setInterval(t.next,s)};t.stop=function(){clearInterval(u);u=0};t.next=function(){var u=sb_gt()-h,s=u>=f;i=e+(o-e)*u/f;s&&(t.stop(),i=o);n(c,i);s&&r&&r()};t.getInterval=function(){return s}};var sj_fader=function(){return new sj_anim(function(n,t){sj_so(n,t)})};sj_fade=new function(){function n(n,t,i,r,u,f,e){var o=n.fader;if(o){if(e==n.fIn)return}else o=sj_fader(),n.fader=o;u&&u();o.init(n,t,i,r,f);n.fIn=e}this.up=function(t,i,r){function u(){t.style.visibility="visible"}n(t,0,100,i,u,r,1)};this.down=function(t,i,r){function u(){t.style.visibility="hidden";r&&r()}n(t,100,0,i,0,u,0)}};
//]]></script><style type="text/css">#b_header #id_h{content-visibility:hidden}#b_results>.b_ans:not(.b_top):nth-child(n+5) .rqnaContainerwithfeedback #df_listaa{content-visibility:auto;contain-intrinsic-size:648px 205px}#b_results>.b_algo:not(.b_algoBorder):nth-child(n+5)>h2{content-visibility:auto;contain-intrinsic-size:608px 24px}#b_results>.b_algo:not(.b_algoBorder):nth-child(n+5) .b_caption:not(.b_rich):not(.b_capmedia):not(.b_snippetgobig):not(.rebateContent){content-visibility:auto;contain-intrinsic-size:608px 65px;padding-right:16px;margin-right:-16px;margin-left:-16px;padding-left:16px}#b_results>.b_algo:not(.b_algoBorder):nth-child(n+5) .b_caption.b_rich .captionMediaCard .wide_wideAlgo{content-visibility:auto;contain-intrinsic-size:370px 120px}#b_results>.b_algo:not(.b_algoBorder):nth-child(n+5) .scs_icn{content-visibility:auto}#b_results>.b_ans:nth-child(n+7) .b_rs:not(.pageRecoContainer){content-visibility:auto;contain-intrinsic-size:608px 296px}#b_results>.b_ans:nth-child(n+7) .b_rs:not(.pageRecoContainer) .b_rsv3{padding-bottom:1px}#b_results>.b_pag{content-visibility:auto;contain-intrinsic-size:628px 45px}#b_footer>#b_footerItems{content-visibility:auto;contain-intrinsic-size:1px 24px}.cnt_vis_hid{content-visibility:hidden}.sw_plus,.sw_up,.sw_down,.sw_st,.sw_sth,.sw_ste,.sb_pagIconN,.sb_pagIconP{display:inline-block;overflow:hidden;direction:ltr}.sw_plus:after,.sw_up:after,.sw_down:after,.sw_st:after,.sw_sth:after,.sw_ste:after,.sb_pagIconN:after,.sb_pagIconP:after{display:inline-block;-webkit-transform:scale(.5,.5);transform:scale(.5,.5)}.sw_plus{height:10px;width:10px}.sw_plus:after{-webkit-transform-origin:-216px 0;transform-origin:-216px 0}.sw_play,.sb_pagIconN,.sb_pagIconP{height:16px;width:16px}.sw_st,.sw_sth,.sw_ste,.sw_up,.sw_down{height:14px;width:14px}.sw_down:after{-webkit-transform-origin:-216px -36px;transform-origin:-216px -36px}.sw_up:after{-webkit-transform-origin:-252px -36px;transform-origin:-252px -36px}.sw_st:after{-webkit-transform-origin:-84px -44px;transform-origin:-84px -44px}.sw_sth:after{-webkit-transform-origin:-148px -44px;transform-origin:-148px -44px}.sw_ste:after{-webkit-transform-origin:-116px -44px;transform-origin:-116px -44px}.sb_pagIconN:after{-webkit-transform-origin:-304px 0;transform-origin:-304px 0}.sb_pagIconP:after{-webkit-transform-origin:-268px 0;transform-origin:-268px 0}#b_results a.sb_pagN,#b_results a.sb_pagP{padding-bottom:5px}.b_pag .b_roths{transform:rotate(180deg)}@media(prefers-color-scheme:dark){#bpage.b_med .sb_pagIconN:after{-webkit-transform-origin:-672px 0;transform-origin:-672px 0}#bpage.b_med .sb_pagIconP:after{-webkit-transform-origin:-636px 0;transform-origin:-636px 0}}#bpage.b_drk .sb_pagIconN:after{-webkit-transform-origin:-672px 0;transform-origin:-672px 0}#bpage.b_drk .sb_pagIconP:after{-webkit-transform-origin:-636px 0;transform-origin:-636px 0}.sw_plus:after,.sw_up:after,.sw_down:after,.sw_st:after,.sw_sth:after,.sw_ste:after,.sb_pagIconN:after,.sb_pagIconP:after{content:url(/rp/psGptqkf4Sk-ON6151QIw7hTZrs.png)}@media screen and (-ms-high-contrast:active){*{background-color:Window}*:not(a){color:WindowText}a *:not(a){color:-ms-hotlight;color:LinkText}a[disabled],a[disabled] *{color:GrayText}}.siz12{width:12px;height:12px}.siz16{width:16px;height:16px}.siz20{width:20px;height:20px}.siz24{width:24px;height:24px}.siz28{width:28px;height:28px}.siz48{width:48px;height:48px}:root{--htmlbk:#f5f5f5;--htmlbk2:#fff;--canvasbk:#f9f9f9;--canvasbk2:#fff;--canvasbk3:#f5f5f5;--cardsbk:#f5f5f5;--cardsbk2:#fff;--canvasbkf7:#f7f7f7;--promtxt:#111;--promtxt000:#000;--primtxt:#444;--primtxt4a:#4a4a4a;--primtxt40:#404040;--regtxt:#666;--sectxt:#767676;--opttxt:#919191;--distxt:#ccc;--tealcol:#00809d;--brtealcol:#0c8484;--actbrdcol:#ccc;--actbrdcol2:#cdcdcd;--brdcol:#ddd;--secbrdcol:#ececec;--secbrdcolee:#eee;--secbrdcole1:#e1e1e1;--secbrdcole5:#e5e5e5;--alinkcol:#4007a2;--alinkcol2:#001ba0;--alinkvcol:#4007a2;--greencol:#006d21;--greenattrcol:#006d21;--citcol:#006621;--redcol:#c80000;--alrtcol:#d90026;--poscol:#006d21;--negcol:#c80000;--tealbtncol:#fff;--tealbtnbk:#106ebe;--bluebtncol:#fff;--bluebtnbk:#106ebe}html,body,#b_results>.b_pag{background-color:var(--htmlbk);color:var(--regtxt)}.b_subModule,.b_suppModule{border-bottom-color:var(--htmlbk)}.b_secondaryFocus,.b_corActList,.b_corActList a,.b_corActList a:visited{color:var(--primtxt)}select,input[type="text"]{color:#444;border-color:#ddd}select:hover,input[type="text"]:hover{box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}select:focus,input[type="text"]:focus{border-color:#919191;box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}.b_algo .b_factrow,.b_promoteText,#b_results,#b_results .b_defaultText,.cbl{color:var(--regtxt)}#b_results ::placeholder,.b_factrow,.b_attribution,.b_focusLabel,.b_secondaryText,.b_demoteText,.b_footnote,.b_footnote .cbl,.b_entitySubTitle,#b_results p.b_secondaryText,#b_content .b_imagePair .b_footnote a,#b_content .b_imagePair .b_footnote a:visited,#b_content .b_floatR_img .b_footnote a,#b_content .b_floatR_img .b_footnote a:visited,.sb_meta,label{color:var(--sectxt)}#b_results input[type="text"]:disabled{color:var(--distxt)}#b_pole .b_ans,.b_pag a.sb_pagS,#b_results>li,#b_content>.sml{background-color:var(--canvasbk2)}#b_results>.b_ad{color:var(--regtxt);background-color:var(--adstbk)}#b_results p,#b_results .b_ad_description,#b_results .b_richcard .b_vList.b_divsec{color:var(--partxtcol)}a,#b_results .b_no a,#b_results .b_pag a,#b_results>.b_ad a{color:var(--alinkcol)}a:visited,#sb_feedback:visited,#b_results>.b_ad a:visited{color:var(--alinkvcol)}cite,#b_results cite.sb_crmb a,#b_results cite a.sb_metalink,#b_results .b_adurl cite a,#bk_wr_container cite a{color:var(--citcol)}.b_touchable,.b_touchable>li{border-color:var(--tchsep)}#b_results .b_pAlt,.b_alert,#b_results .b_no .b_alert,#b_results .b_alert{color:var(--alrtcol)}.pushpin{background:#49f;color:#fff}.redPushpin{background:#d31100}#bpage #b_header .b_posText,#bpage #b_content .b_posText,.b_posText{color:var(--poscol)}#bpage #b_header .b_negText,#bpage #b_content .b_negText,.b_negText{color:var(--negcol)}:root{--adstbk:#f9fcf7;--tchsep:#eee;--partxtcol:#fff}@media(prefers-color-scheme:dark){#bpage.b_med{--adstbk:#1b1a19;--tchsep:#3b3a39;--partxtcol:#edebe9}}#bpage.b_drk{--adstbk:#1b1a19;--tchsep:#3b3a39;--partxtcol:#edebe9}#b_content .b_ans,#b_content .b_ans p,#b_content .b_ans .cbl{color:var(--primtxt)}z{a:1}z{a:1}h3,h4,h5{font:inherit;font-size:100%}body{font-family:"-apple-system",HelveticaNeue,Roboto,Arial,sans-serif;font-weight:normal;font-size:14px;line-height:18px}cite{font-style:normal}.b_strong,strong,.b_no h4{font-weight:700;font-family:"-apple-system",HelveticaNeue,Roboto,Arial,sans-serif}h1,h2,.b_focusLabel,.b_secondaryFocus,.b_groupLabel{font-size:18px;line-height:22px;font-weight:normal}h2.b_topTitle{font-size:20px;line-height:24px;padding-bottom:2px}.b_anno{font-size:20px;line-height:24px;font-weight:normal}select,.cbtn input,.s_btn.b_highlighted a,input[type="text"]{font-size:14px}#fti3,.sb_count{font-size:12px;line-height:14px}.ftr_ans,#ftrLnks,#id_rwds_b{font-size:13px;line-height:16px}.b_mText{font-size:16px;line-height:22px}.b_xlText{font-size:18px}.b_secondaryFocus,.b_focusTextExtraSmall{font-size:18px;line-height:22px}.b_focusTextSmall{font-size:23px;line-height:28px;font-family:"-apple-system",HelveticaNeue,Roboto,Arial,sans-serif}.b_focusTextMedium{font-size:32px;line-height:38px;font-family:"-apple-system",HelveticaNeue,Roboto,Arial,sans-serif}.b_focusTextLarge{font-size:44px;line-height:53px;font-family:"-apple-system",HelveticaNeue,Roboto,Arial,sans-serif}.b_smText,.b_footnote{font-size:12px;line-height:15px}cite,.nowrap{white-space:nowrap}a,#b_results .b_rs li a{text-decoration:none}th{font-weight:normal}.pushpin{font-weight:700;font-size:12px}.b_ad{line-height:18px}.b_prominentFocusLabel{font-size:18px}.b_groupLabel{font-size:14px;line-height:20px;color:var(--primtxt);text-transform:uppercase;font-weight:bold}html,body,h1,h2,h3,h4,h5,h6,p,img,ol,ul,li,form,table,tr,th,td,blockquote{border:0;border-collapse:collapse;border-spacing:0;list-style:none;margin:0;padding:0}html{overflow-y:scroll}body{word-wrap:break-word;overflow-x:hidden;-webkit-text-size-adjust:none}header#b_header:not(:empty):not(.b_hide)~#b_content{margin-top:8px}.b_footnote{padding-bottom:15px}.b_imagePair .cico+.b_footnote,.b_floatR_img .b_footnote,img+.b_footnote{padding:0}.b_hList{padding-bottom:10px}select,input[type="text"]{margin:0 0 16px 0;padding:0 11px;height:38px;border-width:1px;border-style:solid;border-radius:2px}input[type="text"]{-webkit-appearance:none;max-width:100%;min-width:50%}select::-ms-expand{display:none}select{padding:0 0 0 11px;height:40px;vertical-align:middle;border:1px solid #ddd}h2,h4,label,.b_attribution,.b_sSpace,.b_label,.btns,.b_poiPair{padding-bottom:0}h2 a,h3 a,h4 a,h5 a,.b_rs a,label{display:block}.inline label{display:inline}#sp_requery a{display:inline-block}.b_focusTextLarge,.b_focusTextMedium,.b_focusTextSmall,.b_focusTextExtraSmall{padding-bottom:12px}.b_lBMargin,h2.b_entityTitle{padding-bottom:10px}.b_focusLabel,.b_secondaryFocus{padding-bottom:4px}.b_rich{padding:12px 0 15px}.b_rich>*:last-child,.b_caption>*:last-child{padding-bottom:0;margin-bottom:0}.b_caption{padding-bottom:15px}.b_factrow{display:-webkit-box;-webkit-box-orient:vertical;margin-bottom:2px}.b_attribution{width:100%}.b_attribution,.b_factrow,.b_1linetrunc{overflow:hidden;text-overflow:ellipsis}.b_1linetrunc{white-space:nowrap}.b_mBottom{padding-bottom:5px}.b_lBottom,#b_results #sp_recourse.b_lBottom{padding-bottom:10px}.b_xlBottom{padding-bottom:15px}.b_xxlBottom{padding-bottom:20px}.b_xxxlBottom{padding-bottom:25px}.b_dataList>li>*,.b_imagePair .b_attribution>*,.b_factrow>*{display:inline}.b_groupLabel{padding-bottom:3px}.b_anno{padding-bottom:20px}.b_anno+.b_rich,.b_anno+h2+.b_rich{padding-top:0}.b_vPanel>div{padding-bottom:10px}.b_vList>li{padding-bottom:20px}#b_results>li.si_pp,.sb_hbop,.b_hide,#fRmsDefer,#b_error,#b_loadingmsg{display:none}.b_rich>*:last-child,.b_rich>.b_vList:not(.b_touchable)>li:last-child,.b_rich>.b_vPanel>div:last-child,.b_vPanel .b_vList:not(.b_touchable)>li:last-child,.b_vList .b_vPanel>div:last-child,.b_hList .b_vList>li:last-child,.b_hList .b_vPanel>div:last-child,.b_vList>li>*:last-child:not(a),.b_vPanel>div>*:last-child:not(a),.b_subModule>*:last-child,.b_subModule .b_vPanel>*:last-child,.b_subModule>.b_vList:last-child>*:last-child,.b_suppModule>*:last-child,.b_suppModule .b_vPanel>*:last-child,.b_infocardContent>.b_vList:last-child>*:last-child,.b_infocardContent>*:last-child,.sa_uc>.b_vList>li:last-child,.sa_uc>.b_vList>li:last-child>.b_vList:last-child>li:last-child,.b_ans>.b_vList>li:last-child{padding-bottom:0}.b_vlist2col>ul{min-width:40%;display:inline-block;word-wrap:break-word;vertical-align:top}.b_vlist2col>ul:first-child{padding-right:30px}.b_vlist2col li{padding-bottom:12px}.b_touchable>li{border-bottom-width:1px;border-bottom-style:solid;padding-bottom:20px;margin-bottom:20px}.b_touchable>li:first-child{border-top-width:1px;border-top-style:solid;padding-top:10px}.b_rich>.b_touchable:last-child>li:last-child,.b_vPanel .b_touchable:last-child>li:last-child{margin-bottom:0}.b_hPanel>span:not(:last-child),.b_hList>li:not(:last-child){padding-right:10px}.b_hList>li{vertical-align:top}.b_hPanel.wide>span:not(:last-child){padding-right:20px}.b_suffix{padding-left:10px}.b_imagePair{padding-bottom:7px}.b_imagePair img{vertical-align:bottom}.b_float_img>*:last-child,.b_imagePair>*:last-child{overflow:hidden}.b_float_img>*:first-child,.b_imagePair>*:first-child{margin-right:10px;float:left}.b_floatR_img{float:right;padding-left:10px}.b_float_img{float:left;padding-bottom:7px}.b_float_img img{vertical-align:bottom}.b_imagePair.reverse{display:-ms-flexbox;display:-webkit-flex;display:flexbox;display:-webkit-box;display:flex}.b_imagePair.reverse>*:first-child{-o-box-flex:1;-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:0 1 100%;float:none}.b_imagePair.reverse>*:last-child{-ms-flex:0 0 auto;flex:0 0 auto}.b_imagePair.reverse>*:only-child{-ms-flex:1;flex:0 1 100%;margin-right:0}.b_vmparent{display:-ms-flexbox;display:-webkit-flex;display:flexbox;display:-webkit-box;display:flex;-webkit-align-items:center;align-items:center}button,.button{border-width:3px;border-style:solid;padding:8px 18px 12px}.b_hPanel>span,.b_moreLink,.b_footnote .cico,.b_hList>li,.b_title div,.csrc{display:inline-block}.b_hPanel>span{vertical-align:middle}.b_title h2{display:inline}.b_title .b_imagePair .rms_img{margin-top:3px}.b_relative{position:relative}.b_footnote .cico{padding-left:10px}#b_error div{padding-bottom:20px}.b_mhdr h2,.b_float{float:left}.b_floatR{float:right}.b_rTxt{text-align:right}.b_cTxt{text-align:center}.b_jTxt{text-align:justify}.b_moreLink{padding-bottom:15px}.b_mhdr .b_floatR{margin-top:4px}.b_mhdr .b_moreLink{padding-bottom:0}.b_algo p,.b_ans p{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:5}.imgData p,.b_hList p{-webkit-line-clamp:3}.b_factrow:after{content:""}#b_results>li,#b_pole .b_ans{padding:13px 16px;margin:0 0 2px}#b_results>li .b_fullb,#b_pole .b_ans .b_fullb{margin-left:-16px;margin-right:-16px}#b_results>.b_ans{padding-bottom:16px}#b_results>.b_algo{padding-bottom:0}#b_results>.b_ad{padding-bottom:4px}#b_results>.b_ad+.b_algo,#b_results>.b_ad+.b_ans{padding-top:10px}#b_results .b_ans+.b_ad,#b_results .b_ans+.b_algo,#b_results .b_ans+.b_ans,#b_results .b_algo+.b_ans,#b_results .b_nav+.b_algo,#b_results .b_ans+script+script+.b_ad,#b_results .b_ans+script+script+.b_algo,#b_results .b_ans+script+script+.b_ans,#b_results .b_algo+script+script+.b_ans,#b_results .b_nav+script+script+.b_algo{margin-top:9px;border-top:0 solid transparent}#b_results>li>*:last-child,.b_caption>*:last-child,.vlist>li:last-child,.b_vPanel>li:last-child,.lft>*:last-child{margin-bottom:0;padding-bottom:0}#b_results>.b_pag{padding:10px 10px}#b_results>li>.b_rs,#b_results>li .b_deep{margin-bottom:-12px}.b_deep li>a,.b_deep li>span>a{width:110px;text-overflow:ellipsis;display:block;white-space:nowrap;overflow:hidden}.b_rs>.b_rich{padding-bottom:0}.clrfix:after,.crch:after,.b_imagePair:not(.reverse):after,.b_clearfix:after,.sb_vdl:after{clear:both;content:'.';display:block;visibility:hidden;height:0}#ftrLnks li{display:inline-block;padding:0 20px 15px 0}#ftrLnks>*:last-child{padding-right:0}footer{padding:15px 0 10px 10px;border-top:0}table{width:100%}th,td{vertical-align:top;padding:0 10px 10px 0}th:first-child,td:first-child{padding-left:0}th{text-align:left}.b_caption>table:last-child tr:last-child td,.b_caption>.b_vPanel:last-child>div:last-child>table:last-child tr:last-child td{padding-bottom:0}#fti3{margin-bottom:10px}.b_label{padding-right:12px}.b_subModule,.b_suppModule{padding:13px 0;border-bottom-width:1px;border-bottom-style:solid}.wpc_tp .b_subModule,.wpc_tp .b_suppModule{margin-left:10px;margin-right:10px}.b_subModule h2{padding-bottom:10px}.b_subModule h2.b_headerTitle{padding-bottom:5px}.nowrap{white-space:nowrap}.pushpin{border-radius:10px;text-align:center;width:20px;height:20px;margin-top:2px;padding-bottom:0;line-height:20px}#b_results .b_no{margin-bottom:80px}.b_no h1,.b_no h4,.b_no li{padding-bottom:10px}.b_factrow .csrc{margin-right:5px}.sw_next,.sw_prev{display:none}.sb_pagIconN,.sb_pagIconP{margin-top:2px}.b_entitySubTitle{margin-top:-9px;padding-bottom:10px}#sb_dir{flex-grow:1}.b_clear{clear:both}div#b_pole{margin-bottom:10px}#b_pole .b_ans+.b_ans{margin-top:9px}#bpage.b_imp1 .b_locImgMap .b_hPanel,#bpage.b_imp1 .wpc_tp .b_hPanel{min-width:393px}#bpage.b_imp1 .b_locImgMap{overflow-x:scroll}.b_imp1 #b_results>li.b_ad h2,.b_imp1 .b_algo>.b_algoheader h2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}#bpage.b_imp1 th,#bpage.b_imp1 td{padding-left:8px;padding-right:0}.b_corActList{display:-webkit-box;display:-webkit-flex;display:flex;padding-bottom:16px}.b_corActList li{display:-webkit-inline-flex;display:inline-flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center;padding:0}.b_corActList li:only-child{-webkit-box-flex:none;-webkit-flex:none;flex:none}.b_corActList li:only-child a>*{display:inline-block;vertical-align:middle}.b_corActList li:only-child a :first-child{margin-right:8px}.b_corActList li:not(:first-child){border-left:1px solid transparent}.b_corActList a{width:100%}.b_corActList li:not(:only-child) a>:first-child{margin-left:auto;margin-right:auto;display:block;margin-bottom:8px}.b_hList.b_corActList .cico{padding:0}z{a:1}#b_content h2 strong,#b_content h3 strong,#b_content .b_caption strong{font-weight:normal}#b_content .b_caption .b_attribution strong{font-weight:700}z{a:1}z{a:1}li.b_algo .b_attribution{border-bottom:1px solid var(--brdcol);padding-bottom:0;margin-bottom:0}li.b_ad .b_attribution{border-bottom:1px solid var(--brdcol);padding-bottom:6px;margin-bottom:6px}.b_algo>.b_attribution~.b_sideBleed,.b_algo>.b_caption~.b_sideBleed{margin-top:-0}.b_algo>.b_algoheader>.b_imagePair{padding-bottom:0}.b_algo>.b_algoheader h2{cursor:pointer}.b_algo>.b_algoheader a{cursor:auto}.b_algo>.b_algoheader{margin:-12px -16px 0 -16px}.b_algo>.b_algoheader>a:first-of-type{display:block;padding:12px 16px 0 16px}z{a:1}z{a:1}#b_results .b_lineclamp1{display:-webkit-box;-webkit-line-clamp:1;min-height:20px;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}#b_results .b_lineclamp2{display:-webkit-box;-webkit-line-clamp:2;min-height:20px;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}#b_results .b_lineclamp3{display:-webkit-box;-webkit-line-clamp:3;min-height:20px;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}#b_results .b_lineclamp4{display:-webkit-box;-webkit-line-clamp:4;min-height:20px;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}#b_results .b_lineclamp5{display:-webkit-box;-webkit-line-clamp:5;min-height:20px;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}z{a:1}z{a:1}#bpage.b_drk,#bpage.b_drk .b_fpage{background-color:#11100f;color:#d2d0ce;border-color:#484644}#bpage.b_drk{--htmlbk:#11100f;--htmlbk2:#11100f;--canvasbk:#1b1a19;--canvasbk2:#1b1a19;--canvasbk3:#1b1a19;--cardsbk:#292827;--cardsbk2:#292827;--canvasbkf7:#292827;--promtxt:#faf9f8;--promtxt000:#faf9f8;--primtxt:#edebe9;--primtxt4a:#edebe9;--primtxt40:#edebe9;--regtxt:#d2d0ce;--sectxt:#bebbb8;--opttxt:#a19f9d;--distxt:#484644;--tealcol:#3399b1;--brtealcol:#3399b1;--actbrdcol:#605e5c;--actbrdcol2:#605e5c;--brdcol:#484644;--secbrdcol:#3b3a39;--secbrdcolee:#3b3a39;--secbrdcole1:#3b3a39;--secbrdcole5:#3b3a39;--alinkcol:#82c7ff;--alinkcol2:#82c7ff;--alinkvcol:#9ea2ff;--greencol:#60bd84;--greenattrcol:#9ec3ae;--citcol:#9ec3ae;--redcol:#f66;--alrtcol:#f66;--poscol:#60bd84;--negcol:#f66;--tealbtncol:#1b1a19;--tealbtnbk:#bebbb8;--bluebtncol:#1b1a19;--bluebtnbk:#bebbb8}#bpage.b_drk .b_canvas,#bpage.b_drk .b_canvas2,#bpage.b_drk #b_content .b_canvas,#bpage.b_drk #b_content .b_canvas2{background-color:#1b1a19;color:#d2d0ce}#bpage.b_drk .b_cards,#bpage.b_drk .b_cards2,#bpage.b_drk #b_content .b_cards,#bpage.b_drk #b_content .b_cards2{background-color:#292827;color:#d2d0ce;border-color:#292827}#bpage.b_drk .b_tealbk{background-color:#3399b1;color:#faf9f8}#bpage.b_drk .b_promtxt,#bpage.b_drk #b_content .b_promtxt{color:#faf9f8}#bpage.b_drk .b_promottxt,#bpage.b_drk #b_content .b_promottxt{color:#faf9f8}#bpage.b_drk .b_primtxt,#bpage.b_drk #b_content .b_primtxt{color:#edebe9}#bpage.b_drk .b_primtitletxt,#bpage.b_drk #b_content .b_primtitletxt{color:#edebe9}#bpage.b_drk .b_regtxt,#bpage.b_drk #b_content .b_regtxt{color:#d2d0ce}#bpage.b_drk .b_sectxt,#bpage.b_drk #b_content .b_sectxt{color:#bebbb8}#bpage.b_drk .b_opttxt{color:#a19f9d}#bpage.b_drk a,#bpage.b_drk .b_alink{color:#82c7ff}#bpage.b_drk a:visited,#bpage.b_drk .b_alink:visited{color:#9ea2ff}#bpage.b_drk .b_atttrl,#bpage.b_drk #b_content .b_atttrl{color:#9ec3ae}#bpage.b_drk .b_tealtxt{color:#3399b1}#bpage.b_drk .b_green,#bpage.b_drk .b_positive{color:#60bd84}#bpage.b_drk .b_red,#bpage.b_drk #b_content .b_red,#bpage.b_drk .b_negative{color:#f66}#bpage.b_drk .b_ratings{color:#faf9f8}#bpage.b_drk .b_warning{color:#ecc26e}#bpage.b_drk .b_divact{border-color:#605e5c}#bpage.b_drk .b_divdef,#bpage.b_drk .b_divdef>*,#bpage.b_drk #b_content .b_divdef{border-color:#484644}#bpage.b_drk .b_divsec,#bpage.b_drk .b_divsec *,#bpage.b_drk #b_content .b_divsec{border-color:#3b3a39}#bpage.b_drk .b_dmbtn,#bpage.b_drk #b_content .b_dmbtn{background-color:#3b3a39;border-color:#3b3a39;color:#d2d0ce}#bpage.b_drk .b_dmbtn.b_disable,#bpage.b_drk #b_content .b_dmbtn.b_disable{background-color:#252423;border-color:#252423;color:#484644}#bpage.b_drk .b_dmbtn:focus,#bpage.b_drk .b_dmbtn:active,#bpage.b_drk #b_content .b_dmbtn:focus,#bpage.b_drk #b_content .b_dmbtn:active{background-color:#292827;border-color:#292827;color:#faf9f8}#bpage.b_drk .b_dmbtn.b_highlighted,#bpage.b_drk .b_dmbtn.tab-active,#bpage.b_drk #b_content .b_dmbtn.b_highlighted,#bpage.b_drk #b_content .b_dmbtn.tab-active{background-color:#bebbb8;border-color:#bebbb8;color:#1b1a19}#bpage.b_drk .b_dmbtn.b_highlighted:focus,#bpage.b_drk .b_dmbtn.b_highlighted:active,#bpage.b_drk .b_dmbtn.tab-active:focus,#bpage.b_drk .b_dmbtn.tab-active:active,#bpage.b_drk #b_content .b_dmbtn.b_highlighted:focus,#bpage.b_drk #b_content .b_dmbtn.b_highlighted:active,#bpage.b_drk #b_content .b_dmbtn.tab-active:focus,#bpage.b_drk #b_content .b_dmbtn.tab-active:active{background-color:#a19f9d;border-color:#a19f9d}#bpage.b_drk .b_dmtab,#bpage.b_drk #b_content .b_dmtab{background-color:#1b1a19;color:#bebbb8}#bpage.b_drk .b_dmtab.tab-active,#bpage.b_drk #b_content .b_dmtab.tab-active{background-color:#1b1a19;color:#faf9f8}#bpage.b_drk .b_dmtab.tab-active,#bpage.b_drk #b_content .b_dmtab.tab-active{box-shadow:inset 0 -3px 0 0 #faf9f8}#bpage.b_drk #b_results ::placeholder{color:#a19f9d}#bpage.b_drk .b_searchboxSubmit{background-position:-262px 0}#bpage.b_drk .sw_plus:after{-webkit-transform-origin:-612px 0;transform-origin:-612px 0}#bpage.b_drk .sw_st:after{-webkit-transform-origin:-524px -44px;transform-origin:-524px -44px}#bpage.b_drk .sw_sth:after{-webkit-transform-origin:-588px -44px;transform-origin:-588px -44px}#bpage.b_drk .sw_ste:after{-webkit-transform-origin:-556px -44px;transform-origin:-556px -44px}#bpage.b_drk span.b_adcareticon:after{-webkit-transform-origin:-612px -24px;transform-origin:-612px -24px}#bpage.b_drk #mfa_root .fba_sbicn{background-position:-284px 0}#bpage.b_drk .dl_collIcon,#bpage.b_drk .ad_sl_collIcon{background-position:-220px 0}#bpage.b_drk .dlsbox.sboximg .cbtn input{background-position:-284px 0;background-color:#484644}#bpage.b_drk .dlsbox.sboximg .cbtn{background-color:#484644}#bpage.b_drk .b_exp_rc .b_expmob_chev:after{-webkit-transform-origin:-440px 0;transform-origin:-440px 0}#bpage.b_drk #opal_serpftr svg>path:first-child{fill:#292827}#bpage.b_drk .gray50_stroke,#bpage.b_drk .b_serphb g g,#bpage.b_drk .b_imgSet.b_Card .b_moreLink svg polyline{stroke:#d2d0ce}#bpage.b_drk .gray10_fill{fill:#faf9f8}#bpage.b_drk .gray30_fill{fill:#edebe9}#bpage.b_drk .gray50_fill,#bpage.b_drk #opal_serpftr svg g path,#bpage.b_drk svg .sv_ch,#bpage.b_drk .b_logo g,#bpage.b_drk .actionmenu .actIconSvg svg{fill:#d2d0ce}#bpage.b_drk .gray70_fill{fill:#bebbb8}#bpage.b_drk .gray90_fill{fill:#a19f9d}#bpage.b_drk .gray130_fill{fill:#605e5c}#bpage.b_drk .gray150_fill{fill:#3b3a39}#bpage.b_drk .link_fill{fill:#82c7ff}#bpage.b_drk .red_fill{fill:#f66}#bpage.b_drk .green_fill{fill:#60bd84}#bpage.b_drk .b_alink{fill:#82c7ff}#bpage.b_drk #mfa_root .fba_sbicn{background-position:-262px 0}#bpage.b_drk header#b_header,#bpage.b_drk #b_pole .b_poleContent{background-color:#11100f}#bpage.b_drk header#b_header{background-color:#1b1a19}#bpage.b_drk .sa_as,#bpage.b_drk .b_searchboxForm,#bpage.b_drk .b_searchboxForm .sw_tpcbk,#bpage.b_drk .b_overlay .btn .bg{background-color:#292827}#bpage.b_drk #b_header .b_scopebar a,#bpage.b_drk #b_header .b_scopebar .b_active,#bpage.b_drk .b_searchbox,#bpage.b_drk .b_ans,#bpage.b_drk .b_ans p,#bpage.b_drk .b_ans .cbl{color:#edebe9}#bpage.b_drk #b_results>li,#bpage.b_drk #b_pole .b_ans,#bpage.b_drk li.b_ad .b_attribution,#bpage.b_drk li.b_algo .b_attribution{border-color:#484644}#bpage.b_drk #ScopeRow,#bpage.b_drk .b_rs .b_vList li{border-color:#3b3a39}#bpage.b_drk select,#bpage.b_drk input,#bpage.b_drk input[type="text"]{background-color:#292827;border-color:#484644;color:#edebe9}#bpage.b_drk textarea{color:#faf9f8}#bpage.b_drk option:focus,#bpage.b_drk option:hover,#bpage.b_drk input[type="text"]:focus,#bpage.b_drk input[type="text"]:hover{border-color:#a19f9d;color:#faf9f8}#bpage.b_drk *{box-shadow:none}</style><link rel="stylesheet" href="/rp/bIqPKBVo30gIRcmmovMOpgoOShM.br.css" type="text/css"/><link rel="stylesheet" href="/rp/xv97trWzR9fWHedh0-o0UyevHcg.br.css" type="text/css"/><style type="text/css">body{max-width:unset}</style><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
(function(){function n(n){n=sb_ie?_w.event:n;(!n.altKey||n.ctrlKey||n.shiftKey)&&(n.key&&n.key==="Enter"||n.keyCode&&n.keyCode===13)&&_w.si_ct(sb_ie?n.srcElement:n.target,!1,n,"enter")}sj_be(document,"keydown",n,!1)})();(function(){function n(n){_w.si_ct(sb_ie?_w.event.srcElement:n.target,!1,_w.event||n)}sj_be(document,"mousedown",n,!1);sj_evt.bind("sydFSCLoaded",function(){var t;((t=CIB===null||CIB===void 0?void 0:CIB.config)===null||t===void 0?void 0:t.bing)&&(CIB.config.bing.sendClickBeacon=n)},!0)})();_w.si_sbwu=function(n){var r=_G.BQIG==null?_G.IG:_G.BQIG,u="/fd/ls/GLinkPingPost.aspx?IG="+r+n,t="sendBeacon",i=!1;if(navigator&&navigator[t])try{navigator[t](u,"");i=!0}catch(f){}return i};ClTrCo={};var ctcc=0,clc=_w.ClTrCo||{};_w.si_ct=function(n,t,i,r){var u,o,e,s,f,a,h,c,l;if(clc.SharedClickSuppressed)return!0;u="getAttribute";try{for(;n!==document.body;n=n.parentNode){if(!n||n===document||n[u]("data-noct"))break;if(o=(n.tagName==="A"||n[u]("data-clicks"))&&(n[u]("h")||n[u]("data-h")||n[u]("data-cspi"))||n[u]("_ct"),o){e=n[u]("_ctf");s=-1;i&&(i.type==="keydown"?s=-2:i.button!=null&&(s=i.button));e&&_w[e]||(e="si_T");e==="si_T"&&(f=n[u]("href"),_G!==undefined&&_G.EF!==undefined&&_G.EF.newtabredironclicktracking===1&&f.indexOf("/newtabredir")==0?(a=new RegExp("[?&]?url=([^&]*)(&|$)"),h=f.match(a),h&&(f=f.indexOf("&be=1")>=0?encodeURIComponent(atob(decodeURIComponent(h[1]))):h[1])):f=encodeURIComponent(n[u]("href")),clc.furl&&!n[u]("data-private")?o+="&url="+f:clc.mfurl&&(o+="&abc="+f));r&&(o+="&source="+r);c="";clc.mc&&(c="&c="+ctcc++);l="&"+o+c;_w.si_sbwu(l)||_w[e]&&_w[e](l,n,i,s);break}if(t)break}}catch(v){_w.SharedLogHelper?SharedLogHelper.LogWarning("clickEX",null,v):(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"CI.Warning","FID":"CI","Name":"JSWarning","Text":'+v.message+"}]"}return!0};_w.si_sbwu||(_w.si_sbwu=function(){return!1}),function(){_w._G&&(_G.si_ct_e="click")}();function rdr_T(n){var u=_w.event,f=!0,e="getAttribute",i,t,r;if(navigator.cookieEnabled&&_G&&_G.SUIH&&u&&u.button<2&&(t=u.target||u.srcElement)){for(;t!==_d.body;t=t.parentNode)if(t.tagName=="A")break;i=t[e]("href");var o=t[e]("h")||t[e]("_ct"),h=_w.sj_isAjax&&t.host===location.host&&t.pathname==="/search",c=t.hash?t.search===_w.location.search:!1,s=!0;try{s=(_d.cookie.match(/SRCHUID/g)||[]).length===1}catch(l){}f=!(!h&&o&&"&"+o===n&&_w.btoa&&t.protocol&&t.protocol.indexOf("http")>-1&&!c&&s)}if(!f&&i&&i.indexOf(_G.gpUrl)<0){for(i=btoa(i).replace(/\+/g,"-").replace(/\//g,"_"),r=i.length-1;r>=0&&i.charCodeAt(r)==61;r--);i=_G.gpUrl+"IG="+_G.IG+"&"+n+"&SUIH="+_G.SUIH+"&redir="+i.substr(0,r+1);t.setAttribute("href",i)}return f&&_w.si_T&&_w.si_T(n),!0};var perf;(function(n){function f(n){return i.hasOwnProperty(n)?i[n]:n}function e(n){var t="S";return n==0?t="P":n==2&&(t="M"),t}function o(n){for(var c,i=[],t={},r,l=0;l<n.length;l++){var a=n[l],o=a.v,s=a.t,h=a.k;s===0&&(h=f(h),o=o.toString(36));s===3?i.push("".concat(h,":").concat(o)):(r=t[s]=t[s]||[],r.push("".concat(h,":").concat(o)))}for(c in t)t.hasOwnProperty(c)&&(r=t[c],i.push("".concat(e(+c),':"').concat(r.join(","),'"')));return i.push(u),i}for(var r=["redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","unloadEventStart","unloadEventEnd","firstChunkEnd","secondChunkStart","htmlEnd","pageEnd","msFirstPaint"],u="v:1.1",i={},t=0;t<r.length;t++)i[r[t]]=t;n.compress=o})(perf||(perf={}));window.perf=window.perf||{},function(n){n.log=function(t,i){var f=n.compress(t),r;f.push('T:"CI.Perf",FID:"CI",Name:"PerfV2"');var e="/fd/ls/lsp.aspx?",o="sendBeacon",h="<E><T>Event.ClientInst<\/T><IG>".concat(_G.IG,"<\/IG><TS>").concat(i,"<\/TS><D><![CDATA[{").concat(f.join(","),"}]\]><\/D><\/E>"),s="<ClientInstRequest><Events>".concat(h,"<\/Events><STS>").concat(i,"<\/STS><\/ClientInstRequest>"),u=!_w.navigator||!navigator[o];if(!u)try{navigator[o](e,s)}catch(c){u=!0}u&&(r=sj_gx(),r.open("POST",e,!0),r.setRequestHeader("Content-Type","text/xml"),r.send(s))}}(window.perf);var perf;(function(n){function a(){return c(Math.random()*1e4)}function o(){return y?c(f.now())+l:+new Date}function v(n,r,f){t.length===0&&i&&sb_st(u,1e3);t.push({k:n,v:r,t:f})}function p(n){return i||(r=n),!i}function w(n,t){t||(t=o());v(n,t,0)}function b(n,t){v(n,t,1)}function u(){var u,f;if(t.length){for(u=0;u<t.length;u++)f=t[u],f.t===0&&(f.v-=r);t.push({k:"id",v:e,t:3});n.log(t,o());t=[];i=!0}}function k(){r=o();e=a();i=!1;sj_evt.bind("onP1",u)}var s="performance",h=!!_w[s],f=_w[s],y=h&&!!f.now,c=Math.round,t=[],i=!1,l,r,e;h?l=r=f.timing.navigationStart:r=_w.si_ST?_w.si_ST:+new Date;e=a();n.setStartTime=p;n.mark=w;n.record=b;n.flush=u;n.reset=k;sj_be(window,"load",u,!1);sj_be(window,"beforeunload",u,!1)})(perf||(perf={}));_w.si_PP=function(n,t,i){var r,o,l,h,e,c;if(!_G.PPS){for(o=["FC","BC","SE","TC","H","BP",null];r=o.shift();)o.push('"'+r+'":'+(_G[r+"T"]?_G[r+"T"]-_G.ST:-1));var u=_w.perf,s="navigation",r,f=i||_w.performance&&_w.performance.timing;if(f&&u){if(l=f.navigationStart,u.setStartTime(l),l>=0){for(r in f)h=f[r],typeof h=="number"&&h>0&&r!=="navigationStart"&&r!==s&&u.mark(r,h);_G.FCT&&u.mark("FN",_G.FCT);_G.BCT&&u.mark("BN",_G.BCT)}u.record("nav",s in f?f[s]:performance[s].type)}e="connection";c="";_w.navigator&&navigator[e]&&(c=',"net":"'.concat(navigator[e].type,'"'),navigator[e].downlinkMax&&(c+=',"dlMax":"'.concat(navigator[e].downlinkMax,'"')));_G.PPImg=new Image;_G.PPImg.src=_G.lsUrl+'&Type=Event.CPT&DATA={"pp":{"S":"'+(t||"L")+'",'+o.join(",")+',"CT":'+(n-_G.ST)+',"IL":'+_d.images.length+"}"+(_G.C1?","+_G.C1:"")+c+"}"+(_G.P?"&P="+_G.P:"")+(_G.DA?"&DA="+_G.DA:"")+(_G.MN?"&MN="+_G.MN:"");_G.PPS=1;sb_st(function(){u&&u.flush();sj_evt.fire("onPP");sj_evt.fire(_w.p1)},1)}};_w.onbeforeunload=function(){si_PP(new Date,"A")};sj_evt.bind("ajax.requestSent",function(){window.perf&&perf.reset()});var BM=BM||{},adrule="."+_G.adc+" > ul";BM.rules={".b_scopebar":[0,80,0],".b_logo":[-1,-1,0],".b_searchboxForm":[100,19,0],"#id_h":[-1,-1,0],"#b_tween":[-1,-1,1],"#b_results":[100,-1,1],"#b_pole":[-1,-1,1],"#b_topw":[-1,-1,0],"#b_context":[710,-1,1],"#b_navheader":[-1,-1,0],"#bfb-answer":[-1,-1,1],".tab-menu > ul":[-1,-1,1],".b_footer":[0,-1,0],"#b_notificationContainer":[-1,-1,0],"#ajaxMaskLayer":[-1,-1,0],"img,div[data-src],.rms_img":[-1,-1,0],iframe:[-1,-1,0]};BM.rules[adrule]=[-1,-1,1];var BM=BM||{};(function(n){function u(n,u){n in t||(t[n]=[]);!u.compute||n in r||(r[n]=u.compute);!u.unload||n in i||(i[n]=u.unload);u.load&&u.load()}function f(n,i){t[n].push({t:s(),i:i})}function e(n){return n in i&&i[n](),n in t?t[n]:void 0}function o(){for(var n in r)r[n]()}function s(){return window.performance&&performance.now?Math.round(performance.now()):new Date-window.si_ST}var t={},i={},r={};n.wireup=u;n.enqueue=f;n.dequeue=e;n.trigger=o})(BM);(function(n){function i(){var i=document.documentElement,r=document.body,u="innerWidth"in window?window.innerWidth:i.clientWidth,f="innerHeight"in window?window.innerHeight:i.clientHeight,e=window.pageXOffset||i.scrollLeft,o=window.pageYOffset||i.scrollTop,s=document.visibilityState||"default";n.enqueue(t,{x:e,y:o,w:u,h:f,dw:r.clientWidth,dh:r.clientHeight,v:s})}var t="V";n.wireup(t,{load:null,compute:i,unload:null})})(BM);(function(n){function i(){var e,o,u,s,f,r;if(document.querySelector&&document.querySelectorAll){e=[];o=n.rules;for(u in o)for(s=o[u],u+=!s[2]?"":" >*",f=document.querySelectorAll(u),r=0;r<f.length;r++){var i=f[r],h=0,c=0,l=i.offsetWidth,a=i.offsetHeight;do h+=i.offsetLeft,c+=i.offsetTop;while(i=i.offsetParent);e.push({_e:f[r],x:h,y:c,w:l,h:a})}n.enqueue(t,e)}}var t="L";n.wireup(t,{load:null,compute:i,unload:null})})(BM);(function(n){function f(){u(sj_be,r)}function r(i){return i&&n.enqueue(t,i),!0}function e(){u(sj_ue,r)}function u(n,t){for(var u,r=0;r<i.length;r++)u=i[r],n(u==="resize"?window:document,window.navigator.pointerEnabled?u.replace("mouse","pointer"):u,t,!1)}var t="EVT",i=["click","mousedown","mouseup","touchstart","touchend","mousemove","touchmove","scroll","keydown","resize"];n.wireup(t,{load:f,compute:null,unload:e})})(BM);
//]]></script></head><body id="bpage" class="b_drk b_dark"><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
var logJSText=function(n,t){t===void 0&&(t=null);(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"CI.ClientInst","FID":"CI","Name":"'+escape(n)+(t?'","Text":"'+escape(t):"")+'"}]'},getHref=function(){return location.href};try{var ignErr=["ResizeObserver loop completed with undelivered notifications.","ResizeObserver loop limit exceeded"],rszMsg="ResizeObserverLimit",maxErr=3,isIgnErr=function(n,t,i){return(t===void 0&&(t=null),i===void 0&&(i=!0),ignErr.indexOf(n)<0)?!1:(i==!0&&logJSText(rszMsg),t!=null&&(sj_sp(t),sj_pd(t)),!0)},regexEsc=function(n){return n.replace(/([.?*+^$&[\]\\(){}|<>-])/g,"\\$1")},FireInstrumError=function(n){typeof sj_evt!="undefined"&&sj_evt.fire("ErrorInstrumentation",n)};window.jsErrorHandler=function(n){var o,y,p,r,u,w,f,s,h,e;try{var c='"noMessage"',ut=(n.error||n).message||c,b=window.WRC?window.WRC:0;if(isIgnErr(ut,n,b<=maxErr)){window.WRC=b+1;return}if(o=(window.ERC?window.ERC:0)+1,window.ERC=o,o>maxErr){n=new Error("max errors reached");return}var l=n.error||n,k=n.filename,d=n.lineno,g=n.colno,nt=n.extra,a=l.severity||"Error",tt=l.message||c,i=l.stack,t='"'+escape(tt.replace(/"/g,""))+'"',it=new RegExp(regexEsc(getHref()),"g");if(i){for(y=/\(([^\)]+):[0-9]+:[0-9]+\)/g,r={};(p=y.exec(i))!==null;)u=p[1],r[u]?r[u]++:r[u]=1;f=0;for(s in r)r[s]>1&&(h=regexEsc(s),w=new RegExp(h,"g"),i=i.replace(w,f),i+="#"+f+"="+h,f++);i=i.replace(it,"self").replace(/"/g,"");t+=',"Stack":"'+(escape(i)+'"')}if(k&&(t+=',"Meta":"'+escape(k.replace(it,"self"))+'"'),d&&(t+=',"Line":"'+d+'"'),g&&(t+=',"Char":"'+g+'"'),nt&&(t+=',"ExtraInfo":"'+nt+'"'),tt===c)if(a="Warning",t+=',"ObjectToString":"'+n.toString()+'"',JSON&&JSON.stringify)t+=',"JSON":"'+escape(JSON.stringify(n))+'"';else for(e in n)n.hasOwnProperty(e)&&(t+=',"'+e+'":"'+n[e]+'"');var rt=(new Date).getTime(),ft='"T":"CI.'+a+'","FID":"CI","Name":"JS'+a+'","Text":'+t+"",et="<E><T>Event.ClientInst<\/T><IG>"+_G.IG+"<\/IG><TS>"+rt+"<\/TS><D><![CDATA[[{"+ft+"}]]\]><\/D><\/E>",ot="<ClientInstRequest><Events>"+et+"<\/Events><STS>"+rt+"<\/STS><\/ClientInstRequest>",v=new XMLHttpRequest;v.open("POST","/fd/ls/lsp.aspx?",!0);v.setRequestHeader("Content-Type","text/xml");v.send(ot);FireInstrumError(t)}catch(st){logJSText("MetaJSError","Failed to execute error handler. "+st.message)}};window.addEventListener&&window.addEventListener("error",jsErrorHandler,!1);window.addEventListener||window.onerror||(window.onerror=function(n,t,i,r,u){var f,e;isIgnErr(n)||(f="",typeof n=="object"&&n.srcElement&&n.srcElement.src?f="\"ScriptSrc = '"+escape(n.srcElement.src.replace(/'/g,""))+"'\"":(n=""+n,f='"'+escape(n.replace(/"/g,""))+'","Meta":"'+escape(t)+'","Line":'+i+',"Char": '+r,u&&u.stack&&(e=new RegExp(regexEsc(getHref()),"g"),f+=',"Stack":"'+escape(u.stack.replace(e,"self").replace(/"/g,"")+'"'))),(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"CI.GetError","FID":"CI","Name":"JSGetError","Text":'+f+"}]",FireInstrumError(f))})}catch(e){logJSText("MetaJSError","Failed to bind error handler "+e.message)};var sj_b=_d.body;_w.InstLogQueueKeyFetcher={Get:function(n){var t="eventLogQueue";return n.indexOf("proactive")==1||n.indexOf("search")==1||n.indexOf("zinc")==1?t+"_Online":t+"_Offline"},GetSharedLocation:function(){return"eventLogQueue_Shared"},CanUploadSharedMessages:function(n){return _w.useSharedLocalStorage&&n.indexOf("AS/API")===1?!0:!1}};_w.LogUploadCapFeatureEnabled=!1;var CoreUtilities;(function(n){function i(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return t.apply(null,[null,n].concat(r))}function t(n,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return function(){for(var f,r=[],u=0;u<arguments.length;u++)r[u]=arguments[u];if(r&&r.length!==0)for(f in i)i.hasOwnProperty(f)&&r.push(i[f]);else r=i;return t.apply(n,r)}}function r(){for(var n,r,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(n=t[0],r=1;r<t.length;r++)if(n)n=n[t[r]];else return null;return n}n.deferFunction=i;n.deferMethod=t;n.getProperty=r;window.sj_df=i;window.sj_dm=t;window.sj_gp=r})(CoreUtilities||(CoreUtilities={}));_w.useSharedLocalStorage=!1;
//]]></script><script type="text/javascript" crossorigin="anonymous" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" src="/rp/5_njacTHNI5UUdpA3bwOxQr_P0s.br.js"></script><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
var __spreadArray=this&&this.__spreadArray||function(n,t,i){if(i||arguments.length===2)for(var r=0,f=t.length,u;r<f;r++)!u&&r in t||(u||(u=Array.prototype.slice.call(t,0,r)),u[r]=t[r]);return n.concat(u||Array.prototype.slice.call(t))};define("clientinst_xls",["require","exports"],function(n,t){function si(){function n(n,t){typeof i[n]=="undefined"&&(i[n]=t)}_w.ClientInstConfig||(_w.ClientInstConfig={});i=ClientInstConfig;n("flushInterval",5e3);n("retryInterval",1e3);n("maxStorageUse",5e5);n("maxBatchSize",1e5);n("queueDumpInterval",500);n("waitForPageInfo",!1);n("pageInfoTimeout",5e3);n("logUploadCapSizeInChar",15728640*.5);n("logUploadCapIntervalInDays",30);n("isInstrumentationEnabled",!0);n("maxDirectErrors",3);n("enableBatSizeError",!1)}function wt(){rt=0;ut=_G.ST?_G.ST.getTime():0}function u(n,t,r,u){var f,h,e,o;if(i.isInstrumentationEnabled)if(f={errorType:n,failCount:t},k(f),u){pt++;pt>i.maxDirectErrors&&(f.errorType="Overloaded",i.isInstrumentationEnabled=!1);h={impressionGuid:r,previousImpressionGuid:null,timestamp:(new Date).getTime(),type:s.EVENT,data:{eventType:it,eventData:f}};e=et([h],[]);try{lt(e)||(o=sj_gx(),o.open("POST",_G.XLS,!0),o.send(e))}catch(c){throw c;}}else ct(it,f,null,null,null,r,null,null)}function hi(){function t(){o||(o=function(){});bt();u("PageInfoTimedOut",0,_G.IG)}si();wt();typeof h!="undefined"&&h.bind&&h.bind("ajax.unload",wt);try{f=_w.localStorage;r.initialize()}catch(e){}var n=null;i.waitForPageInfo&&(n=sb_st(t,i.pageInfoTimeout));sj_evt.bind("ClientInst.PageInstInfo",function(t){n&&(sb_ct(n),n=null);o=t[1];o&&bt()})}function bt(){for(var n=0,t,i;ft.length>0;){try{i=ft.shift();t=JSON.parse(i)}catch(r){n++;continue}o&&o(t.data);w(t)}n>0&&u("InvalidIncompleteImpressions",n,_G.IG)}function w(n){r.append(n);l()}function a(n){return JSON.stringify(n).replace(/]]>/g,"]]]\]><![CDATA[>")}function ci(n,t,i){var e,r,u,f;t.push("<E>","<T>Event.",n.data.eventType,"<\/T>","<IG>",n.impressionGuid,"<\/IG>");n.previousImpressionGuid&&t.push("<PrevIG>",n.previousImpressionGuid,"<\/PrevIG>");n.dominantImpressionGuid&&n.previousImpressionGuid&&t.push("<DominantIG>",n.dominantImpressionGuid,"<\/DominantIG>");e=n.data.dataSources;e&&t.push("<DS><![CDATA[",a(e),"]\]><\/DS>");r=n.data.pageLayout;r&&y(r)&&(t.push("<Page>"),u=!1,"Name"in r&&(t.push("<Name>",r.Name,"<\/Name>"),u=!0),"Number"in r&&(t.push("<Num>",r.Number,"<\/Num>"),u=!0),"IID"in r&&(t.push("<IID>",r.IID,"<\/IID>"),u=!0),"SFX"in r&&(t.push("<SFX>",r.SFX,"<\/SFX>"),u=!0),u&&(r=r.L),t.push("<L><![CDATA[",a(r),"]\]><\/L>","<\/Page>"));f=n.data.eventData;f||(f=n.data.eventData={});f.UTS=i;t.push("<D><![CDATA[",a(f),"]\]><\/D>","<TS>",n.timestamp,"<\/TS>","<\/E>")}function y(n){var t=!1,i;try{if(n instanceof Array)t=n.every(y);else{if(i=n.L,n.Name||n.Number||n.InsertId||n.SFX)return y(i);t=!!n.T;t&&i&&(t=y(i))}}catch(r){return SharedLogHelper.LogWarning("PageLayoutValidationException",null,r),!1}return t||SharedLogHelper.LogWarning("PageLayoutValidationException",JSON?JSON.stringify(n):n,null),t}function b(n,t,i){n.push('<requestInfo key="',t,'" value="',i,'"/>')}function li(n,t,i){function f(n){return n?n.replace(/&/g,"&").replace(/"/g,"""):""}var r=n.data,e,u,c,o,s,h;t.push("<Group>","<M>","<IG>",n.impressionGuid,"<\/IG>","<DS><![CDATA[",a(r.dataSources),"]\]><\/DS>");e=r.enrichedClientInfo;e||(e={});e.ImpressionUrl=r.impressionUrl;_G.AppVer&&(e.ResourcesVersion=_G.AppVer);u=n.data.eventData;u||(u=n.data.eventData={});u.EnrichedClientInfo=e;u.TS=r.clientTimestamp;u.UTS=i;c=r.uxClassification;c&&(u.UxClassification=c);_w.sj_cook&&sj_cook.parse&&(u.Cookies=sj_cook.parse());t.push("<D><![CDATA[",a(u),"]\]><\/D>");t.push("<Page>","<Name>",r.pageName,"<\/Name>");o=r.layoutNodes;o&&y(o)&&t.push("<L><![CDATA[",a(o),"]\]><\/L>");t.push("<\/Page>","<TS>",n.timestamp,"<\/TS>","<Ovr>");b(t,"RawQuery",f(r.rawQuery));b(t,"IsQuery",f(r.isQuery.toString()));b(t,"Form",f(r.form));s=r.userInfoOverrides;for(h in s)s.hasOwnProperty(h)&&b(t,f(h),f(s[h]));t.push('<userInfo key="AppName" value="',f(r.appName),'"/>',"<\/Ovr>","<\/M>","<\/Group>")}function k(n){var t=window.location.href,i,r,u;return v&&t.indexOf(v)===0||(i=t.indexOf("?"),i<0&&(i=t.indexOf("#")),v=i<0?t:t.substring(0,i),r=_w.ThresholdUtilities,r&&(u=r.getUrlParameter(t,"FORM"),u&&(v+="?FORM="+u))),n.CurUrl=v,n.Pivot=_G.PN,typeof ThresholdUtilities!="undefined"&&_w.SearchAppWrapper&&_w.SearchAppWrapper.CortanaApp&&ThresholdUtilities.getCortanaHeaders(function(t){if(t){var i;(i=t["X-BM-ClientFeatures"])&&(n.CF=i);(i=t["X-BM-FlightedFeatures"])&&(n.FF=i)}}),n}function et(n,t,i){var f,s,h,u,c;i===void 0&&(i=!1);var r=["<ClientInstRequest>"],e=(new Date).getTime(),o=_G.CID||sj_cook.get(vt,vt);if(o&&r.push("<CID>",o,"<\/CID>"),n.length>0){for(i&&(f=n[0],f.data&&f.data.pageLayout&&f.data.pageLayout.IID&&f.data.pageLayout.SFX&&(s=f.data.pageLayout.IID+"_"+f.data.pageLayout.SFX,r.push("<AppNS>",s,"<\/AppNS>"))),r.push("<Events>"),u=0;u<n.length;u++)h=n[u],ci(h,r,e);r.push("<\/Events>")}if(t.length>0)for(u=0;u<t.length;u++)c=t[u],li(c,r,e);return r.push("<\/ClientInstRequest>"),r.join("")}function l(n,t){if(n===void 0&&(n=!1),t===void 0&&(t=!0),i.isInstrumentationEnabled){var r=n?c.retryQueue:c.mainQueue;!r.flushTimeoutHandle&&typeof nt!="undefined"&&nt.setTimeout&&(r.flushTimeoutHandle=nt.setTimeout(function(){return kt(n,r,!1,t)},r.getInterval()))}}function kt(n,t,f,o,s){var it,v,h,p,g,w,b,nt,k,y,d,rt,a,tt;if((o===void 0&&(o=!0),i.isInstrumentationEnabled)&&(sb_ct(t.flushTimeoutHandle),t.flushTimeoutHandle=null,!n||!c.mainQueue.inProgressUpload)){if(!n&&c.retryQueue.inProgressUpload&&c.retryQueue.inProgressUpload.abort(),t.inProgressUpload)if(it=(new Date).getTime()-t.requestSentTimestamp,f||it>i.flushInterval)t.inProgressUpload.abort(),f?u("SendAbortedForceFlush",1,_G.IG):u("SendTimedOut",1,_G.IG);else return;if(v=r.getBatch(n),v.length!=0){for(h={},p=0;p<v.events.length;p++)g=v.events[p],w=g.flights,h[w]||(h[w]={events:[],mpis:[]}),h[w].events.push(g.log);for(b=0;b<v.masterPageImpressions.length;b++)nt=v.masterPageImpressions[b],k=nt.flights,h[k]||(h[k]={events:[],mpis:[]}),h[k].mpis.push(nt.log);for(y in h){if(d=et(h[y].events,h[y].mpis),rt=s&&s.useSendBeacon||!1,(rt||ii())&&ri(_G.XLS,d)){r.clearSentItems(n)&&!n&&l(!1,s);l(!0,s);continue}a=sj_gx();a.open("POST",_G.XLS,o);tt=sj_df(ai,a,t,n);o&&(i.flushInterval>=1e3&&(a.timeout=i.flushInterval),a.onload=tt);a.setRequestHeader("Content-type","text/xml");y!==""&&(a.setRequestHeader("X-MSEdge-ExternalExpType","JointCoord"),a.setRequestHeader("X-MSEdge-ExternalExp",y));t.inProgressUpload=a;t.requestSentTimestamp=(new Date).getTime();a.send(d);o||tt(null)}}}}function ai(n,t,i,u){if(t.readyState===4){i.inProgressUpload=null;var f=Math.floor(t.status/100);f===2?(r.clearSentItems(u)&&!u&&l(!1),l(!0)):f===4?(r.markFailedItems(!0,u),l(!0)):r.markFailedItems(!1,u);u&&r.recordRetryAttempt()}}function ot(n,t,i){n===void 0&&(n=!1);t===void 0&&(t=!0);kt(!1,c.mainQueue,n,t,i)}function st(n,t,i,r,u,f,e,o,h){var c={},l,a;if(k(c),t)if(typeof t=="string")c.Text=t;else for(l in t)t.hasOwnProperty(l)&&(c[l]=t[l]);return i&&(c.T="CI."+i),a=h||(new Date).getTime(),c.TS=a,c.RTS=a-ut,c.SEQ=rt++,{type:s.EVENT,impressionGuid:f!=null?f:_G.IG,previousImpressionGuid:e,timestamp:a,data:{eventType:n,eventData:c,dataSources:r,pageLayout:u},dominantImpressionGuid:o}}function ht(n,t){var r,i;t===void 0&&(t=!1);r=et(n,[],t);lt(r)||(i=sj_gx(),i.open("POST",_G.XLS),i.setRequestHeader("Content-type","text/xml"),i.send(r))}function ct(n,t,r,u,f,e,o,s,h){var c,l,a;if(typeof EventsToDuplicate!="undefined"&&EventsToDuplicate&&n==="Click"&&EventsToDuplicate.indexOf("duplicateClickOnLs")>=0&&(c=_G.gpUrl+"IG="+_G.IG+"&ID="+t.AppNS+","+t.K,lt("",c)||(_G.GPImg=new Image,_G.GPImg.src=c),n="XlsDelayedClick"),!_G.XLS)throw new Error("_G.XLS is necessary for clientinst_xls, but it is not defined");if(i.isInstrumentationEnabled){if(l=st(n,t,r,u,f,e,o,s,h),n==="PartialDynamicContent.FrontDoor"){ht([l],!0);return}typeof EventsToDuplicate!="undefined"&&EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||EventsToDuplicate.indexOf(n)>=0)&&(a=st("Immediate"+n,t,r,u,f,e,o,s,h),ht([a]));w(l)}}function dt(n){var t,r,u;i.isInstrumentationEnabled&&(o&&o(n),n.clientTimestamp||(n.clientTimestamp=(new Date).getTime()),t=n.eventData,t||(t=n.eventData={}),k(t),r={type:s.MASTER_PAGE_IMPRESSION,impressionGuid:n.impressionGuid?n.impressionGuid:_G.IG,previousImpressionGuid:null,timestamp:n.clientTimestamp,data:n},typeof EventsToDuplicate!="undefined"&&EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||EventsToDuplicate.indexOf("masterPageImpression")>=0)&&(u=st("ImmediateMaster",t,n.impressionUrl,n.dataSources,n.layoutNodes,n.impressionGuid,null,null),ht([u])),o||!i.waitForPageInfo?w(r):ft.push(JSON.stringify(r)))}function ii(){return _G!==undefined&&_G.EF!==undefined&&_G.EF.logsb!==undefined&&_G.EF.logsb===1}function lt(n,t){return(t===void 0&&(t=_G.XLS),!ii())?!1:ri(t,n)}function ri(n,t){var i="sendBeacon",r=!1;if(navigator&&navigator[i])try{r=navigator[i](n,t)}catch(u){}return r}function ui(n,t){n===void 0&&(n=!0);r.dumpToStorage();ot(!0,n,t)}function g(){r.dumpToStorage();ot(!1)}function fi(){r.dumpToStorage(!0)}function at(){r.dumpToStorage()}function ei(){p=null;_CachedFlights=undefined}var r,c,gt,ni,ti,d;t.__esModule=!0;t.ResetState=t.SaveLogsToLocalStorage=t.SaveLogsToSharedStorage=t.FlushMainQueueDontForce=t.ForceFlush=t.Log2=t.LogInstrumented=t.Log=t.LogMasterPageImpression=t.LogEvent=void 0;var nt=n("env"),tt=n("event.native"),h=n("event.custom"),e="Shared",s;(function(n){n[n.EVENT=0]="EVENT";n[n.MASTER_PAGE_IMPRESSION=1]="MASTER_PAGE_IMPRESSION"})(s||(s={}));var vt="MUID",p=null,it="CIQueueError",i,oi=864e5,rt,ut,f,ft=[],o,v,yt,pt=0;(function(n){function k(){return c&&i.isInstrumentationEnabled}function d(n){var i,t;if(n===void 0&&(n=!1),k()){i=lt(n);try{t=n?v:h;f[t]=i;f[t+"_logUploadIntervalStartDate"]=o;f[t+"_uploadedLogSizeInInterval"]=r}catch(u){if(u.name.toLowerCase().indexOf("quota")>=0)c=!1;else throw u;}}}function y(){k()&&(a&&sb_ct(a),a=sb_st(d,i.queueDumpInterval))}function tt(n,t){var i=JSON.stringify(n),r=i.length+3;return n.size=r,t?i.replace('"size":0','"size":'+r):i}function rt(n){return p===null&&typeof _CachedFlights!="undefined"&&_CachedFlights.sort&&(p=_CachedFlights.sort().join(",")),{log:n,lastSendErrorTimeStamp:0,inProgress:!1,size:0,flights:p}}function ut(){var n,e,r;if(f){if(vt(),n=f[h],t=[],typeof n=="string"||n&&n.length!==0)try{if(t=JSON.parse(n),t.some(function(n){return!n.log}))u("PrimaryQueueRestoreInvalidItems",t.length,_G.IG),t=[];else if(e=t.length,e>0){for(r=0;r<e;r++)t[r].inProgress=!1;i.wsbOptimizeFlush?ot(!0):l()}}catch(o){u("PrimaryQueueRestoreFailed",0,_G.IG)}f[h]="[]";c=!0}}function ft(n){var a=[],y=[],o=n?e[0]:t,c,h,p,w,l,r,b;if(nt){if(c=f[v],typeof c=="string"&&c.length!==0)try{h=JSON.parse(c);h.some(function(n){return!n.log})?u("SharedQueueRestoreInvalidItems",h.length,_G.IG):o?Array.prototype.push.apply(o,h):o=h}catch(k){u("SharedQueueRestoreFailed",0,_G.IG)}f[v]="[]"}if(o)for(p=0,w=o.length,l=0;l<w;l++)if(r=o[l],n||!r.lastSendErrorTimeStamp)if(ClientInstConfig.enableBatSizeError&&r.size>i.maxBatchSize&&u("ElemBatchSizeLimitReached",r.size,_G.IG),p+=r.size,p<=i.maxBatchSize)r.inProgress=!0,b=r.log,b.type==s.MASTER_PAGE_IMPRESSION?y.push(r):a.push(r);else break;return{events:a,masterPageImpressions:y,length:a.length+y.length,isRetryBatch:n}}function et(n){return t=t.filter(function(t){return!t.inProgress&&(!n||!!t.lastSendErrorTimeStamp)}),y(),t.length>0}function st(n){return n.log.type===s.EVENT&&n.log.data&&n.log.data.eventType===it}function ht(n,i){for(var f=[],h=i?e[0]:t,o=0,r,s,c;o<h.length;)r=h[o],r.inProgress?n?(h.splice(o,1),st(r)||(r.lastSendErrorTimeStamp=(new Date).getTime(),f.push(r))):(r.inProgress=!1,o++):o++;s=f.length;s==1?u("InvalidLogMessage",1,f[0].log.impressionGuid):s>0&&(c=s/2,e.push(f.slice(0,c)),e.push(f.slice(c)));y()}function ct(){var n,t,i;if(e.length>0){for(n=e[0],t=0;t<n.length;)i=n[t],i.inProgress?n.splice(t,1):t++;n.length==0&&e.shift()}}function lt(n){var c=JSON.stringify(t),e=c.length-i.maxStorageUse,o=t.length,f,r,s,h;if(e>0)for(f=0,r=0;r<o;r++)if(s=t[r].size,f+=s+1,f>=e){t.splice(0,r+1);u("QueueOverflow",r+1,_G.IG,!0);break}return h=JSON.stringify(t),n&&t.splice(0,o),h}function at(n){var r=rt(n);tt(r,!1);ClientInstConfig.enableBatSizeError&&r.size>i.maxBatchSize&&u("EnvelopeBatchSizeLimitReached",r.size,_G.IG);i.wsbOptimizeFlush&&r.size>i.maxBatchSize||yt(r.size)&&t.push(r);y()}function vt(){var t=h+"_logUploadIntervalStartDate",u=h+"_uploadedLogSizeInInterval",n;o=f[t];r=f[u];n=sb_gt();o==undefined||r==undefined?w(n):g(o,n)>=i.logUploadCapIntervalInDays&&w(n)}function w(n){o=n;r=0}function g(n,t){var i=t-n;return i/oi}function yt(n){var t,f;return i.isInstrumentationEnabled?LogUploadCapFeatureEnabled?(t=sb_gt(),g(o,t)>=i.logUploadCapIntervalInDays&&w(t),r>=i.logUploadCapSizeInChar)?!1:(f=r+n,f>=i.logUploadCapSizeInChar)?(u("LogUploadSizeLimitReached",1,_G.IG,!0),r=i.logUploadCapSizeInChar,!1):(r=f,!0):!0:!1}var t=[],o,r,c=!1,a=null,e=[],b=_w.location.pathname,h=InstLogQueueKeyFetcher.Get(b),v=InstLogQueueKeyFetcher.GetSharedLocation(),nt=InstLogQueueKeyFetcher.CanUploadSharedMessages(b);n.dumpToStorage=d;n.initialize=ut;n.getBatch=ft;n.clearSentItems=et;n.markFailedItems=ht;n.recordRetryAttempt=ct;n.append=at})(r||(r={}));c={mainQueue:{getInterval:function(){return i.flushInterval}},retryQueue:{getInterval:function(){return i.retryInterval}}};t.LogEvent=ct;t.LogMasterPageImpression=dt;gt=function(n,t,r,u){for(var e=[],f=4;f<arguments.length;f++)e[f-4]=arguments[f];i.isInstrumentationEnabled&&(yt||(d("Init","CI","Base"),yt=!0),d(n,t,r,u,e))};t.Log=gt;ni=function(n,i,r,u,f,e,o){t.Log2(n,i!==null&&i!==void 0?i:r,null,null,u,f,o)};t.LogInstrumented=ni;ti=function(n,t,i,r,u,f,e){var o=Object.keys(e).reduce(function(n,t){return __spreadArray(__spreadArray([],n,!0),[t,e[t]],!1)},[]);i&&o.push("service",i);r&&o.push("scenario",r);u&&o.push("appNS",u);f&&o.push("kValue",f);d(n,null,t,!1,o)};t.Log2=ti;d=function(n,t,r,u,f){var v,e,c,l,o,h,a;if(i.isInstrumentationEnabled){if(v=_G.IG,e={},f&&f.length>0&&f.length%2==0)for(c=0;c<f.length;c+=2)(l=f[c],l)&&(o=l.toLowerCase(),h=f[c+1],o==="impressionguid"?v=h:o==="service"?e.Service=h:o==="scenario"?e.Scenario=h:o==="appns"?e.AppNS=h:o==="k"||o==="kvalue"?e.K=h:o==="pos"?e.Pos=h:e[l]=h);a=(new Date).getTime();e.T="CI.".concat(n);e.TS=a;e.RTS=a-ut;e.SEQ=rt++;e.Name=r!==null&&r!==void 0?r:"";e.FID=typeof t!="number"?t!==null&&t!==void 0?t:"":"";e.hasOwnProperty("K")||typeof t!="number"||(e.K=t);k(e);w({type:s.EVENT,impressionGuid:v,previousImpressionGuid:null,timestamp:a,data:{eventType:"ClientInst",eventData:e}})}};t.ForceFlush=ui;hi();t.FlushMainQueueDontForce=g;t.SaveLogsToSharedStorage=fi;t.SaveLogsToLocalStorage=at;t.ResetState=ei;typeof h!="undefined"&&h.bind&&(h.bind("onP1",g,!0),h.bind("ajax.postload",g,!0));typeof tt!="undefined"&&tt.bind&&tt.bind(_w,"beforeunload",at,!1);_w.Log={Log:t.Log};_w.Log2={LogEvent:ct,LogMasterPageImpression:dt,ForceFlush:ui,FlushMainQueueDontForce:g,SaveLogsToSharedStorage:fi,ResetState:ei,SaveLogsToLocalStorage:at};_w.Shared2=_w.Shared2||{};_w.Shared2.Log={Log:t.Log,LogInstrumented:t.LogInstrumented};_w.sj_log2=t.Log2});(function(n){var i,r,t;if(document.querySelector){i=[];r="ad";function u(){var d=sb_gt(),v=document.documentElement,h=document.body,t=0,u=-1,g=v.clientHeight,y=["#b_results ."+_G.adc,".sb_adsWv2",".ads"],r,e,o,b,l,s,n,f,a,k;if(h){r=0;e=document.querySelector("#b_pole .pa_carousel_mlo");e&&(r=e.offsetHeight,u=e.offsetTop);var p=document.querySelector("#b_results #productAdCarousel"),c=document.querySelector("#b_results .pa_b_supertop"),w=document.querySelector("#b_results .bn_wide");for(c?(u=c.offsetTop,r=c.offsetHeight):w?r+=w.offsetHeight:p&&(r+=p.offsetHeight),t=r,o=0;o<y.length;o++)for(b=y[o],l=document.querySelectorAll(b),s=0;s<l.length;s++)n=l[s],n&&n.className.indexOf("b_adTop")!==-1&&(f=n.nextSibling,f&&f instanceof Element&&_w.getComputedStyle&&(a=_w.getComputedStyle(f))&&a?(k=parseFloat(a.marginTop),t+=f.offsetTop-n.offsetTop-k):t+=n.offsetHeight,u===-1&&(u=n.offsetTop));t===0&&(t=-1);i=[u,t,v.clientWidth,g,h.offsetWidth,h.offsetHeight,sb_gt()-d]}}n?(t=n.onbeforefire,n.onbeforefire=function(){t&&t();u();n.mark(r,i)}):(t=si_PP,si_PP=function(){u();var n='"'+r+'":['+i.join()+"]";_G.C1=_G.C1?_G.C1+","+n:n;t.apply(null,[].slice.apply(arguments))})}})(_w.pp);_G.AppVer="40370708";var UndersideDefaultTrustedTypesPolicy;(function(){function r(){var n=window.trustedTypes;n&&n.createPolicy&&n.createPolicy("default",{createHTML:f,createScript:function(n){return n},createScriptURL:u})}var i=["www.bing.com","www2.bing.com","edgeservices.bing.com","r.bing.com","4.bing.com","services.bingapis.com","sydney.bing.com","www.bingapis.com","res-h3.public.cdn.office.net","www.bing-exp.com","www.staging-bing-int.com","snrproxy.binginternal.com","snrproxync.binginternal.com","snrproxysc.binginternal.com","snrproxyeast.binginternal.com","snrproxywest.binginternal.com","cetonc.binginternal.com","cetosc.binginternal.com","cetoeast.binginternal.com","cetowest.binginternal.com","rafd.staging-bing-int.com","r.staging-bing-int.com"],u=function(n){return t(n)?n:(console.log("CreateScriptURL URL check failed:"+n),"")},f=function(t){var i=new RegExp("<script(.*?)(/>|s/>|>.*?<\/script>)","gi"),r=new RegExp("src=['\"](.*?)['\"]","gi"),u=new RegExp("<link(.*?)(/>|s/>|>.*?<\/link>)","gi"),f=new RegExp("href=['\"](.*?)['\"]","gi");return n(t,i,r)&&n(t,u,f)?t:""},n=function(n,i,r){for(var f,u;(f=i.exec(n))!==null;)for(f.index===i.lastIndex&&i.lastIndex++,u=void 0;(u=r.exec(f[0]))!==null;)if(console.log(u),u.index===r.lastIndex&&r.lastIndex++,console.log(u[1]),!t(u[1]))return console.log("CreateHTML URL check failed :"+u[1]),!1;return!0},t=function(n){n&&n.startsWith("blob:")&&(n=n.slice(5));var t=document.createElement("a");return(t.href=n,t.hostname!=="localhost"&&!i.some(function(n){return t.hostname===n}))?!1:!0};r()})(UndersideDefaultTrustedTypesPolicy||(UndersideDefaultTrustedTypesPolicy={}));var EdgeServicesXMLHttpRequest;(function(n){function u(n){n!=null&&n.Reroutes!=null&&(t=n.Reroutes,i=window.XMLHttpRequest.prototype.open,window.XMLHttpRequest.prototype.open=f)}function f(n,r,u,f,s){var h,c,l,a;if(u===void 0&&(u=!0),t==null||t.length==0)return i.call(this,n,r,u,f,s);for(h=r,c=0;c<t.length;c++)if(l=t[c],a=e(r,l.OriginalPath),l.Enabled&&a!=null){h=o(a,r,l.RedirectPath);console.log("rerouted original url: "+r+" to new url: "+h);break}return i.call(this,n,h,u,f,s)}function e(n,t){var i,u;if(!r(n)||!r(t))return null;try{i=new URL(n,"https://edgeservices.bing.com")}catch(f){return null}return(u=i.pathname,u.toLowerCase()!=t.toLowerCase())?null:i}function o(n,t,i){return r(i)?i+n.search+n.hash:t}function r(n){return n!=null&&n.trim()!==""&&n.startsWith("/")}var t,i;n.init=u})(EdgeServicesXMLHttpRequest||(EdgeServicesXMLHttpRequest={}));var rerouteConfig ={"Reroutes":[{"OriginalPath":"/financeapi/quote","RedirectPath":"/edgesvc/thirdpartyaj/financeapi/quote","Enabled":true},{"OriginalPath":"/financeapi/financials","RedirectPath":"/edgesvc/thirdpartyaj/financeapi/financials","Enabled":true},{"OriginalPath":"/covidans/locations","RedirectPath":"/edgesvc/thirdpartyaj/covidans/locations","Enabled":true},{"OriginalPath":"/covidans/falcon","RedirectPath":"/edgesvc/thirdpartyaj/covidans/falcon","Enabled":true},{"OriginalPath":"/covid-ans/getTab","RedirectPath":"/edgesvc/thirdpartyaj/covidans/getTab","Enabled":true},{"OriginalPath":"/covid-vaccine/getMapData","RedirectPath":"/edgesvc/thirdpartyaj/covidvaccine/getMapData","Enabled":true},{"OriginalPath":"/sharing/getsharecommoncontrol","RedirectPath":"/edgesvc/thirdpartyaj/sharing/getsharecommoncontrol","Enabled":false},{"OriginalPath":"/sharing/getsharelink","RedirectPath":"/edgesvc/thirdpartyaj/sharing/getsharelink","Enabled":false}]}; EdgeServicesXMLHttpRequest.init(rerouteConfig);;_G!==undefined&&_G.EF!==undefined&&_G.EF.bmasynctrigger===1&&window.requestAnimationFrame!==undefined&&document.visibilityState!==undefined&&document.visibilityState==="visible"?requestAnimationFrame(function(){_G.EF.bmasynctrigger2===1?requestAnimationFrame(function(){BM.trigger()}):_G.EF.bmasynctrigger3===1?requestAnimationFrame(function(){setTimeout(function(){BM.trigger()},0)}):setTimeout(function(){BM.trigger()},0)}):BM.trigger();var initUserStatus ={"CodexEnabled":true,"UserEligible":true,"UserSignedIn":true,"Identity":"914802152439768","Name":null,"Provider":"MSA","PrefAuth":"MSA","BizChatEnabled":false,"BceEnabled":false,"UserIpEligible":true,"Convscope":true,"Condexvar":true,"Condexship":true,"Waitlist":true,"Condexforall":false,"Udssydthrottle":false,"IsSafeSearchStrict":false}; var clientVersion ="118.0.2088.57";;var uxVariants ={"codexship":"1","codexvar":"1","convscope":"1","edge_feature.frame_unrestricted":"1","edge_feature.scope_channelstable":"1","edge_feature.scope_chat":"1","edge_feature.scope_coauthor":"1","edge_feature.scope_noheader":"1","feature.codex3p":"1","feature.codex3pbf":"1","feature.codex3pcl":"1","feature.codex3pdt":"1","feature.codex3pinv":"1","feature.codex3ppep":"1","feature.codex3pperf":"1","feature.sydautoscroll5":"1","feature.sydconfigopt":"1","feature.sydfscautohide":"1","feature.sydfscautohidepost":"1","feature.sydfschide5min":"1","feature.sydoptbof108t525":"1","feature.sydsiddelaygc":"1","feature.sydsuppolers":"1","feature.uds3pnousetst":"1","feature.udsflservct":"1","language":"ZH-HANS","serpvertical":"UNDERSIDE","trafficpriority":"PREMIUM","trafficreason":"LIKELYUSERPREMIUMMKT","underside":"1","undersideex":"COMPOSE","undersidev2":"1"}; var globalConsoleConfig ={"EnableDevMode":false,"GDPR_Regulated":false,"EnableClientDebugLog":false,"LogLevel":1};;
//]]></script><script type="text/javascript" crossorigin="anonymous" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" src="/rp/ljiBm9ICpjH8C6d-o0_NRN7_BnY.br.js"></script><script type="text/javascript" crossorigin="anonymous" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" src="/rp/jGqrlcxepmhaIJKVUSFqCguDjNY.br.js"></script><!-- Trusted types script must be first JS script to load --><!-- Custom Edge Services XMLHttpRequest --><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" >//<![CDATA[
_G.FCT=new Date;
//]]></script><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" >//<![CDATA[
_G.BCT=new Date;
//]]></script><style type="text/css">#b_header #id_h{content-visibility:visible}.uds_coauthor_wrapper .sidebar.no-header{margin-top:0 !important;height:100% !important}.uds_coauthor_wrapper .sidebar.header-applied{height:calc(100% - 32px);margin-top:32px}.uds_coauthor_wrapper{font-family:'Segoe UI',"-apple-system",Segoe,Tahoma,HelveticaNeue,Roboto,Arial,Verdana,sans-serif;color:#000;height:100vh;width:100%}.uds_coauthor_wrapper .header-banner-section{position:fixed;background:rgba(0,0,0,.06);max-width:100%;width:100%;height:32px}.uds_coauthor_wrapper .header-banner-section svg{fill:#0f7b0f;height:20px;width:20px;vertical-align:middle}.uds_coauthor_wrapper .header-banner-section #protected_link{align-items:center;gap:4px;border-radius:100px;height:32px;margin-left:16px}.uds_coauthor_wrapper .header-banner-section a#protected_link{display:inline-flex;cursor:pointer;font-size:14px;font-weight:600;line-height:20px;color:#0f7b0f}.uds_coauthor_wrapper .header-banner-section a#protected_link:hover{text-decoration:underline}.uds_coauthor_wrapper .sidebar{height:calc(100% - 45px);width:100%;position:absolute;display:flex;flex-direction:column;align-items:center;padding:10px;overflow:auto;margin-top:45px;box-sizing:border-box}.uds_coauthor_wrapper .sidebar.detached{overflow:overlay}.uds_coauthor_wrapper .sidebar.detached.no-header{margin-top:0}.uds_coauthor_wrapper .sidebar.detached.header-applied{margin-top:32px}.uds_coauthor_wrapper .child{width:100%;box-sizing:border-box;padding:12px;background:#fff;border-radius:5px;box-shadow:0 2px 4px rgba(0,0,0,.14),0 0 2px rgba(0,0,0,.12);margin-bottom:10px;display:flex;flex-direction:column}.uds_coauthor_wrapper .child:last-child{flex-grow:1;margin-bottom:0}.uds_coauthor_wrapper textarea{font-family:'Segoe UI',"-apple-system",Segoe,Tahoma,HelveticaNeue,Roboto,Arial,Verdana,sans-serif;padding:8px;border-radius:10px;border:1px solid #e2e2e2;box-shadow:0 1px 1px #7a7a7a;resize:vertical;font-size:14px}.uds_coauthor_wrapper textarea#prompt_text{scroll-padding-bottom:22px;padding-bottom:22px}.uds_coauthor_wrapper textarea:focus{box-shadow:0 2px 0 #174ae4}.uds_coauthor_wrapper textarea:focus-visible{border:1px solid #e2e2e2;outline:none}.uds_coauthor_wrapper #letter_counter{display:flex;position:relative;color:#717171;background:#fff;left:1px;padding-left:8px;font-size:12px;line-height:16px;font-weight:400;bottom:20px;width:calc(100% - 20px);height:19px;margin-bottom:-19px;border-bottom-left-radius:10px}.uds_coauthor_wrapper .button{width:100%;background:linear-gradient(81.62deg,#2870ea 8.72%,#1b4aef 85.01%);align-self:center;border:none;border-radius:20px;color:#fff;padding:7px 10px;line-height:22px;font-size:14px;font-weight:600;font-family:'Segoe UI',"-apple-system",Segoe,Tahoma,HelveticaNeue,Roboto,Arial,Verdana,sans-serif;box-sizing:border-box;text-decoration:none;text-align:center}.uds_coauthor_wrapper .button:hover{box-shadow:0 1.2px 3.6px rgba(0,0,0,.1),0 6.4px 14.4px rgba(0,0,0,.13);cursor:pointer;text-decoration:none}.uds_coauthor_wrapper .button.disabled{cursor:default;background:linear-gradient(0deg,rgba(255,255,255,.8),rgba(255,255,255,.8)),linear-gradient(81.62deg,#2870ea 8.72%,#1b4aef 85.01%)}.uds_coauthor_wrapper .button.secondary{background:#fff;border:1px solid #174ae4;color:#174ae4}.uds_coauthor_wrapper .button.disabled:hover{box-shadow:none}.uds_coauthor_wrapper .button.secondary.disabled{cursor:default;color:#d1dbfa;border-color:#d1dbfa;background:rgba(255,255,255,.8)}.uds_coauthor_wrapper #prompt_text{height:50px;min-height:50px}.uds_coauthor_wrapper .length-options,.uds_coauthor_wrapper .tone-options,.uds_coauthor_wrapper .change-suggestions-options{display:flex;flex-wrap:wrap}.uds_coauthor_wrapper .tag{margin:4px;padding:1px 10px;border-radius:8px;line-height:22px;height:28px;box-sizing:border-box;color:#174ae4;border:1px solid #174ae4}.uds_coauthor_wrapper .tag:focus-visible,.uds_coauthor_wrapper .format-option:focus-visible,.uds_coauthor_wrapper #compose_button:focus-visible,.uds_coauthor_wrapper .item:focus-visible,.uds_coauthor_wrapper #detached_copy_button:focus-visible{outline:2px solid #000}.uds_coauthor_wrapper .tag span{font-size:12px;font-weight:600}.uds_coauthor_wrapper .tag.selected{background:#174ae4;color:#fff}.uds_coauthor_wrapper .tag.selected svg>path{fill:#fff}.uds_coauthor_wrapper .tag:hover,.uds_coauthor_wrapper #add_change_suggestion_button.selected{cursor:pointer;background:#eff3ff}.uds_coauthor_wrapper #add_change_suggestion_button.selected>svg>path{fill:#174ae4}.uds_coauthor_wrapper .tag.selected:hover,.uds_coauthor_wrapper #custom_tone_edit_button.tag.selected:hover{background:#174ae4;color:#fff}.uds_coauthor_wrapper #custom_tone_plus_button,.uds_coauthor_wrapper #add_change_suggestion_button{width:28px;padding:7px 8px 8px 7px}.uds_coauthor_wrapper #custom_tone_plus_button svg,.uds_coauthor_wrapper #add_change_suggestion_button svg{display:block}.uds_coauthor_wrapper .custom_tone_container{display:flex;margin:4px;max-width:calc(40% - 4px)}.uds_coauthor_wrapper #custom_tone{margin:0;border-radius:8px 0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.uds_coauthor_wrapper #custom_tone_edit_button{width:28px;margin:0 0 0 0;border-left:none;border-radius:0 8px 8px 0;padding:5px}.uds_coauthor_wrapper #custom_tone_edit_button svg>path{fill:#174ae4}.uds_coauthor_wrapper #custom_tone_edit_button.tag.selected{margin-left:1px}.uds_coauthor_wrapper #custom_tone_edit_button.tag.selected svg>path{fill:#fff}.uds_coauthor_wrapper .custom-tone-edit-container,.uds_coauthor_wrapper #custom_change_suggestion_container{display:flex}.uds_coauthor_wrapper .custom-tone-edit-container input{flex:1}.uds_coauthor_wrapper input,.uds_coauthor_wrapper input:focus,.uds_coauthor_wrapper input:focus-visible,.uds_coauthor_wrapper input:hover{width:100%;height:20px;margin:4px 0 4px 4px;padding:5px 0 5px 13px;border-radius:4px 0 0 4px;border:1px;font-family:'Segoe UI',"-apple-system",Segoe,Tahoma,HelveticaNeue,Roboto,Arial,Verdana,sans-serif;font-size:14px;font-weight:400;background-color:rgba(0,0,0,.05);color:rgba(0,0,0,.85);outline:none;box-shadow:none}.uds_coauthor_wrapper #custom_tone_add_button,.uds_coauthor_wrapper #custom_tone_save_button,.uds_coauthor_wrapper #submit_change_suggestion_button{height:18px;background-color:rgba(0,0,0,.05);font-family:'Segoe UI',"-apple-system",Segoe,Tahoma,HelveticaNeue,Roboto,Arial,Verdana,sans-serif;font-size:14px;font-weight:600;line-height:20px;letter-spacing:0;text-align:center;margin:4px 4px 0 0;padding:5px 10px 7px 10px;border-radius:0 4px 4px 0;border:1px}.uds_coauthor_wrapper #submit_change_suggestion_button{padding-top:7px;padding-bottom:5px}.uds_coauthor_wrapper #custom_tone_add_button:not(.disabled) span:hover,.uds_coauthor_wrapper #custom_tone_save_button:not(.disabled) span:hover,.uds_coauthor_wrapper #submit_change_suggestion_button:not(.disabled):hover{cursor:pointer;color:rgba(0,0,0,.85)}.uds_coauthor_wrapper #custom_tone_add_button.disabled,.uds_coauthor_wrapper #custom_tone_save_button.disabled{color:rgba(0,0,0,.2)}.uds_coauthor_wrapper .format-options{display:flex;flex-wrap:wrap;gap:12px}.uds_coauthor_wrapper .format-option{margin:0 6px 0 4px;text-align:center;display:flex;flex-direction:column;align-items:center}.uds_coauthor_wrapper .format-option:hover .illustration{cursor:pointer;background:#eff3ff}.uds_coauthor_wrapper .format-option.selected .illustration{border-color:#174ae4}.uds_coauthor_wrapper .format-option .illustration{height:48px;width:48px;border:2px solid #fff;border-radius:10px;background:#f7f7f7;padding:3px}.uds_coauthor_wrapper .format-option .illustration svg{width:48px;height:48px}.uds_coauthor_wrapper .format-option p{font-weight:400;font-size:11px}.uds_coauthor_wrapper .option-section{margin-top:12px;padding:3px;padding-top:9px;border:1px solid #e8e8e8;border-radius:8px}.uds_coauthor_wrapper .messaging-section{display:flex;margin-top:12px;font-weight:600;font-size:12px;line-height:16px;color:#0f7b0f}.uds_coauthor_wrapper .messaging-section svg{margin-right:4px;fill:#0f7b0f}.uds_coauthor_wrapper .header{display:flex;padding:3px;font-size:14px;line-height:20px;margin-bottom:8px}.uds_coauthor_wrapper .header#preview_heading{margin-bottom:0}.uds_coauthor_wrapper .header.secondary{color:#1a1a1a}.uds_coauthor_wrapper .header svg{display:inline-block;width:18px;height:18px;margin-right:4px}.uds_coauthor_wrapper div.preview{height:100%;position:relative;margin-top:8px}.uds_coauthor_wrapper #disclaimer_box{padding:4px;color:#717171}.uds_coauthor_wrapper #preview_text{height:100%;width:100%;box-sizing:border-box;resize:none;min-height:200px;padding-bottom:45px;scroll-padding-bottom:45px}.uds_coauthor_wrapper #captcha_container{position:absolute;width:316px;height:136px;top:50px;right:0;left:0;margin-left:auto;margin-right:auto;border-width:0;overflow:hidden;background-color:rgba(0,0,0,0)}.uds_coauthor_wrapper #captcha-frame{border-width:0;width:100%;height:100%}.uds_coauthor_wrapper .preview-options{display:flex;position:absolute;bottom:0;border-bottom-left-radius:8px;border-bottom-right-radius:8px;right:6px;justify-content:flex-end;box-sizing:border-box;width:calc(100% - 8px);background:#fff}.uds_coauthor_wrapper .preview-options.disabled{background:rgba(0,0,0,0)}.uds_coauthor_wrapper .preview-options .item{width:32px;height:32px;border-radius:3px;margin-left:4px;display:flex;align-items:center;justify-content:center}.uds_coauthor_wrapper .preview-options .item:hover{cursor:pointer;background:#f7f7f7}.uds_coauthor_wrapper .preview-options .item.disabled svg>path,.uds_coauthor_wrapper #submit_change_suggestion_button.disabled svg>path{fill:#717171}.uds_coauthor_wrapper .preview-options .item.disabled:hover{background:none;cursor:auto}.uds_coauthor_wrapper div.preview #shimmer{width:98%;height:100px;position:absolute;top:5px;left:5px}.uds_coauthor_wrapper div.preview #shimmer .line{width:95%;height:12px;background:#e2e2e2;border-radius:4px;margin:3px;-webkit-mask:linear-gradient(-60deg,#000 30%,rgba(0,0,0,.5),#000 70%) 0;animation:uds-coauthor-shimmer 1.5s infinite}.uds_coauthor_wrapper div.preview #shimmer .line:last-child{width:50%}.uds_coauthor_wrapper div.preview #error{position:absolute;top:8px;left:8px;text-align:left;display:flex;color:#c42b1c}.uds_coauthor_wrapper div.preview #error>div{margin-right:8px}.uds_coauthor_wrapper #compose_button,.uds_coauthor_wrapper #insert_button,.uds_coauthor_wrapper #change_suggestions_pills,.uds_coauthor_wrapper #detached_copy_button{margin-top:12px}.uds_coauthor_wrapper #compose_button{color:#fff}.uds_coauthor_wrapper #insert_button,.uds_coauthor_wrapper #detached_copy_button{color:#174ae4}.uds_coauthor_wrapper #insert_button.disabled,.uds_coauthor_wrapper #detached_copy_button.disabled{color:#d1dbfa}.uds_coauthor_wrapper .hidden{display:none !important}.uds_coauthor_wrapper .aria-alert{position:absolute;top:-100px}.uds_coauthor_wrapper .change-suggestion.tag{padding:5px 12px;font-size:12px;line-height:16px;max-width:calc(100% - 8px);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;opacity:0;animation-name:slideInFromBottom;animation-duration:.5s;animation-timing-function:cubic-bezier(0,0,0,1);animation-fill-mode:forwards;border-color:#a2b7f4}.uds_coauthor_wrapper .change-suggestion.tag:hover,.uds_coauthor_wrapper #add_change_suggestion_button.selected{border-color:#174ae4}.uds_coauthor_wrapper #add_change_suggestion_button{height:28px;width:28px;display:flex;justify-content:center;align-items:center}@keyframes slideInFromBottom{0%{transform:translateY(24px);opacity:0}100%{transform:translateY(0);opacity:1}}@keyframes rotateFlair{0%{background:conic-gradient(from 45deg,#18c1ed,#3495ea,#2161ef,#3495ea,#18c1ed);transform:rotate(45deg);opacity:1}70%{background:conic-gradient(from 45deg,#18c1ed,#3495ea,#2161ef,#3495ea,#18c1ed);opacity:1}100%{background:conic-gradient(from 45deg,#18c1ed,#3495ea,#2161ef,#3495ea,#18c1ed);transform:rotate(720deg);opacity:0}}.uds_coauthor_wrapper .flair{position:relative;width:100%;height:100%;min-height:116px;border-radius:8px;overflow:hidden}.uds_coauthor_wrapper .flair .base{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.uds_coauthor_wrapper .flair .gradient{position:absolute}.uds_coauthor_wrapper .flair .gradient.active{animation-name:rotateFlair;animation-duration:2s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}.uds_coauthor_wrapper .flair .screen{position:absolute;top:2px;left:2px;width:calc(100% - 4px);height:calc(100% - 4px);border-radius:6px}.uds_coauthor_wrapper .inline{height:200px;overflow:hidden;padding:8px 12px;box-sizing:border-box;background-color:#fff;display:flex;flex-direction:column;gap:12px}.uds_coauthor_wrapper .inline header,.uds_coauthor_wrapper .inline header #preview_badge{display:flex;align-items:center;height:20px;font-size:12px;line-height:20px;color:rgba(0,0,0,.65);font-weight:600;font-family:'Segoe UI',"-apple-system",Segoe,Tahoma,HelveticaNeue,Roboto,Arial,Verdana,sans-serif}.uds_coauthor_wrapper .inline header #preview_badge{font-size:10px;line-height:14px;margin-left:6px;padding:0 6px;border-radius:4px;background:rgba(0,0,0,.05)}.uds_coauthor_wrapper .inline header #close_button{display:flex;align-items:center}.uds_coauthor_wrapper .inline header #close_button div[role="presentation"]{width:16px;height:16px}.uds_coauthor_wrapper .inline header svg{width:16px;height:16px}.uds_coauthor_wrapper .inline #inline_options_main{display:flex;gap:4px}.uds_coauthor_wrapper .inline .inline-button div[role="presentation"]{width:20px;height:20px}.uds_coauthor_wrapper .inline .inline-button.secondary svg{width:20px;height:20px}.uds_coauthor_wrapper .inline #inline_icon{width:20px;height:20px;margin-right:8px}.uds_coauthor_wrapper .inline #close_button{margin-left:auto;width:16px;height:16px}.uds_coauthor_wrapper .inline #close_button:hover{cursor:pointer}.uds_coauthor_wrapper .inline .inline-button{background:linear-gradient(129.58deg,#2870ea 20.88%,#2870ea 20.89%,#1b4aef 77.37%);border:none;border-radius:4px;line-height:14px;font-size:12px;font-weight:600;font-family:'Segoe UI',"-apple-system",Segoe,Tahoma,HelveticaNeue,Roboto,Arial,Verdana,sans-serif;text-decoration:none;display:flex;height:24px;padding:2px 8px;justify-content:center;align-items:center;gap:4px;box-sizing:border-box}.uds_coauthor_wrapper .inline #inline_insert_button,.uds_coauthor_wrapper .inline #inline_rewrite_button{color:#fff}.uds_coauthor_wrapper .inline .inline-button:hover{background:linear-gradient(0deg,rgba(0,0,0,.1),rgba(0,0,0,.1)),linear-gradient(129.58deg,#2870ea 20.88%,#1b4aef 77.37%);cursor:pointer;text-decoration:none}.uds_coauthor_wrapper .inline .inline-button:active{background:linear-gradient(0deg,rgba(0,0,0,.2),rgba(0,0,0,.2)),linear-gradient(129.58deg,#2870ea 20.88%,#1b4aef 77.37%)}.uds_coauthor_wrapper .inline .inline-button.disabled,.uds_coauthor_wrapper .inline .inline-button.secondary.disabled{cursor:default;border:1px solid rgba(0,0,0,.12);background:rgba(0,0,0,.06);color:rgba(0,0,0,.26) !important}.uds_coauthor_wrapper .inline .inline-button.disabled svg>path,.uds_coauthor_wrapper .inline .inline-button.secondary.disabled svg>path{fill:rgba(0,0,0,.26)}.uds_coauthor_wrapper .inline .inline-button.secondary{background:#fff;border:1px solid rgba(0,0,0,.1);font-weight:500}.uds_coauthor_wrapper .inline #inline_adjust_button,.uds_coauthor_wrapper .inline #inline_stop_button{color:#000}.uds_coauthor_wrapper .inline .inline-button.disabled:hover{box-shadow:none}.uds_coauthor_wrapper .inline #inline_try_again_button{padding:2px}.uds_coauthor_wrapper .inline #inline_preview{position:relative}.uds_coauthor_wrapper .inline #inline_preview_text{height:112px;width:100%;box-sizing:border-box;border-radius:6px;border-style:solid;box-shadow:none;padding:12px;resize:none;color:#000}.uds_coauthor_wrapper .inline #inline_preview_text:disabled{background:#fff}.uds_coauthor_wrapper .inline #captcha_container{top:23px;height:81px}.uds_coauthor_wrapper .inline #inline_preview #inline_shimmer{width:98%;height:4px;position:absolute;bottom:2px;left:3px;overflow:hidden;border-radius:0 3px 3px 6px}.uds_coauthor_wrapper .inline #inline_preview #inline_shimmer .line{width:99%;height:10px;background:linear-gradient(81.09deg,#18c1ed 8.85%,#3495ea 48.98%,#2161ef 89.11%);animation:uds-coauthor-inline-shimmer 5s infinite;border-radius:2px}.uds_coauthor_wrapper .inline #inline_preview #inline_error{position:absolute;top:8px;left:8px;text-align:left;display:flex;color:#c42b1c}.uds_coauthor_wrapper .inline #inline_options_popup{position:absolute}.uds_coauthor_wrapper .inline #inline_options_popup .buttons{display:flex;justify-content:flex-end;gap:4px;height:30px;overflow:hidden}.uds_coauthor_wrapper .inline #inline_options_popup .buttons .inline-button.secondary:hover{background:rgba(0,0,0,.07);border:1px solid rgba(0,0,0,.2)}.uds_coauthor_wrapper .inline #inline_options_popup .buttons .inline-button.light{border:1px solid transparent;background:#fff;color:#000 !important;font-weight:500;padding:2px}.uds_coauthor_wrapper .inline #inline_options_popup .buttons .inline-button.light svg{width:16px;height:16px}.uds_coauthor_wrapper .inline #inline_options{position:relative}.uds_coauthor_wrapper .inline #inline_options .floating-menu{display:flex;position:absolute;top:-46px;left:25px;border-radius:8px;gap:4px;background:#fff;box-shadow:0 4px 8px rgba(0,0,0,.14),0 0 2px rgba(0,0,0,.12);padding:8px;height:40px;align-items:center;justify-content:space-around;box-sizing:border-box}.uds_coauthor_wrapper .inline #inline_options .floating-menu .fm-option{padding:4px;border-radius:4px;display:flex;align-items:center;gap:4px;font-size:12px}.uds_coauthor_wrapper .inline #inline_options .floating-menu .fm-option .check{display:flex;align-items:center}.uds_coauthor_wrapper .inline #inline_options .floating-menu .fm-option .check svg{stroke:#000}.uds_coauthor_wrapper .inline #inline_options .floating-menu .fm-option:hover{background:rgba(0,0,0,.07);cursor:pointer}.uds_coauthor_wrapper .inline #inline_options .floating-menu .fm-option.selected{background:rgba(0,0,0,.07)}@keyframes slideInFromLeft{0%{transform:translateX(-24px);opacity:0}100%{transform:translateX(0);opacity:1}}.slide-in{animation:slideInFromLeft .5s ease-out}@keyframes slideOutToBottom{0%{transform:translateY(0);opacity:1}100%{transform:translateY(24px);opacity:0}}.slide-out{animation:slideOutToBottom .5s ease-out 200ms}@keyframes fadeAndScaleOpen{0%{transform:scale(.75);opacity:0;transform-origin:bottom left}100%{transform-origin:bottom left;transform:scale(1);opacity:1}}.scale-open{animation:fadeAndScaleOpen 500ms cubic-bezier(0,.4,0,1)}@keyframes fadeAndScaleClose{0%{transform-origin:bottom left;transform:scale(1);opacity:1}100%{transform-origin:bottom left;transform:scale(.9);opacity:0}}.scale-close{animation:fadeAndScaleClose 250ms cubic-bezier(.2,0,.9,.9)}@keyframes uds-coauthor-shimmer{100%{-webkit-mask-position:190px}}@keyframes uds-coauthor-inline-shimmer{0%{transform:translateX(-95%)}100%{transform:translateX(0%)}}.uds_coauthor_wrapper .mobile{padding:16px;display:flex;flex-direction:column;align-items:center;height:100vh;box-sizing:border-box;background-color:#fff;font-family:"Roboto",Roboto,Arial,Verdana,sans-serif}.uds_coauthor_wrapper .mobile .screen{width:100%;height:100%;display:flex;flex-direction:column}.uds_coauthor_wrapper .mobile section{width:100%;display:flex;flex-direction:column}.uds_coauthor_wrapper .mobile header{display:flex;justify-content:space-between;align-items:center;height:44px;font-size:16px}.uds_coauthor_wrapper .mobile span.heading{font-size:13px;height:40px;line-height:40px}.uds_coauthor_wrapper .mobile textarea{font-size:16px;line-height:24px;font-family:"Roboto",Roboto,Arial,Verdana,sans-serif;box-shadow:none;border:1px solid #d7d7d7}.uds_coauthor_wrapper .mobile .button{font-size:13px}.uds_coauthor_wrapper .mobile #mobile_input textarea#prompt_text{min-height:120px;max-height:400px}.uds_coauthor_wrapper .mobile #mobile_preview .preview{width:100%;position:relative;display:flex;flex-direction:column;margin-top:0}.uds_coauthor_wrapper .mobile #mobile_preview .preview #preview_text{min-height:120px;max-height:450px}.uds_coauthor_wrapper .mobile #mobile_preview .preview #letter_counter{position:absolute;bottom:25px;left:12px;width:100px;margin-bottom:0;z-index:1}.uds_coauthor_wrapper .mobile #mobile_preview .preview .preview-options{position:absolute;bottom:1px;right:20px;width:calc(100% - 22px)}.uds_coauthor_wrapper .mobile #mobile_preview .preview #error,.uds_coauthor_wrapper .mobile #mobile_preview .preview #shimmer{top:18px}.uds_coauthor_wrapper .mobile #mobile_captcha #captcha_container{position:relative;right:0;left:-8px;top:0;bottom:0;margin:0}.uds_coauthor_wrapper .mobile #mobile_options{margin:12px 0}.uds_coauthor_wrapper .mobile #mobile_options #stop_button{display:flex;align-items:center}.uds_coauthor_wrapper .mobile #mobile_options #stop_button div[role='presentation']{display:flex}.uds_coauthor_wrapper .mobile #mobile_options #stop_button svg{width:24px;height:24px}.uds_coauthor_wrapper .mobile #mobile_options #stop_button svg path{fill:#174ae4}.uds_coauthor_wrapper .mobile #copy_button{color:#fff}.uds_coauthor_wrapper .mobile #compose_button{margin-bottom:20px}.uds_coauthor_wrapper .mobile #mobile_options #mobile_adjust_style{height:48px;display:flex;gap:8px;font-size:16px;align-items:center}.uds_coauthor_wrapper .mobile #mobile_options #mobile_adjust_style .text{display:flex;flex-direction:column}.uds_coauthor_wrapper .mobile #mobile_options #mobile_adjust_style .subtext{font-size:13px;text-overflow:ellipsis}.uds_coauthor_wrapper .mobile #mobile_options #mobile_adjust_style:hover{cursor:pointer}.uds_coauthor_wrapper .mobile #mobile_options #mobile_adjust_style #mobile_arrow_icon{margin-left:auto}.uds_coauthor_wrapper .mobile #mobile_actions{margin-top:auto}.uds_coauthor_wrapper .mobile #mobile_overlay{position:absolute;top:0;left:0;z-index:2;width:100%;height:100vh;background:rgba(0,0,0,.54)}.slideInFromBottom{animation-name:mobileOverlaySlideIn;animation-duration:.5s;animation-timing-function:cubic-bezier(0,0,0,1);animation-fill-mode:forwards}.slideOutToBottom{animation-name:mobileOverlaySlideOut;animation-duration:.5s;animation-timing-function:cubic-bezier(0,0,0,1);animation-fill-mode:forwards}.fadeOut{animation-name:mobileFadeOut;animation-duration:.5s;animation-timing-function:cubic-bezier(0,0,0,1);animation-fill-mode:forwards}.uds_coauthor_wrapper .mobile #mobile_overlay .back{height:20%}.uds_coauthor_wrapper .mobile #mobile_overlay .content{background:#fff;padding:12px 0;height:60%;position:absolute;bottom:0;width:100%;box-sizing:border-box;border-radius:16px 16px 0 0}.uds_coauthor_wrapper .mobile #mobile_overlay .content section{overflow:scroll;height:100%}.uds_coauthor_wrapper .mobile #mobile_overlay .content header{height:56px;border-bottom:1px solid #e2e2e2;padding:0 16px}.uds_coauthor_wrapper .mobile #mobile_overlay #mobile_style_options{margin:16px}.uds_coauthor_wrapper .mobile #mobile_apply_button{color:#174ae4}.uds_coauthor_wrapper .mobile #mobile_overlay #mobile_style_options lh{padding:5px;line-height:24px;font-size:13px;color:#616161}.uds_coauthor_wrapper .mobile #mobile_overlay #mobile_style_options li{line-height:24px;height:48px;display:flex;align-items:center;gap:16px;padding-left:40px;font-size:16px}.uds_coauthor_wrapper .mobile #mobile_overlay #mobile_style_options li .icon{display:none}.uds_coauthor_wrapper .mobile #mobile_overlay #mobile_style_options li:hover{cursor:pointer}.uds_coauthor_wrapper .mobile #mobile_overlay #mobile_style_options li.selected{padding-left:0}.uds_coauthor_wrapper .mobile #mobile_overlay #mobile_style_options li.selected .icon{display:block}.uds_coauthor_wrapper .mobile #mobile_overlay #mobile_style_options li.selected svg path{fill:#174ae4}@keyframes mobileOverlaySlideIn{0%{transform:translateY(200px);opacity:0}100%{transform:translateY(0);opacity:1}}@keyframes mobileOverlaySlideOut{0%{transform:translateY(0);opacity:1}100%{transform:translateY(200px);opacity:0}}@keyframes mobileFadeOut{0%{opacity:1}100%{opacity:0}}.uds_coauthor_wrapper .sidebar_community{position:relative;background:#fff;box-sizing:border-box;padding:19px 14px;height:100%;width:100%;display:flex;flex-direction:column;gap:24px;overflow:auto}.uds_coauthor_wrapper .sidebar_community .input_section{position:relative;box-sizing:border-box;padding:0;width:100%;display:flex;flex-direction:column;gap:4px}.uds_coauthor_wrapper .sidebar_community .input_section .input_title{width:100%;font-size:12px;font-weight:400;line-height:16px;color:#1a1a1a}.uds_coauthor_wrapper .sidebar_community textarea{box-shadow:unset;background:transparent}.uds_coauthor_wrapper .sidebar_community .input_section #letter_counter{justify-content:flex-end;position:absolute;left:unset;right:6px;width:calc(100% - 16px);margin-bottom:unset;bottom:1px;background:#fff}.uds_coauthor_wrapper .sidebar_community .options_section{box-sizing:border-box;padding:0;width:100%;display:flex;flex-direction:column;gap:8px;flex-wrap:wrap}.uds_coauthor_wrapper .sidebar_community .options_section .options_title{width:100%;font-size:12px;font-weight:600;line-height:16px;color:#444}.uds_coauthor_wrapper .sidebar_community .options_section div.panel>div[role="radiogroup"]{box-sizing:border-box;padding:0;width:100%;display:flex;flex-direction:row;gap:8px;flex-wrap:wrap}.uds_coauthor_wrapper .sidebar_community .options_section div.panel div.tag{margin:0;padding:1px 8px;border:1px solid #d2d2d2;color:#2d2d2d;font-weight:400;caret-color:transparent}.uds_coauthor_wrapper .sidebar_community .options_section div.panel div.tag.selected{color:#fff;background:#036ac4}.uds_coauthor_wrapper .sidebar_community .options_section div.panel div#custom_tone_plus_button{border:1px solid #d2d2d2}.uds_coauthor_wrapper .sidebar_community .options_section div.panel div#custom_tone_plus_button path{fill:#2d2d2d !important}.uds_coauthor_wrapper .sidebar_community .generate_button_section a{display:block;width:100%;border-radius:4px;background:#036ac4;margin-top:unset !important}.uds_coauthor_wrapper .sidebar_community .generate_button_section a.disabled{opacity:.35}.uds_coauthor_wrapper .sidebar_community .generate_button_section #compose_button{display:flex;justify-content:center;align-items:center;gap:8px}.uds_coauthor_wrapper .sidebar_community .generate_button_section #compose_button div{display:flex}.uds_coauthor_wrapper .sidebar_community .preview_section{box-sizing:border-box;padding:0;width:100%;height:100%;display:flex;flex-direction:column}.uds_coauthor_wrapper .sidebar_community .preview_section .preview-options{bottom:1px;background:#fff}.uds_coauthor_wrapper .sidebar_community .preview_section .preview_header svg{display:none}.uds_coauthor_wrapper .sidebar_community .preview_section #error{display:flex;align-items:center;gap:4px;color:#c42b1c}.uds_coauthor_wrapper .sidebar_community .preview_section #error svg{display:flex}.uds_coauthor_wrapper .sidebar_community .preview_section>a{margin-top:24px !important;border-radius:4px}.uds_coauthor_wrapper .inline_community{position:relative;box-sizing:border-box;padding:1px 0;width:100%;height:100%;background:#fff}.uds_coauthor_wrapper .inline_community #step_generate{display:flex;flex-direction:column;gap:20px;box-sizing:border-box;margin:1px 2px 0;padding:8px 8px 16px;width:calc(100% - 4px);border-radius:8px;box-shadow:0 0 2px 0 rgba(0,0,0,.12),0 4px 8px 0 rgba(0,0,0,.14);background:#fafafa}.uds_coauthor_wrapper .inline_community .header_section{box-sizing:border-box;width:100%;display:flex;justify-content:space-between;gap:8px}.uds_coauthor_wrapper .inline_community .header_section #header_title{box-sizing:border-box;flex:1;display:flex;align-items:center;gap:6px;color:#242424;font-size:12px;font-weight:600;line-height:16px}.uds_coauthor_wrapper .inline_community .header_section #header_title div{display:flex}.uds_coauthor_wrapper .inline_community .header_section #header_closeButton{padding:2px;width:20px;height:20px;border-radius:6px}.uds_coauthor_wrapper .inline_community .header_section #header_closeButton:hover{background:#ddd}.uds_coauthor_wrapper .inline_community .header_section #header_closeButton svg{width:20px !important;height:20px !important}.uds_coauthor_wrapper .inline_community .header_section #header_closeButton path{fill:#616161 !important;fill-opacity:unset !important}.uds_coauthor_wrapper .inline_community .input_section{position:relative;width:100%;display:flex;margin-top:-12px;border-radius:4px;overflow:hidden}.uds_coauthor_wrapper .inline_community .input_section textarea#prompt_text{box-sizing:border-box;padding:10px 12px;width:100%;height:110px;border-radius:4px;font-size:14px;font-weight:400;line-height:20px;padding-bottom:24px;color:rgba(0,0,0,.83);border:1px solid #bdbdbd !important}.uds_coauthor_wrapper .inline_community .input_section #letter_counter{position:absolute;left:unset;right:8px;width:unset;margin-bottom:unset;bottom:4px;background:#fff}.uds_coauthor_wrapper .inline_community .input_section .gradient_border{position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(270deg,#ba6df1 1.56%,#4b9df5 100%)}.uds_coauthor_wrapper .inline_community .options_sections{box-sizing:border-box;padding:0 0 0 8px;width:100%;display:flex;flex-direction:column;gap:12px}.uds_coauthor_wrapper .inline_community .options_section{box-sizing:border-box;padding:0;width:100%;display:flex;flex-direction:column;gap:8px;flex-wrap:wrap}.uds_coauthor_wrapper .inline_community .options_section .options_title{width:100%;font-size:12px;font-weight:600;line-height:16px;color:#444}.uds_coauthor_wrapper .inline_community .options_section div.panel>div[role="radiogroup"]{box-sizing:border-box;padding:0;width:100%;display:flex;gap:8px;flex-wrap:wrap}.uds_coauthor_wrapper .inline_community .options_section div.panel div.tag{box-sizing:border-box;margin:0;padding:4px 8px;font-size:12px;line-height:16px;caret-color:transparent;border:1px solid #d2d2d2;color:#2d2d2d}.uds_coauthor_wrapper .inline_community .options_section div.panel div.tag span{font-weight:400 !important;height:16px}.uds_coauthor_wrapper .inline_community .options_section div.panel div.tag.selected{color:#fff;background:#036ac4}.uds_coauthor_wrapper .inline_community .options_section div.panel div#custom_tone_plus_button{border:1px solid #d2d2d2}.uds_coauthor_wrapper .inline_community .options_section div.panel div#custom_tone_plus_button path{fill:#2d2d2d !important}.uds_coauthor_wrapper .inline_community .options_section div.panel div.custom_tone_container{margin:0}.uds_coauthor_wrapper .inline_community .generate_button_section{display:flex;justify-content:start;padding:0 0 0 8px;width:fit-content}.uds_coauthor_wrapper .inline_community .generate_button_section #compose_button{display:flex;justify-content:center;align-items:center;padding:5px 12px;gap:8px;border-radius:4px;margin-top:unset !important;background:#036ac4}.uds_coauthor_wrapper .inline_community .generate_button_section a.disabled{opacity:.35}.uds_coauthor_wrapper .inline_community .generate_button_section #compose_button div{display:flex}.uds_coauthor_wrapper .inline_community #step_preview{box-sizing:border-box;padding:0;width:100%;height:100%;display:flex;flex-direction:column;gap:14px}.uds_coauthor_wrapper .inline_community #step_preview #shimmer{width:100%;height:66px;display:flex;flex-direction:column;gap:6px}.uds_coauthor_wrapper .inline_community #step_preview #shimmer .line{width:100%;height:18px;border-radius:4px;animation:uds-coauthor-shimmer 1.5s infinite;-webkit-mask:linear-gradient(-60deg,#000 30%,rgba(0,0,0,.5),#000 70%) 0;background:#e2e2e2}.uds_coauthor_wrapper .inline_community #step_preview #shimmer .line:last-child{width:50%}.uds_coauthor_wrapper .inline_community #step_preview #error{display:flex;align-items:center;gap:4px;color:#c42b1c}.uds_coauthor_wrapper .inline_community #step_preview #error svg{display:flex}.uds_coauthor_wrapper .inline_community #preview_text{display:flex;flex-direction:column;gap:16px;box-sizing:border-box;padding:0;width:100%;height:unset;min-height:22px;max-height:calc(100% - 54px);overflow:auto;font-size:16px;font-weight:400;line-height:22px;border:0 !important;box-shadow:unset !important;color:#1a1a1a;background:#fff}.uds_coauthor_wrapper .inline_community #preview_text span{background:#036ac429}.uds_coauthor_wrapper .inline_community #composing_section{position:relative;box-sizing:border-box;border-radius:8px;margin:0 2px;padding:6px 8px 10px;width:calc(100% - 4px);height:40px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;background-color:#fafafa;box-shadow:0 0 2px 0 rgba(0,0,0,.12),0 4px 8px 0 rgba(0,0,0,.14)}.uds_coauthor_wrapper .inline_community #composing_section #composingText{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:600;line-height:16px;color:#242424}.uds_coauthor_wrapper .inline_community #composing_section #composingText div{display:flex}.uds_coauthor_wrapper .inline_community #composing_section #stopGenerating{display:flex;align-items:center;gap:8px}.uds_coauthor_wrapper .inline_community #composing_section #stopGenerating div{display:flex}.uds_coauthor_wrapper .inline_community #composing_section #stopGenerating #stopGeneratingText{padding:0;align-items:center;gap:4px;caret-color:transparent;height:20px;font-size:12px;font-weight:400;line-height:16px;cursor:pointer}.uds_coauthor_wrapper .inline_community #composing_section #stopGenerating #stopGeneratingText span{height:16px}.uds_coauthor_wrapper .inline_community #composing_section #stopGenerating:hover #stopGeneratingText{text-decoration:underline}.uds_coauthor_wrapper .inline_community #composing_section .gradient_border{position:absolute;bottom:0;left:0;width:100%;height:4px;border-radius:2px;background:linear-gradient(270deg,#ba6df1 1.56%,#4b9df5 100%)}.uds_coauthor_wrapper .inline_community #composing_section #stopGenerating #escText{display:flex;align-items:center;box-sizing:border-box;margin-top:2px;padding:0 4px;height:16px;padding:0 4px;font-size:10px;font-weight:600;line-height:14px;border-radius:2px;color:#616161;background:#fff;border:1px solid #e0e0e0}.uds_coauthor_wrapper .inline_community #adopt_section{box-sizing:border-box;min-height:48px;padding:2px;border-radius:8px;caret-color:transparent;background:linear-gradient(88.72deg,#4088ff .11%,#ad8bf1 98.91%)}.uds_coauthor_wrapper .inline_community #adopt_section>div{display:flex;align-items:center;gap:4px;box-sizing:border-box;height:100%;padding:6px;border-radius:6px;background:#fff}.uds_coauthor_wrapper .inline_community #adopt_section div{display:flex}.uds_coauthor_wrapper .inline_community #adopt_section #adopt_button{cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;padding:5px 12px;height:32px;border-radius:4px;font-size:14px;font-weight:600;line-height:20px;color:#fff;background:#036ac4}.uds_coauthor_wrapper .inline_community #adopt_section .adopt_section_button{cursor:pointer;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:6px;width:32px;height:32px;border-radius:4px;border:1px solid #d1d1d1;background:#fff}.uds_coauthor_wrapper .inline_community #adopt_section .adopt_section_button path{fill:#424242}.uds_coauthor_wrapper .inline_community #adopt_section .vertical_divider{height:32px;box-sizing:border-box;margin:0 4px;padding:0 0 1px 0;width:1px;border:1px solid #e0e0e0}.uds_coauthor_wrapper .inline_community #adopt_section #addDetails_section{cursor:pointer;box-sizing:border-box;min-height:32px;flex:1;width:100%;padding:6px 6px 6px 12px;display:flex;justify-content:space-between;gap:6px;align-items:center;border-radius:4px;font-size:14px;font-weight:400;line-height:20px;border:1px solid #d1d1d1;color:#717171;background:#fff}.uds_coauthor_wrapper .inline_community #adopt_section #addDetails_section div{display:flex}.uds_coauthor_wrapper .sidebar.union{background:#fff}.uds_coauthor_wrapper .sidebar.union.no-header{margin-top:0;height:100%}.uds_coauthor_wrapper .sidebar.union.header-applied{margin-top:32px;height:calc(100% - 32px)}.uds_coauthor_wrapper .union .child{box-shadow:none;border-radius:0}.uds_coauthor_wrapper .union .actions{display:flex;gap:12px;margin-top:16px}.uds_coauthor_wrapper .union .button:not(.disabled):not(.secondary){background:#464feb}.uds_coauthor_wrapper .union #share_button{color:#fff;display:flex;gap:4px;justify-content:center;align-items:center;line-height:6px}.uds_coauthor_wrapper .union #export_button{color:#464feb;display:flex;gap:4px;justify-content:center;align-items:center;line-height:6px}.uds_coauthor_wrapper .union #export_button.disabled{color:#d1dbfa}.uds_coauthor_wrapper .union .button.secondary:not(.disabled){border-color:#464feb}.uds_coauthor_wrapper .union .tag.selected{background:#464feb;border-color:#464feb}.uds_coauthor_wrapper .union .format-option.selected .illustration{border-color:#464feb}#bpage.b_drk .uds_coauthor_wrapper{color:#fff !important}#bpage.b_drk .uds_coauthor_wrapper .header-banner-section{background:#484644}#bpage.b_drk .uds_coauthor_wrapper .header-banner-section svg{fill:#6ccb5f}#bpage.b_drk .uds_coauthor_wrapper .header-banner-section a#protected_link{color:#6ccb5f}#bpage.b_drk .uds_coauthor_wrapper textarea{color:#fff !important}#bpage.b_drk .uds_coauthor_wrapper .child{background:#2b2b2b;box-shadow:0 2px 4px rgba(255,255,255,.14),0 0 2px rgba(255,255,255,.12)}#bpage.b_drk .uds_coauthor_wrapper textarea{border-color:#686868;box-shadow:0 1px 1px #7a7a7a;background:#333}#bpage.b_drk .uds_coauthor_wrapper textarea:focus,#bpage.b_drk .uds_coauthor_wrapper input:focus,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_add_button,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_save_button,#bpage.b_drk .uds_coauthor_wrapper #change_suggestions_input,#bpage.b_drk .uds_coauthor_wrapper #submit_change_suggestion_button{box-shadow:0 2px 0 #a2b7f4}#bpage.b_drk .uds_coauthor_wrapper textarea:focus-visible{border:1px solid #686868}#bpage.b_drk .uds_coauthor_wrapper #letter_counter{background:#333}#bpage.b_drk .uds_coauthor_wrapper .button{background:linear-gradient(81.62deg,#2870ea 8.72%,#1b4aef 85.01%);color:#fff}#bpage.b_drk .uds_coauthor_wrapper .button:hover:not(.disabled){box-shadow:0 1.2px 3.6px rgba(255,255,255,.1),0 6.4px 14.4px rgba(255,255,255,.13);cursor:pointer;text-decoration:none}#bpage.b_drk .uds_coauthor_wrapper .button.disabled{background:linear-gradient(0deg,rgba(255,255,255,.8),rgba(255,255,255,.8)),linear-gradient(81.62deg,#2870ea 8.72%,#1b4aef 85.01%)}#bpage.b_drk .uds_coauthor_wrapper .button.secondary{background:none;background-color:rgba(255,255,255,.1);border-color:#a2b7f4;color:#a2b7f4}#bpage.b_drk .uds_coauthor_wrapper .button.secondary:hover:not(.disabled){background-color:rgba(255,255,255,.2);box-shadow:none}#bpage.b_drk .uds_coauthor_wrapper .button.disabled{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.1)}#bpage.b_drk .uds_coauthor_wrapper .tag{color:#a2b7f4;border-color:#a2b7f4;background:rgba(255,255,255,.1)}#bpage.b_drk .uds_coauthor_wrapper .tag:focus-visible,#bpage.b_drk .uds_coauthor_wrapper .format-option:focus-visible,#bpage.b_drk .uds_coauthor_wrapper #compose_button:focus-visible,#bpage.b_drk .uds_coauthor_wrapper .item:focus-visible,#bpage.b_drk .uds_coauthor_wrapper #detached_copy_button:focus-visible{border-color:#000;outline:2px solid #fff}#bpage.b_drk .uds_coauthor_wrapper .tag.selected{background:#a2b7f4;color:#000}#bpage.b_drk .uds_coauthor_wrapper .tag:hover,#bpage.b_drk .uds_coauthor_wrapper #add_change_suggestion_button.selected{background:rgba(255,255,255,.2)}#bpage.b_drk .uds_coauthor_wrapper #add_change_suggestion_button.selected>svg>path{fill:#a2b7f4}#bpage.b_drk .uds_coauthor_wrapper .tag.selected:hover,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_edit_button.tag.selected:hover{background:#a2b7f4;color:#000}#bpage.b_drk .uds_coauthor_wrapper #custom_tone_plus_button svg>path,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_edit_button svg>path,#bpage.b_drk .uds_coauthor_wrapper #add_change_suggestion_button svg>path{fill:#a2b7f4}#bpage.b_drk .uds_coauthor_wrapper #custom_tone_plus_button.selected svg>path,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_edit_button.selected svg>path{fill:#000}#bpage.b_drk .uds_coauthor_wrapper input,#bpage.b_drk .uds_coauthor_wrapper input:focus,#bpage.b_drk .uds_coauthor_wrapper input:focus-visible,#bpage.b_drk .uds_coauthor_wrapper input:hover{color:#fff !important;background-color:#3b3a39 !important}#bpage.b_drk .uds_coauthor_wrapper #custom_tone_add_button,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_save_button,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_add_button:not(.disabled) span:hover,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_save_button:not(.disabled) span:hover,#bpage.b_drk .uds_coauthor_wrapper #submit_change_suggestion_button,#bpage.b_drk .uds_coauthor_wrapper #submit_change_suggestion_button:not(.disabled) span:hover{color:#d6d6d6 !important;background-color:#3b3a39 !important}#bpage.b_drk .uds_coauthor_wrapper #custom_tone_add_button.disabled,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_save_button.disabled{color:#5c5c5c !important}#bpage.b_drk .uds_coauthor_wrapper .format-option p{color:#fff !important}#bpage.b_drk .uds_coauthor_wrapper .format-option .illustration{border-color:#2b2b2b;background:rgba(255,255,255,.1)}#bpage.b_drk .uds_coauthor_wrapper .format-option:hover .illustration{background:rgba(255,255,255,.2)}#bpage.b_drk .uds_coauthor_wrapper .format-option .illustration .objectS{stroke:#fff}#bpage.b_drk .uds_coauthor_wrapper .format-option .illustration .objectF{fill:#fff}#bpage.b_drk .uds_coauthor_wrapper .format-option.selected .illustration{border-color:#a2b7f4;background:rgba(255,255,255,.2)}#bpage.b_drk .uds_coauthor_wrapper .option-section{border-color:#545454}#bpage.b_drk .uds_coauthor_wrapper .messaging-section{color:#6ccb5f}#bpage.b_drk .uds_coauthor_wrapper .messaging-section svg{fill:#6ccb5f}#bpage.b_drk .uds_coauthor_wrapper .header.secondary{color:#fff}#bpage.b_drk .uds_coauthor_wrapper .preview-options{background:#333}#bpage.b_drk .uds_coauthor_wrapper .preview-options .item svg>path,#bpage.b_drk .uds_coauthor_wrapper #submit_change_suggestion_button svg>path{fill:#fff}#bpage.b_drk .uds_coauthor_wrapper .preview-options .item:hover{background:rgba(255,255,255,.2)}#bpage.b_drk .uds_coauthor_wrapper .preview-options .item.disabled:hover{background:#333}#bpage.b_drk .uds_coauthor_wrapper .preview-options .item.disabled svg>path,#bpage.b_drk .uds_coauthor_wrapper #submit_change_suggestion_button.disabled svg>path{fill:#7a7a7a}#bpage.b_drk .uds_coauthor_wrapper .header svg>path{fill:#fff}#bpage.b_drk .uds_coauthor_wrapper .format-option .illustration svg>path{fill:#fff}#bpage.b_drk .uds_coauthor_wrapper div.preview #shimmer .line{background:#686868}#bpage.b_drk .uds_coauthor_wrapper #compose_button{color:#fff}#bpage.b_drk .uds_coauthor_wrapper #compose_button.disabled{color:rgba(255,255,255,.54)}#bpage.b_drk .uds_coauthor_wrapper #insert_button,#bpage.b_drk .uds_coauthor_wrapper #detached_copy_button{color:#a2b7f4}#bpage.b_drk .uds_coauthor_wrapper #insert_button.disabled,#bpage.b_drk .uds_coauthor_wrapper #detached_copy_button.disabled{color:rgba(255,255,255,.54)}#bpage.b_drk .uds_coauthor_wrapper div.preview #error{color:#ed8e85}#bpage.b_drk .uds_coauthor_wrapper .inline{background:#4a4a4a;box-shadow:0 2px 4px rgba(255,255,255,.14),0 0 2px rgba(255,255,255,.12)}#bpage.b_drk .uds_coauthor_wrapper .inline header{color:#fff !important}#bpage.b_drk .uds_coauthor_wrapper .inline header #preview_badge{color:#fff !important;background:#333}#bpage.b_drk .uds_coauthor_wrapper .inline #close_button svg path{fill:#fff !important}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button{color:#fff}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.primary{background:linear-gradient(81.62deg,#2870ea 8.72%,#1b4aef 85.01%) !important;color:#fff !important}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.secondary{background:#292929;border-color:#666}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.secondary:hover{background:rgba(255,255,255,.2) !important}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.secondary svg path{fill:#fff !important}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.light{background:transparent !important}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.light:hover{background:rgba(255,255,255,.2) !important}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.light svg path{fill:#fff !important}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.disabled,#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.secondary.disabled,#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.disabled:hover,#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.secondary.disabled:hover{border:1px solid #424242;background:#141414 !important;color:#5c5c5c !important}#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.disabled svg>path,#bpage.b_drk .uds_coauthor_wrapper .inline .inline-button.secondary.disabled svg>path{fill:#5c5c5c !important}#bpage.b_drk .uds_coauthor_wrapper .inline #inline_preview_text:disabled{background:#2b2b2b}#bpage.b_drk .uds_coauthor_wrapper .inline #inline_options .floating-menu{background:#2b2b2b;box-shadow:0 2px 4px rgba(255,255,255,.14),0 0 2px rgba(255,255,255,.12)}#bpage.b_drk .uds_coauthor_wrapper .inline #inline_options .floating-menu .fm-option:hover{background:rgba(255,255,255,.1) !important}#bpage.b_drk .uds_coauthor_wrapper .inline #inline_options .floating-menu .fm-option.selected{background:rgba(255,255,255,.1) !important}#bpage.b_drk .uds_coauthor_wrapper .inline #inline_options .floating-menu .fm-option .check svg{stroke:none}#bpage.b_drk .uds_coauthor_wrapper .mobile{background:none}#bpage.b_drk .uds_coauthor_wrapper .mobile svg path{fill:#fff}#bpage.b_drk .uds_coauthor_wrapper .mobile #mobile_overlay .content{background:#2b2b2b}#bpage.b_drk .uds_coauthor_wrapper .mobile #mobile_apply_button{color:#a2b7f4}#bpage.b_drk .uds_coauthor_wrapper .mobile #mobile_overlay #mobile_style_options li.selected svg path{fill:#a2b7f4}.uds_coauthor_wrapper .mobile #mobile_options #stop_button svg path{fill:#a2b7f4}#bpage.b_drk .uds_coauthor_wrapper .sidebar.union{background:none}#bpage.b_drk .uds_coauthor_wrapper .union .child{box-shadow:none;border-radius:0}@media screen and (-ms-high-contrast:active){.uds_coauthor_wrapper .button{background:Window;border:2px solid}.uds_coauthor_wrapper .tag,.uds_coauthor_wrapper #custom_tone_edit_button{color:LinkText;border-color:WindowText}.uds_coauthor_wrapper #custom_tone_plus_button svg>path,.uds_coauthor_wrapper #custom_tone_edit_button svg>path,.uds_coauthor_wrapper #add_change_suggestion_button svg>path,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_plus_button svg>path,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_edit_button svg>path,#bpage.b_drk .uds_coauthor_wrapper #add_change_suggestion_button svg>path{fill:WindowText}.uds_coauthor_wrapper .tag.selected,.uds_coauthor_wrapper #custom_tone_edit_button.tag.selected,.uds_coauthor_wrapper .tag:hover,.uds_coauthor_wrapper #custom_tone_edit_button:hover,.uds_coauthor_wrapper #add_change_suggestion_button.selected,#bpage.b_drk .uds_coauthor_wrapper .tag.selected,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_edit_button.tag.selected,#bpage.b_drk .uds_coauthor_wrapper .tag:hover,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_edit_button:hover,#bpage.b_drk .uds_coauthor_wrapper #add_change_suggestion_button.selected{border-color:Highlight;background:Highlight}.uds_coauthor_wrapper .tag.selected span,.uds_coauthor_wrapper .tag:hover span,.uds_coauthor_wrapper #custom_tone_edit_button:hover span{color:HighlightText;background:Highlight}.uds_coauthor_wrapper .tag.selected svg,.uds_coauthor_wrapper #custom_tone_edit_button.tag.selected svg,.uds_coauthor_wrapper .tag:hover svg,.uds_coauthor_wrapper #custom_tone_edit_button:hover svg{background:Highlight}.uds_coauthor_wrapper #custom_tone_plus_button.tag.selected svg>path,.uds_coauthor_wrapper #custom_tone_edit_button.tag.selected svg>path,.uds_coauthor_wrapper #add_change_suggestion_button.tag.selected svg>path,.uds_coauthor_wrapper #custom_tone_plus_button:hover svg>path,.uds_coauthor_wrapper #custom_tone_edit_button:hover svg>path,.uds_coauthor_wrapper #add_change_suggestion_button:hover svg>path,.uds_coauthor_wrapper #add_change_suggestion_button.selected svg>path,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_plus_button.tag.selected svg>path,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_edit_button.tag.selected svg>path,#bpage.b_drk .uds_coauthor_wrapper #add_change_suggestion_button.tag.selected svg>path,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_plus_button:hover svg>path,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_edit_button:hover svg>path,#bpage.b_drk .uds_coauthor_wrapper #add_change_suggestion_button:hover svg>path,#bpage.b_drk .uds_coauthor_wrapper #add_change_suggestion_button.selected svg>path{fill:HighlightText}.uds_coauthor_wrapper input,.uds_coauthor_wrapper input:focus,.uds_coauthor_wrapper input:focus-visible,.uds_coauthor_wrapper input:hover,.uds_coauthor_wrapper #custom_tone_add_button,.uds_coauthor_wrapper #custom_tone_save_button{border-style:solid}.uds_coauthor_wrapper .preview-options .item:hover,#bpage.b_drk .uds_coauthor_wrapper .preview-options .item:hover{background:Highlight}.uds_coauthor_wrapper .header svg>path{fill:WindowText}.uds_coauthor_wrapper .preview-options svg>path,.uds_coauthor_wrapper #submit_change_suggestion_button svg>path{fill:WindowText}.uds_coauthor_wrapper .preview-options .item:hover svg>path,.uds_coauthor_wrapper #submit_change_suggestion_button:hover svg>path{fill:LinkText}.uds_coauthor_wrapper .format-option.selected .illustration,.uds_coauthor_wrapper .format-option:hover .illustration,#bpage.b_drk .uds_coauthor_wrapper .format-option.selected .illustration,#bpage.b_drk .uds_coauthor_wrapper .format-option:hover .illustration{border-color:Highlight;background:Highlight}.uds_coauthor_wrapper .format-option.selected .illustration svg,.uds_coauthor_wrapper .format-option:hover .illustration svg{background:Highlight}.uds_coauthor_wrapper .format-option.selected .illustration .objectS,.uds_coauthor_wrapper .format-option:hover .illustration .objectS,#bpage.b_drk .uds_coauthor_wrapper .format-option.selected .illustration .objectS,#bpage.b_drk .uds_coauthor_wrapper .format-option:hover .illustration .objectS{stroke:ButtonFace}.uds_coauthor_wrapper .format-option.selected .illustration .objectF,.uds_coauthor_wrapper .format-option:hover .illustration .objectF,#bpage.b_drk .uds_coauthor_wrapper .format-option.selected .illustration .objectF,#bpage.b_drk .uds_coauthor_wrapper .format-option:hover .illustration .objectF{fill:ButtonFace}.uds_coauthor_wrapper #compose_button,.uds_coauthor_wrapper #insert_button,.uds_coauthor_wrapper #custom_tone_add_button,.uds_coauthor_wrapper #custom_tone_save_button,.uds_coauthor_wrapper #detached_copy_button,#bpage.b_drk .uds_coauthor_wrapper #compose_button,#bpage.b_drk .uds_coauthor_wrapper #insert_button,#bpage.b_drk .uds_coauthor_wrapper #detached_copy_button,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_add_button,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_save_button{border-color:WindowText;color:WindowText}.uds_coauthor_wrapper #compose_button.disabled,.uds_coauthor_wrapper #insert_button.disabled,.uds_coauthor_wrapper #custom_tone_add_button.disabled,.uds_coauthor_wrapper #custom_tone_save_button.disabled,.uds_coauthor_wrapper #detached_copy_button.disabled,#bpage.b_drk .uds_coauthor_wrapper #compose_button.disabled,#bpage.b_drk .uds_coauthor_wrapper #insert_button.disabled,#bpage.b_drk .uds_coauthor_wrapper #detached_copy_button.disabled,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_add_button.disabled,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_save_button.disabled{border-color:GrayText !important;color:GrayText !important}.uds_coauthor_wrapper #custom_tone_add_button.disabled span,.uds_coauthor_wrapper #custom_tone_save_button.disabled span,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_add_button.disabled span,#bpage.b_drk .uds_coauthor_wrapper #custom_tone_save_button.disabled span{color:GrayText}.uds_coauthor_wrapper div.preview #shimmer .line{background:WindowText}.uds_coauthor_wrapper textarea:focus{box-shadow:0 2px 0 #174ae4}.uds_coauthor_wrapper textarea:focus-visible{border-color:#e2e2e2}.uds_coauthor_wrapper #add_change_suggestion_button.selected:hover,#bpage.b_drk .uds_coauthor_wrapper #add_change_suggestion_button.selected:hover{background:Window}}</style><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
var Shared;(function(n){function t(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return n.replace(/\{([0-9]+)\}/g,function(n,t){var r=parseInt(t);return r>=0&&r<i.length?i[r]:""})}n.formatString=t})(Shared||(Shared={}));
//]]></script><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
_w["_sydBaseSpecifierPrefix"] = "rms-answers-SharedStaticAssets-";;
//]]></script><script type="text/javascript" crossorigin="anonymous" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" data-ajaxResKey="rms:answers:CodexBundle:cib-bundle" src="/rp/CjV0wm9RoQDMfj69YKz3x7N22vo.br.js"></script><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
_w["_udsCoAuthorConfig"] ={"EnableSecureConversation":true,"AddOptionsSets":["soedgeca"],"RemoveOptionsSets":[],"DevMode":false,"UseHarmonyImaginitive":false,"ComposeUnderVPTest":false,"ComposeInline":false,"Source":"edge_coauthor_prod","ComposeSidebarCustomization":false,"DetachedUX":false,"GetConversationId":false,"CodexV2":false,"ComposeMobile":false,"ComposeUnion":false,"IsBCE":false,"ComposeBalanced":false,"ComposeCaptcha":true,"ComposeCaptchaChallengeEndpoint":"https://www.bing.com/turing/captcha/challenge?scenario=compose","ComposeFromCodex":false,"IsBCS":false,"ComposeForCommunity":false,"ComposeForCommunityInline":false,"IsSwiftKeyClient":false,"ComposeFlux":false};;_w["_composeMobNativeIntegration"] ={"IsUserSignedIn":true};;
//]]></script><script type="text/javascript" crossorigin="anonymous" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" src="/rp/Hzd0cJG09MF0aVDOZIddFi4CMPc.br.js"></script><div id="b_content" class=""><ol id="b_results" class=""><li class="b_ans" data-tag="" data-partnerTag="" data-id="" h=""><div class="b_uns_container_ans b_uns_inst_ans" data-ans-name="Underside:Compose"><script type="importmap" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics="> { "imports": {"rms-answers-SharedStaticAssets-mdast-util-from-markdown":"/rp/4XuwXtSbiAVqhJs_4Ciwl3YcLrM.br.js","rms-answers-SharedStaticAssets-mdast-util-gfm-table":"/rp/ztanaSb3HsieCWGjv3Tl3lECB88.br.js","rms-answers-SharedStaticAssets-micromark-extension-gfm-table":"/rp/u4lHTqMyPv8KR3P-2buvasHaSoM.br.js","rms-answers-SharedStaticAssets-markdown-it":"/rp/7KdbPOT7wEH4JWaJqBx9wrxcwuM.br.js"} } </script><div class="underside-inst-module" data-inst-name="USI_Module_CoAuthor"><div id="underside-coauthor-module"
class="b_uns_module b_uns_module_fullbleed" data-content-available="true" data-finalized="true" data-load-time=""><div class="uds_coauthor_wrapper"><div class="sidebar no-header"><div class="child"><div class="header secondary" role="heading" id="input_heading">著作领域</div><textarea id="prompt_text" name="写入有关输入的信息" autocomplete="off" placeholder="告诉我们你想要写的内容" aria-details="letter_counter"></textarea><div id="letter_counter" role="meter" aria-valuenow="0" aria-valuemin="0"></div><div class="option-section" expanded="true"><div class="header" role="heading" id="tone_heading">语气</div><div class="panel" role="group" aria-labelledby="tone_heading"><div class="tone-options tags" role="radiogroup"></div><div class="custom-tone-edit-container"><input name="自定义音调输入" id="custom_tone_input" class='hidden' type="text" autocomplete="off" aria-label="输入自定义音调" placeholder="例如,放松的" /><div id="custom_tone_add_button" name="添加自定义音调" class='hidden' role="button" title="添加" aria-label="添加自定义音调"><span>添加</span></div><div id="custom_tone_save_button" name="保存自定义音调" class='hidden' role="button" title="保存" aria-label="保存自定义音调"><span>保存</span></div></div></div></div><div class="option-section" expanded="true"><div class="header" role="heading" id="format_heading">格式</div><div class="panel" role="group" aria-labelledby="format_heading"><div class="format-options" role="radiogroup"></div></div></div><div class="option-section" expanded="true"><div class="header" role="heading" id="length_heading">长度</div><div class="panel" role="group" aria-labelledby="length_heading"><div class="length-options tags" role="radiogroup"></div></div></div><a class="button linkBtn" name="生成草稿" role="button" id="compose_button" aria-label="生成草稿" target="_blank" _ctf="rdr_T" h="ID=SERP,5059.1">生成草稿</a></div><div class="child"><div class="header" role="heading" id="preview_heading">预览</div><div id="disclaimer_box" class="hidden"></div><div class="preview"><textarea id="preview_text" autocomplete="off" aria-label="预览生成的文本" placeholder="AI 生成的内容将显示在此处"></textarea><div id="captcha_container" class="hidden"><iframe id="captcha-frame" src="https://www.bing.com/turing/captcha/challenge?scenario=compose"></iframe></div><div class="preview-options"><div id="conversation_id_copy_button" name="ID" role="button" class="item hidden" title="ID" aria-label="ID">ID</div><div id="stop_button" name="停止生成草稿" role="button" class="item" title="停止" aria-label="停止生成草稿"></div><div id="previous_button" name="上一个草稿" role="button" class="item" title="上一个草稿" aria-label="上一个草稿"></div><div id="next_button" name="下一个草稿" role="button" class="item" title="下一个草稿" aria-label="下一个草稿"></div><div id="copy_button" name="复制" role="button" class="item" title="复制" aria-label="复制"></div><div id="regenerate_button" name="重新生成草稿" role="button" class="item" title="重新生成草稿" aria-label="重新生成草稿"></div></div><div id="shimmer" class='hidden'><div class='line'></div><div class='line'></div><div class='line'></div></div><div id="error" class='hidden'></div></div><div id="change_suggestions"><div class="panel" role="group"><div id="change_suggestions_pills" class="change-suggestions-options tags hidden"></div><div id="custom_change_suggestion_container"><input name="自定义建议输入" id="change_suggestions_input" type="text" class="hidden" autocomplete="off" placeholder="告诉我是否要更改任何内容" aria-label="输入自定义建议" /><div id="submit_change_suggestion_button" name="使用建议重新生成" role="button" class="hidden disabled" title="使用建议重新生成" aria-label="使用建议重新生成"></div></div></div></div><a id="insert_button" name="添加到网站" role="button" aria-label="添加到网站" class="button secondary disabled linkBtn" target="_blank" _ctf="rdr_T" h="ID=SERP,5059.2">添加到网站</a></div></div><span id="aria_alert" role="alert" class='aria-alert'><span class="hidden">" "</span></span><span id="aria_alert_polite" aria-live="polite" class='aria-alert'><span class="hidden">正在生成文本</span></span></div></div></div></div></li><li class="b_ans" data-tag="" data-partnerTag="" data-id="" h=""><div class="b_uns_container_ans b_uns_inst_ans" data-ans-name="Underside:ServerNavigate"></div></li></ol></div><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
var customEvents=require("event.custom");customEvents.fire("onHTML");define("RMSBootstrap",["require","exports"],function(n,t){function f(){i.push(r.call(arguments))}function e(){for(var n=0;n<i.length;++n)_w.rms.js.apply(null,r.call(i[n],0))}var u,i,r;t.__esModule=!0;t.replay=void 0;u=n("event.custom");i=[];_w.rms={};r=[].slice;_w.rms.js=f;t.replay=e;u.bind("onPP",function(){for(var u,t,f,n,r=0;r<i.length;r++)for(u=i[r],t=0;t<u.length;t++)if(f=u[t]["A:rms:answers:Shared:BingCore.RMSBundle"],f){n=_d.createElement("script");n.setAttribute("data-rms","1");n.setAttribute("crossorigin","anonymous");n.src=f;n.type="text/javascript";setTimeout(function(){_d.body.appendChild(n)},0);u.splice(t,1);break}},!0)});(function(n,t){onload=function(){_G.BPT=new Date;n&&n();!_w.sb_ppCPL&&t&&sb_st(function(){t(new Date)},0)}})(_w.onload,_w.si_PP);sj_be(_d.body, 'load', function(){if(_w.lb)lb();}, false);;_G!==undefined&&_G.EF!==undefined&&_G.EF.bmasynctrigger===1&&window.requestAnimationFrame!==undefined&&document.visibilityState!==undefined&&document.visibilityState==="visible"?requestAnimationFrame(function(){_G.EF.bmasynctrigger2===1?requestAnimationFrame(function(){BM.trigger()}):_G.EF.bmasynctrigger3===1?requestAnimationFrame(function(){setTimeout(function(){BM.trigger()},0)}):setTimeout(function(){BM.trigger()},0)}):BM.trigger();
//]]></script><script type="text/javascript" crossorigin="anonymous" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" src="/rp/HbkPYqcLh_xqZSd1KqLTrWN8MYY.br.js"></script><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
var Windchime;(function(n){var t;(function(n){var t;(function(n){n.PostMessageMigrationMap=new Map;n.PostMessageMigrationMap.set("ClosePopup","Discover.CoAuthor.ClosePopup");n.PostMessageMigrationMap.set("FrameReady","Discover.CoAuthor.FrameReady");n.PostMessageMigrationMap.set("InsertToPage","Discover.CoAuthor.InsertToPage");n.PostMessageMigrationMap.set("LogErrorsTelemetry","Discover.CoAuthor.LogErrorTelemetry");n.PostMessageMigrationMap.set("LogPerformanceTelemetry","Discover.CoAuthor.LogPerformanceTelemetry");n.PostMessageMigrationMap.set("LogUserActionsTelemetry","Discover.CoAuthor.LogUserActionsTelemetry");n.PostMessageEventName="Discover.Compose.Message";n.ComposeUserActionMap=new Map;n.ComposeUserActionMap.set(0,"CommonToneOptionClicked");n.ComposeUserActionMap.set(1,"CommonLengthOptionClicked");n.ComposeUserActionMap.set(2,"CommonFormatOptionClicked");n.ComposeUserActionMap.set(100,"SidepaneGenerateButtonClicked");n.ComposeUserActionMap.set(101,"SidepaneChangeSuggestionClicked");n.ComposeUserActionMap.set(102,"SidepaneAddButtonChangeSuggestionClicked");n.ComposeUserActionMap.set(103,"SidepaneSubmitButtonChangeSuggestionClicked");n.ComposeUserActionMap.set(104,"SidepaneCopyButtonClicked");n.ComposeUserActionMap.set(105,"SidepaneStopButtonClicked");n.ComposeUserActionMap.set(106,"SidepanePlusButtonCustomToneClicked");n.ComposeUserActionMap.set(107,"SidepaneAddButtonCustomToneClicked");n.ComposeUserActionMap.set(108,"SidepaneEditButtonCustomToneClicked");n.ComposeUserActionMap.set(109,"SidepaneSaveButtonCustomToneClicked");n.ComposeUserActionMap.set(110,"SidepanePreviousButtonClicked");n.ComposeUserActionMap.set(111,"SidepaneNextButtonClicked");n.ComposeUserActionMap.set(112,"SidepaneInsertButtonClicked");n.ComposeUserActionMap.set(113,"SidepaneTryAgainButtonClicked");n.ComposeUserActionMap.set(114,"SidepaneModifiedPreview");n.ComposeUserActionMap.set(200,"InlineTryAgainButtonClicked");n.ComposeUserActionMap.set(201,"InlineAdjustButtonClicked");n.ComposeUserActionMap.set(202,"InlineCloseAdjustButtonClicked");n.ComposeUserActionMap.set(203,"InlineCloseButtonClicked");n.ComposeUserActionMap.set(204,"InlineRewriteButtonClicked");n.ComposeUserActionMap.set(205,"InlineFloatingMenuToneOptionClicked");n.ComposeUserActionMap.set(206,"InlineFloatingMenuLengthOptionClicked");n.ComposeUserActionMap.set(207,"InlineFloatingMenuFormatOptionClicked");n.ComposeUserActionMap.set(208,"InlineInsertButtonClicked");n.ComposeUserActionMap.set(209,"InlineModifiedPreview");n.ComposeUserActionMap.set(210,"InlineStopButtonClicked");n.ComposeUserActionMap.set(300,"DetachedCopyButtonClicked");n.ComposeUserActionMap.set(400,"MobileGenerateButtonClicked");n.ComposeUserActionMap.set(401,"MobilePreviewBackButtonClicked");n.ComposeUserActionMap.set(402,"MobileOverlayBackButtonClicked");n.ComposeUserActionMap.set(403,"MobileOverlayApplyButtonClicked");n.ComposeUserActionMap.set(404,"MobileAdjustStylesButtonClicked");n.ComposeUserActionMap.set(405,"MobileCopyButtonClicked");n.ComposeUserActionMap.set(406,"MobileStopButtonClicked");n.ComposeUserActionMap.set(407,"MobilePrevButtonClicked");n.ComposeUserActionMap.set(408,"MobileNextButtonClicked");n.ComposeUserActionMap.set(500,"UnionShareButtonClicked");n.ComposeUserActionMap.set(501,"UnionExportButtonClicked");n.ComposeUserActionMap.set(600,"CommunityCloseButtonClicked");n.ComposeUserActionMap.set(601,"CommunityDeleteButtonClicked");n.ComposeUserActionMap.set(602,"CommunityAddDetailsSectionClicked");n.ComposeSourceMap=new Map;n.ComposeSourceMap.set(0,"Sidepane");n.ComposeSourceMap.set(1,"Inline");n.ComposeSourceMap.set(2,"Detached");n.ComposeSourceMap.set(3,"Mobile");n.ComposeSourceMap.set(4,"Union");n.ComposeErrorMap=new Map;n.ComposeErrorMap.set(0,"DailyConversationLimit");n.ComposeErrorMap.set(1,"FateError");n.ComposeErrorMap.set(2,"ServerError");n.ComposeErrorMap.set(3,"TimeoutError");n.ComposeErrorMap.set(4,"NonChatMessages");n.ComposeErrorMap.set(5,"SAFEError");n.ComposeErrorMap.set(6,"TurnsConversationLimit");n.ComposeErrorMap.set(7,"ResponseParseError");n.ComposeErrorMap.set(8,"UnauthorizedError");n.ComposeErrorMap.set(9,"CaptchaChallengeError");n.ComposeErrorMap.set(10,"CaptchaChallengeCompleted");n.ComposeErrorMap.set(11,"CaptchaChallengeFailed");n.ComposeErrorMap.set(12,"ServerCreateChatRequestFailed");n.ComposeErrorMap.set(13,"ServerInternalError");n.ComposeErrorMap.set(14,"InvalidSession");n.ComposeErrorMap.set(15,"ConfigurationError");n.ComposeErrorMap.set(16,"InvalidRequest");n.ComposeErrorMap.set(17,"ServerCanceled");n.ComposeErrorMap.set(18,"SuccessfulResponse");n.QueryParam_SetText="setText";n.QueryParam_SetText_Max_Length=1500;n.paragraphSVG='<svg width="58" height="58" viewBox="0 0 58 58" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect width="58" height="58" rx="8" fill="none"/>\n <line x1="11.5" y1="21.5" x2="46.5" y2="21.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <line x1="11.5" y1="14.5" x2="46.5" y2="14.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <line x1="11.5" y1="28.5" x2="46.5" y2="28.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <line x1="11.5" y1="35.5" x2="46.5" y2="35.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <line x1="11.5" y1="42.5" x2="28.5" y2="42.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <\/svg>';n.blogSVG='<svg width="58" height="58" viewBox="0 0 58 58" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect width="58" height="58" rx="8" fill="none"/>\n <rect x="11" y="11" width="36" height="36" rx="8" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <line x1="18.5" y1="18.5" x2="39.5" y2="18.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <line x1="18.5" y1="23.5" x2="39.5" y2="23.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <line x1="18.5" y1="28.5" x2="39.5" y2="28.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <line x1="18.5" y1="33.5" x2="39.5" y2="33.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <line x1="18.5" y1="38.5" x2="39.5" y2="38.5" stroke="#6E6E6E" stroke-linecap="round" stroke-linejoin="round"/>\n <\/svg>';n.wandIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M16.5001 2C16.7762 2 17.0001 2.22386 17.0001 2.5V3H17.5001C17.7762 3 18.0001 3.22386 18.0001 3.5C18.0001 3.77614 17.7762 4 17.5001 4H17.0001V4.5C17.0001 4.77614 16.7762 5 16.5001 5C16.224 5 16.0001 4.77614 16.0001 4.5V4H15.5001C15.224 4 15.0001 3.77614 15.0001 3.5C15.0001 3.22386 15.224 3 15.5001 3H16.0001V2.5C16.0001 2.22386 16.224 2 16.5001 2ZM6.5001 6C6.77625 6 7.0001 5.77614 7.0001 5.5C7.0001 5.22386 6.77625 5 6.5001 5H6.0001V4.5C6.0001 4.22386 5.77625 4 5.5001 4C5.22396 4 5.0001 4.22386 5.0001 4.5V5H4.5001C4.22396 5 4.0001 5.22386 4.0001 5.5C4.0001 5.77614 4.22396 6 4.5001 6H5.0001V6.5C5.0001 6.77614 5.22396 7 5.5001 7C5.77625 7 6.0001 6.77614 6.0001 6.5V6H6.5001ZM15.5001 15C15.7762 15 16.0001 14.7761 16.0001 14.5C16.0001 14.2239 15.7762 14 15.5001 14H15.0001V13.5C15.0001 13.2239 14.7762 13 14.5001 13C14.224 13 14.0001 13.2239 14.0001 13.5V14H13.5001C13.224 14 13.0001 14.2239 13.0001 14.5C13.0001 14.7761 13.224 15 13.5001 15H14.0001V15.5C14.0001 15.7761 14.224 16 14.5001 16C14.7762 16 15.0001 15.7761 15.0001 15.5V15H15.5001ZM13.4346 6.56566C12.687 5.81812 11.475 5.81812 10.7275 6.56566L2.56067 14.7324C1.81311 15.4799 1.81311 16.6919 2.56066 17.4395C3.3082 18.187 4.52021 18.187 5.26776 17.4395L13.4346 9.27278C14.1821 8.52523 14.1821 7.31321 13.4346 6.56566ZM11.4346 7.27277C11.7916 6.91575 12.3704 6.91575 12.7275 7.27277C13.0845 7.6298 13.0845 8.20865 12.7274 8.56567L12.2501 9.04299L10.9572 7.7501L11.4346 7.27277ZM10.2501 8.4572L11.543 9.75009L4.56066 16.7324C4.20363 17.0894 3.62479 17.0894 3.26777 16.7324C2.91074 16.3754 2.91074 15.7965 3.26777 15.4395L10.2501 8.4572Z" fill="#212121"/>\n <\/svg>';n.toneIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M15.8536 1.14645C15.6583 0.951184 15.3417 0.951184 15.1464 1.14645C14.9512 1.34171 14.9512 1.65829 15.1464 1.85355C16.2815 2.98857 16.875 4.72424 16.875 6.5C16.875 8.27576 16.2815 10.0114 15.1464 11.1464C14.9512 11.3417 14.9512 11.6583 15.1464 11.8536C15.3417 12.0488 15.6583 12.0488 15.8536 11.8536C17.2185 10.4886 17.875 8.47424 17.875 6.5C17.875 4.52576 17.2185 2.51143 15.8536 1.14645ZM13.8536 3.14645C13.6583 2.95118 13.3417 2.95118 13.1464 3.14645C12.9512 3.34171 12.9512 3.65829 13.1464 3.85355C13.7815 4.48857 14.125 5.47424 14.125 6.5C14.125 7.52576 13.7815 8.51143 13.1464 9.14645C12.9512 9.34171 12.9512 9.65829 13.1464 9.85355C13.3417 10.0488 13.6583 10.0488 13.8536 9.85355C14.7185 8.98857 15.125 7.72424 15.125 6.5C15.125 5.27576 14.7185 4.01143 13.8536 3.14645ZM4 7C4 4.79086 5.79086 3 8 3C10.2091 3 12 4.79086 12 7C12 9.20914 10.2091 11 8 11C5.79086 11 4 9.20914 4 7ZM8 4C6.34315 4 5 5.34315 5 7C5 8.65685 6.34315 10 8 10C9.65685 10 11 8.65685 11 7C11 5.34315 9.65685 4 8 4ZM1 14C1 12.8869 1.90315 12 3.00873 12L13 12C14.1045 12 15 12.8956 15 14C15 15.6912 14.1672 16.9663 12.865 17.7966C11.583 18.614 9.85474 19 8 19C6.14526 19 4.41697 18.614 3.13499 17.7966C1.83281 16.9663 1 15.6912 1 14ZM3.00873 13C2.44786 13 2 13.4467 2 14C2 15.3088 2.62226 16.2837 3.67262 16.9534C4.74318 17.636 6.26489 18 8 18C9.73511 18 11.2568 17.636 12.3274 16.9534C13.3777 16.2837 14 15.3088 14 14C14 13.4478 13.5522 13 13 13L3.00873 13Z" fill="#212121"/>\n <\/svg>';n.copyIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M8 2C6.89543 2 6 2.89543 6 4V14C6 15.1046 6.89543 16 8 16H14C15.1046 16 16 15.1046 16 14V4C16 2.89543 15.1046 2 14 2H8ZM7 4C7 3.44772 7.44772 3 8 3H14C14.5523 3 15 3.44772 15 4V14C15 14.5523 14.5523 15 14 15H8C7.44772 15 7 14.5523 7 14V4ZM4 6.00001C4 5.25973 4.4022 4.61339 5 4.26758V14.5C5 15.8807 6.11929 17 7.5 17H13.7324C13.3866 17.5978 12.7403 18 12 18H7.5C5.567 18 4 16.433 4 14.5V6.00001Z" fill="#1A1A1A"/>\n <\/svg>';n.generateIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M11.4142 3.63503C11.6095 3.43977 11.6095 3.12319 11.4142 2.92792L9.29289 0.806603C9.09763 0.611341 8.78104 0.611341 8.58578 0.806603C8.39052 1.00186 8.39052 1.31845 8.58578 1.51371L9.58264 2.51056C7.80518 2.60911 6.05488 3.33754 4.69671 4.6957C1.76776 7.62463 1.76776 12.3734 4.69671 15.3023C4.95359 15.5592 5.2247 15.7937 5.50757 16.0058C5.72852 16.1714 6.04191 16.1266 6.20756 15.9057C6.3732 15.6847 6.32838 15.3713 6.10743 15.2057C5.86235 15.0219 5.6271 14.8185 5.40382 14.5952C2.8654 12.0568 2.8654 7.94121 5.40382 5.40281C6.68997 4.11666 8.38002 3.48223 10.0664 3.49934C10.0915 3.49959 10.1162 3.49799 10.1404 3.49466L8.58578 5.04924C8.39052 5.24451 8.39052 5.56109 8.58578 5.75635C8.78104 5.95161 9.09763 5.95161 9.29289 5.75635L11.4142 3.63503ZM8.58578 16.363C8.39052 16.5582 8.39052 16.8748 8.58578 17.0701L10.7071 19.1914C10.9024 19.3866 11.219 19.3866 11.4142 19.1914C11.6095 18.9961 11.6095 18.6795 11.4142 18.4843L10.4174 17.4874C12.1948 17.3889 13.9451 16.6605 15.3033 15.3023C18.2322 12.3734 18.2322 7.62462 15.3033 4.69569C15.0464 4.43881 14.7753 4.20428 14.4924 3.99221C14.2715 3.82656 13.9581 3.87139 13.7924 4.09233C13.6268 4.31327 13.6716 4.62667 13.8926 4.79231C14.1377 4.97606 14.3729 5.17952 14.5962 5.40279C17.1346 7.9412 17.1346 12.0568 14.5962 14.5952C13.31 15.8813 11.62 16.5158 9.9336 16.4987C9.90849 16.4984 9.88379 16.5 9.85963 16.5033L11.4142 14.9487C11.6095 14.7535 11.6095 14.4369 11.4142 14.2416C11.219 14.0464 10.9024 14.0464 10.7071 14.2416L8.58578 16.363Z" fill="#1A1A1A"/>\n <\/svg>';n.stopIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2ZM10 3C6.13401 3 3 6.13401 3 10C3 13.866 6.13401 17 10 17C13.866 17 17 13.866 17 10C17 6.13401 13.866 3 10 3ZM7.80943 7.11372L7.87868 7.17157L10 9.29289L12.1213 7.17157C12.2949 6.99801 12.5643 6.97872 12.7592 7.11372L12.8284 7.17157C13.002 7.34514 13.0213 7.61456 12.8863 7.80943L12.8284 7.87868L10.7071 10L12.8284 12.1213C13.002 12.2949 13.0213 12.5643 12.8863 12.7592L12.8284 12.8284C12.6549 13.002 12.3854 13.0213 12.1906 12.8863L12.1213 12.8284L10 10.7071L7.87868 12.8284C7.70511 13.002 7.43569 13.0213 7.24082 12.8863L7.17157 12.8284C6.99801 12.6549 6.97872 12.3854 7.11372 12.1906L7.17157 12.1213L9.29289 10L7.17157 7.87868C6.99801 7.70511 6.97872 7.43569 7.11372 7.24082L7.17157 7.17157C7.34514 6.99801 7.61456 6.97872 7.80943 7.11372Z" fill="#212121" />\n <\/svg>';n.prevIcon='<svg width="17" height="15" viewBox="0 0 17 15" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M8.15898 14.3666C8.36292 14.5528 8.67918 14.5384 8.86536 14.3345C9.05154 14.1305 9.03714 13.8143 8.8332 13.6281L2.66535 7.99736H16.4961C16.7722 7.99736 16.9961 7.7735 16.9961 7.49736C16.9961 7.22122 16.7722 6.99736 16.4961 6.99736H2.66824L8.8332 1.36927C9.03714 1.18309 9.05154 0.866835 8.86536 0.662895C8.67918 0.458954 8.36292 0.444557 8.15898 0.630737L1.24263 6.94478C1.10268 7.07254 1.02285 7.24008 1.00314 7.41323C0.998507 7.44058 0.996094 7.46869 0.996094 7.49736C0.996094 7.52423 0.998213 7.55061 1.00229 7.57633C1.02047 7.75224 1.10058 7.9229 1.24263 8.05258L8.15898 14.3666Z" fill="#212121"/>\n <\/svg>';n.nextIcon='<svg width="16" height="15" viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M8.83711 0.630737C8.63317 0.444557 8.31692 0.458954 8.13074 0.662894C7.94456 0.866834 7.95895 1.18309 8.16289 1.36927L14.3307 7H0.5C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H14.3279L8.16289 13.6281C7.95895 13.8143 7.94456 14.1305 8.13074 14.3345C8.31692 14.5384 8.63317 14.5528 8.83711 14.3666L15.7535 8.05258C15.8934 7.92482 15.9732 7.75728 15.993 7.58414C15.9976 7.55678 16 7.52867 16 7.5C16 7.47313 15.9979 7.44675 15.9938 7.42103C15.9756 7.24512 15.8955 7.07446 15.7535 6.94478L8.83711 0.630737Z" fill="#212121"/>\n <\/svg>';n.downIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z" fill="#212121"/>\n <\/svg>';n.rightIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M7.64582 4.14708C7.84073 3.95147 8.15731 3.9509 8.35292 4.14582L13.8374 9.6108C14.0531 9.82574 14.0531 10.1751 13.8374 10.39L8.35292 15.855C8.15731 16.0499 7.84073 16.0493 7.64582 15.8537C7.4509 15.6581 7.45147 15.3415 7.64708 15.1466L12.8117 10.0004L7.64708 4.85418C7.45147 4.65927 7.4509 4.34269 7.64582 4.14708Z" fill="#212121"/>\n <\/svg>';n.leftIcon='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M15.5303 4.21967C15.8232 4.51256 15.8232 4.98744 15.5303 5.28033L8.81066 12L15.5303 18.7197C15.8232 19.0126 15.8232 19.4874 15.5303 19.7803C15.2374 20.0732 14.7626 20.0732 14.4697 19.7803L7.21967 12.5303C6.92678 12.2374 6.92678 11.7626 7.21967 11.4697L14.4697 4.21967C14.7626 3.92678 15.2374 3.92678 15.5303 4.21967Z" fill="#616161"/>\n <\/svg>';n.warningSVG='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2ZM10 12.5C9.58579 12.5 9.25 12.8358 9.25 13.25C9.25 13.6642 9.58579 14 10 14C10.4142 14 10.75 13.6642 10.75 13.25C10.75 12.8358 10.4142 12.5 10 12.5ZM10 6C9.75454 6 9.55039 6.17688 9.50806 6.41012L9.5 6.5V11L9.50806 11.0899C9.55039 11.3231 9.75454 11.5 10 11.5C10.2455 11.5 10.4496 11.3231 10.4919 11.0899L10.5 11V6.5L10.4919 6.41012C10.4496 6.17688 10.2455 6 10 6Z" fill="#C42B1C"/>\n <\/svg>';n.closeIcon='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M2.58859 2.71569L2.64645 2.64645C2.82001 2.47288 3.08944 2.4536 3.28431 2.58859L3.35355 2.64645L8 7.293L12.6464 2.64645C12.8417 2.45118 13.1583 2.45118 13.3536 2.64645C13.5488 2.84171 13.5488 3.15829 13.3536 3.35355L8.707 8L13.3536 12.6464C13.5271 12.82 13.5464 13.0894 13.4114 13.2843L13.3536 13.3536C13.18 13.5271 12.9106 13.5464 12.7157 13.4114L12.6464 13.3536L8 8.707L3.35355 13.3536C3.15829 13.5488 2.84171 13.5488 2.64645 13.3536C2.45118 13.1583 2.45118 12.8417 2.64645 12.6464L7.293 8L2.64645 3.35355C2.47288 3.17999 2.4536 2.91056 2.58859 2.71569L2.64645 2.64645L2.58859 2.71569Z" fill="black" fill-opacity="0.898039"/>\n <\/svg>';n.adjustIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M14.95 5C14.7184 3.85888 13.7095 3 12.5 3C11.2905 3 10.2816 3.85888 10.05 5H2.5C2.22386 5 2 5.22386 2 5.5C2 5.77614 2.22386 6 2.5 6H10.05C10.2816 7.14112 11.2905 8 12.5 8C13.7297 8 14.752 7.11217 14.961 5.94254C14.9575 5.96177 14.9539 5.98093 14.95 6H17.5C17.7761 6 18 5.77614 18 5.5C18 5.22386 17.7761 5 17.5 5H14.95ZM12.5 7C11.6716 7 11 6.32843 11 5.5C11 4.67157 11.6716 4 12.5 4C13.3284 4 14 4.67157 14 5.5C14 6.32843 13.3284 7 12.5 7ZM9.94999 14C9.71836 12.8589 8.70948 12 7.5 12C6.29052 12 5.28164 12.8589 5.05001 14H2.5C2.22386 14 2 14.2239 2 14.5C2 14.7761 2.22386 15 2.5 15H5.05001C5.28164 16.1411 6.29052 17 7.5 17C8.70948 17 9.71836 16.1411 9.94999 15H17.5C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14H9.94999ZM7.5 16C6.67157 16 6 15.3284 6 14.5C6 13.6716 6.67157 13 7.5 13C8.32843 13 9 13.6716 9 14.5C9 15.3284 8.32843 16 7.5 16Z" fill="black" fill-opacity="0.898039"/>\n <\/svg>';n.checkmarkIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M15.8639 5.65609C16.0533 5.85704 16.0439 6.17348 15.8429 6.36288L7.91309 13.8368C7.67573 14.0605 7.30311 14.0536 7.07417 13.8213L4.39384 11.1009C4.20003 10.9042 4.20237 10.5877 4.39907 10.3938C4.59578 10.2 4.91235 10.2024 5.10616 10.3991L7.51192 12.8407L15.1571 5.63517C15.358 5.44577 15.6745 5.45513 15.8639 5.65609Z" fill="white"/>\n <\/svg>';n.arrowLeftUp='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M3.14645 8.85355C2.95118 8.65829 2.95118 8.34171 3.14645 8.14645L7.14645 4.14645C7.34171 3.95118 7.65829 3.95118 7.85355 4.14645L11.8536 8.14645C12.0488 8.34171 12.0488 8.65829 11.8536 8.85355C11.6583 9.04882 11.3417 9.04882 11.1464 8.85355L8 5.70711V12C8 13.1046 8.89543 14 10 14L16.5 14C16.7761 14 17 14.2239 17 14.5C17 14.7761 16.7761 15 16.5 15L10 15C8.34315 15 7 13.6569 7 12L7 5.70711L3.85355 8.85355C3.65829 9.04882 3.34171 9.04882 3.14645 8.85355Z" fill="white" />\n <\/svg>';n.mobileCheckmarkIcon='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M8.5 16.5858L4.70711 12.7929C4.31658 12.4024 3.68342 12.4024 3.29289 12.7929C2.90237 13.1834 2.90237 13.8166 3.29289 14.2071L7.79289 18.7071C8.18342 19.0976 8.81658 19.0976 9.20711 18.7071L20.2071 7.70711C20.5976 7.31658 20.5976 6.68342 20.2071 6.29289C19.8166 5.90237 19.1834 5.90237 18.7929 6.29289L8.5 16.5858Z" fill="#212121" />\n <\/svg>';n.plusIcon='<svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M6 0.5C6 0.223858 5.77614 0 5.5 0C5.22386 0 5 0.223858 5 0.5V5H0.5C0.223858 5 0 5.22386 0 5.5C0 5.77614 0.223858 6 0.5 6H5V10.5C5 10.7761 5.22386 11 5.5 11C5.77614 11 6 10.7761 6 10.5V6H10.5C10.7761 6 11 5.77614 11 5.5C11 5.22386 10.7761 5 10.5 5H6V0.5Z" fill="#174AE4"/>\n <\/svg>';n.penSVG='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M15.1813 0.926893C14.0291 -0.284951 12.1047 -0.309226 10.9222 0.873168L1.54741 10.2475C1.21958 10.5754 0.992038 10.9899 0.891482 11.4424L0.0138652 15.3923C-0.0232157 15.5592 0.0275431 15.7335 0.148442 15.8544C0.26934 15.9753 0.443618 16.026 0.610502 15.9889L4.53689 15.1157C5.00432 15.0118 5.43243 14.7767 5.77103 14.4381L15.129 5.08003C16.27 3.939 16.2933 2.09631 15.1813 0.926893ZM11.6293 1.58029C12.4143 0.795384 13.6917 0.811498 14.4566 1.61596C15.1948 2.39225 15.1793 3.61548 14.4219 4.37293L13.7507 5.04418L10.958 2.25155L11.6293 1.58029ZM10.2509 2.95864L13.0436 5.7513L5.06391 13.731C4.85976 13.9352 4.60164 14.0769 4.31982 14.1396L1.1605 14.8421L1.86768 11.6593C1.92698 11.3924 2.06117 11.148 2.2545 10.9547L10.2509 2.95864Z" fill="white"/>\n <\/svg>';n.sheetThreeLines='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.5 6C6.22386 6 6 6.22386 6 6.5C6 6.77614 6.22386 7 6.5 7H13.5C13.7761 7 14 6.77614 14 6.5C14 6.22386 13.7761 6 13.5 6H6.5ZM6 9.5C6 9.22386 6.22386 9 6.5 9H10.5C10.7761 9 11 9.22386 11 9.5C11 9.77614 10.7761 10 10.5 10H6.5C6.22386 10 6 9.77614 6 9.5ZM6.5 12C6.22386 12 6 12.2239 6 12.5C6 12.7761 6.22386 13 6.5 13H13.5C13.7761 13 14 12.7761 14 12.5C14 12.2239 13.7761 12 13.5 12H6.5ZM17 5.5C17 4.11929 15.8807 3 14.5 3H5.5C4.11929 3 3 4.11929 3 5.5V14.5C3 15.8807 4.11929 17 5.5 17H14.5C15.8807 17 17 15.8807 17 14.5V5.5ZM5.5 4H14.5C15.3284 4 16 4.67157 16 5.5V14.5C16 15.3284 15.3284 16 14.5 16H5.5C4.67157 16 4 15.3284 4 14.5V5.5C4 4.67157 4.67157 4 5.5 4Z" fill="black" fill-opacity="0.898039"/>\n <\/svg>';n.sheetFourLinesNoOutline='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M2.5 5C2.22386 5 2 5.22386 2 5.5C2 5.77614 2.22386 6 2.5 6H17.5C17.7761 6 18 5.77614 18 5.5C18 5.22386 17.7761 5 17.5 5H2.5ZM2.5 8C2.22386 8 2 8.22386 2 8.5C2 8.77614 2.22386 9 2.5 9H17.5C17.7761 9 18 8.77614 18 8.5C18 8.22386 17.7761 8 17.5 8H2.5ZM2 11.5C2 11.2239 2.22386 11 2.5 11H17.5C17.7761 11 18 11.2239 18 11.5C18 11.7761 17.7761 12 17.5 12H2.5C2.22386 12 2 11.7761 2 11.5ZM2.5 14C2.22386 14 2 14.2239 2 14.5C2 14.7761 2.22386 15 2.5 15H12.5C12.7761 15 13 14.7761 13 14.5C13 14.2239 12.7761 14 12.5 14H2.5Z" fill="black" fill-opacity="0.898039"/>\n <\/svg>';n.shareIcon='<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M12.5 6.00151C12.5 4.61996 13.62 3.5 15.0015 3.5C16.3831 3.5 17.503 4.61996 17.503 6.00151C17.503 7.38305 16.3831 8.50302 15.0015 8.50302C14.2015 8.50302 13.4892 8.12749 13.0313 7.5431L8.41501 9.85127C8.47044 10.0582 8.5 10.2756 8.5 10.5C8.5 10.7243 8.47047 10.9417 8.41508 11.1485L13.0327 13.4573C13.4903 12.8744 14.2014 12.5 15 12.5C16.3807 12.5 17.5 13.6193 17.5 15C17.5 16.3807 16.3807 17.5 15 17.5C13.6193 17.5 12.5 16.3807 12.5 15C12.5 14.7757 12.5295 14.5583 12.5849 14.3514L7.96742 12.0427C7.50973 12.6256 6.79859 13 6 13C4.61929 13 3.5 11.8807 3.5 10.5C3.5 9.11929 4.61929 8 6 8C6.79849 8 7.50955 8.37435 7.96725 8.95712L12.5845 6.6485C12.5294 6.44213 12.5 6.22525 12.5 6.00151ZM15.0015 4.5C14.1722 4.5 13.5 5.17225 13.5 6.00151C13.5 6.83077 14.1722 7.50302 15.0015 7.50302C15.8308 7.50302 16.503 6.83077 16.503 6.00151C16.503 5.17225 15.8308 4.5 15.0015 4.5ZM15 13.5C14.1716 13.5 13.5 14.1716 13.5 15C13.5 15.8284 14.1716 16.5 15 16.5C15.8284 16.5 16.5 15.8284 16.5 15C16.5 14.1716 15.8284 13.5 15 13.5ZM4.5 10.5C4.5 11.3284 5.17157 12 6 12C6.82843 12 7.5 11.3284 7.5 10.5C7.5 9.67157 6.82843 9 6 9C5.17157 9 4.5 9.67157 4.5 10.5Z" fill="white"/>\n <\/svg>';n.protectedDataIcon='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">\n <path d="M7.64728 2.14638C7.84268 1.95105 8.15946 1.95123 8.35464 2.14678C9.5947 3.38913 10.9689 4 12.5 4C12.7761 4 13 4.22386 13 4.5V5.59971C12.6832 5.43777 12.3486 5.30564 12 5.20703V4.98121C10.5195 4.86895 9.18521 4.25528 8.00042 3.18917C6.81393 4.25491 5.47941 4.86879 4 4.98118V7.50126C4 8.93206 4.36125 10.061 5.01735 10.9401C5.06968 11.601 5.23884 12.229 5.50418 12.8035C3.84481 11.5888 3 9.81023 3 7.50126V4.5C3 4.22386 3.22386 4 3.5 4C5.02923 4 6.40416 3.38902 7.64728 2.14638ZM15 10.5C15 12.9853 12.9853 15 10.5 15C8.01472 15 6 12.9853 6 10.5C6 8.01472 8.01472 6 10.5 6C12.9853 6 15 8.01472 15 10.5ZM12.8536 8.64645C12.6583 8.45118 12.3417 8.45118 12.1464 8.64645L9.5 11.2929L8.85355 10.6464C8.65829 10.4512 8.34171 10.4512 8.14645 10.6464C7.95118 10.8417 7.95118 11.1583 8.14645 11.3536L9.14645 12.3536C9.34171 12.5488 9.65829 12.5488 9.85355 12.3536L12.8536 9.35355C13.0488 9.15829 13.0488 8.84171 12.8536 8.64645Z"/>\n <\/svg>';n.headerProtectedDataIcon='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">\n <path d="M9.72265 2.08397C9.8906 1.97201 10.1094 1.97201 10.2774 2.08397C12.2155 3.3761 14.3117 4.1823 16.5707 4.50503C16.817 4.54021 17 4.75117 17 5V9.5C17 9.53323 16.9998 9.56638 16.9995 9.59945C16.2496 9.21618 15.4 9 14.5 9C11.4624 9 9 11.4624 9 14.5C9 15.8073 9.45611 17.0081 10.2179 17.9519L10.1795 17.9667C10.064 18.0111 9.93604 18.0111 9.82051 17.9667C5.30699 16.2307 3 13.3913 3 9.5V5C3 4.75117 3.18297 4.54021 3.42929 4.50503C5.68833 4.1823 7.78446 3.3761 9.72265 2.08397ZM19 14.5C19 12.0147 16.9853 10 14.5 10C12.0147 10 10 12.0147 10 14.5C10 16.9853 12.0147 19 14.5 19C16.9853 19 19 16.9853 19 14.5ZM16.8536 12.6464C17.0488 12.8417 17.0488 13.1583 16.8536 13.3536L13.8536 16.3536C13.6583 16.5488 13.3417 16.5488 13.1464 16.3536L12.1464 15.3536C11.9512 15.1583 11.9512 14.8417 12.1464 14.6464C12.3417 14.4512 12.6583 14.4512 12.8536 14.6464L13.5 15.2929L16.1464 12.6464C16.3417 12.4512 16.6583 12.4512 16.8536 12.6464Z"/>\n <\/svg>';n.wordIcon='<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M18.5 6V3C18.5 2.73478 18.3946 2.48043 18.2071 2.29289C18.0196 2.10536 17.7652 2 17.5 2H6.5C6.23478 2 5.98043 2.10536 5.79289 2.29289C5.60536 2.48043 5.5 2.73478 5.5 3V6L12 7.38L18.5 6Z" fill="#41A5EE"/>\n <path d="M18.5 6H5.5V10L12 11.17L18.5 10V6Z" fill="#2B7CD3"/>\n <path d="M18.5 10H5.5V14L12 15L18.5 14V10Z" fill="#185ABD"/>\n <path d="M5.5 14V17C5.5 17.2652 5.60536 17.5196 5.79289 17.7071C5.98043 17.8946 6.23478 18 6.5 18H17.5C17.7652 18 18.0196 17.8946 18.2071 17.7071C18.3946 17.5196 18.5 17.2652 18.5 17V14H5.5Z" fill="#103F91"/>\n <path opacity="0.5" d="M12.5 6H5.5V16H11.5C12.0304 16 12.5391 15.7893 12.9142 15.4142C13.2893 15.0391 13.5 14.5304 13.5 14V7C13.5 6.73478 13.3946 6.48043 13.2071 6.29289C13.0196 6.10536 12.7652 6 12.5 6Z" fill="black"/>\n <path d="M11.5 5H3.5C2.94772 5 2.5 5.44772 2.5 6V14C2.5 14.5523 2.94772 15 3.5 15H11.5C12.0523 15 12.5 14.5523 12.5 14V6C12.5 5.44772 12.0523 5 11.5 5Z" fill="#185ABD"/>\n <path d="M5.84988 11.54C5.85825 11.6632 5.85825 11.7868 5.84988 11.91C5.84282 11.7901 5.84282 11.6699 5.84988 11.55C5.84988 11.41 5.86988 11.29 5.90988 11.19L6.82988 7H8.10988L9.04988 11.12C9.10728 11.377 9.14737 11.6376 9.16988 11.9C9.16988 11.69 9.21988 11.43 9.26988 11.15L10.0299 7H11.0999L9.77988 13H8.57988L7.66988 9C7.66988 8.89 7.66988 8.74 7.58988 8.56C7.50988 8.38 7.52988 8.24 7.51988 8.16C7.51988 8.25 7.51988 8.4 7.45988 8.59C7.39988 8.78 7.39988 8.93 7.37988 9.02L6.53988 13.02H5.20988L3.87988 7.02H4.96988L5.79988 11.22C5.80988 11.28 5.82988 11.4 5.84988 11.54Z" fill="white"/>\n <\/svg>';n.sparksIcon='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <path d="M5.7769 10.9783C5.93979 11.0936 6.13461 11.1552 6.33419 11.1545V11.1519C6.52239 11.1523 6.70653 11.0974 6.8638 10.9941C7.02107 10.8907 7.14453 10.7434 7.21887 10.5705L7.62753 9.32788C7.72193 9.04634 7.88047 8.79068 8.09073 8.58101C8.30093 8.37134 8.55707 8.21348 8.83887 8.11988L10.0242 7.73454C10.2151 7.66748 10.3801 7.54188 10.4955 7.37561C10.6109 7.20941 10.671 7.01101 10.6671 6.80867C10.6633 6.60634 10.5957 6.41036 10.4741 6.24863C10.3524 6.0869 10.1829 5.96766 9.98953 5.90787L8.81953 5.52787C8.53653 5.4337 8.27933 5.27481 8.06847 5.06383C7.8576 4.85286 7.69887 4.59561 7.60487 4.31254L7.21953 3.12787C7.15233 2.93918 7.028 2.77612 6.86387 2.66133C6.69973 2.54654 6.50393 2.48572 6.30365 2.48734C6.10336 2.48895 5.90855 2.55291 5.74628 2.67033C5.58401 2.78775 5.46235 2.9528 5.39819 3.14254L5.00953 4.3372C4.91581 4.61204 4.7609 4.86202 4.55649 5.06828C4.35209 5.27453 4.10352 5.43168 3.82953 5.52787L2.64486 5.90854C2.50395 5.95782 2.37642 6.0392 2.27237 6.14626C2.16831 6.2533 2.09058 6.38309 2.04532 6.52535C2.00005 6.66761 1.98849 6.81844 2.01155 6.96594C2.03462 7.11344 2.09167 7.25354 2.17819 7.37521C2.29612 7.54121 2.46339 7.66574 2.65619 7.73121L3.82553 8.11054C4.10928 8.20548 4.36699 8.36528 4.57819 8.57721C4.63491 8.63348 4.68791 8.69341 4.73686 8.75654C4.86965 8.92841 4.97222 9.12161 5.04019 9.32788L5.42553 10.5112C5.49117 10.6997 5.61401 10.8629 5.7769 10.9783ZM10.888 14.3432C10.761 14.2527 10.6654 14.1247 10.6147 13.9772L10.396 13.3059C10.3535 13.1782 10.2821 13.0621 10.1873 12.9665C10.0923 12.8713 9.97633 12.7995 9.84867 12.7572L9.188 12.5419C9.0344 12.4903 8.90107 12.3913 8.80733 12.2592C8.7158 12.131 8.6668 11.9773 8.66733 11.8199C8.66753 11.6613 8.71713 11.5069 8.80933 11.3779C8.9008 11.2482 9.03107 11.1509 9.18133 11.0999L9.852 10.8825C9.97667 10.8383 10.0895 10.7661 10.182 10.6714C10.2745 10.5767 10.344 10.4622 10.3853 10.3365L10.6013 9.67521C10.6521 9.52574 10.7481 9.39568 10.8761 9.30314C11.0039 9.21054 11.1575 9.16001 11.3153 9.15848C11.4733 9.15694 11.6277 9.20448 11.7574 9.29454C11.8871 9.38461 11.9856 9.51274 12.0393 9.66121L12.2587 10.3372C12.3016 10.4639 12.3733 10.579 12.4681 10.6733C12.563 10.7677 12.6784 10.8389 12.8053 10.8812L13.4667 11.0965C13.6191 11.1442 13.7527 11.2387 13.8485 11.3665C13.9442 11.4943 13.9973 11.6491 14.0001 11.8088C14.003 11.9685 13.9555 12.1251 13.8645 12.2563C13.7734 12.3875 13.6433 12.4867 13.4927 12.5399L12.8167 12.7592C12.6899 12.8024 12.5748 12.874 12.48 12.9685C12.3851 13.0637 12.3137 13.1797 12.2713 13.3072L12.0567 13.9665C12.005 14.1201 11.9057 14.2532 11.7733 14.3465C11.6453 14.4385 11.4917 14.488 11.334 14.4879C11.1738 14.4879 11.0177 14.4372 10.888 14.3432Z" fill="white"/>\n <\/svg>\n ';n.blueSparksIcon=function(n){return'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <path d="M13.5353 17.8278C13.6713 17.924 13.8337 17.9757 14.0003 17.9758C14.1654 17.9759 14.3264 17.9249 14.4613 17.8298C14.6008 17.7313 14.7058 17.5914 14.7613 17.4298L15.0093 16.6678C15.0625 16.5094 15.1515 16.3653 15.2693 16.2468C15.3867 16.1283 15.5307 16.0395 15.6893 15.9878L16.4613 15.7358C16.619 15.6813 16.7557 15.5789 16.8523 15.4428C16.9257 15.3398 16.9736 15.2209 16.9921 15.0958C17.0106 14.9707 16.9992 14.843 16.9588 14.7232C16.9184 14.6033 16.8501 14.4948 16.7597 14.4064C16.6692 14.318 16.5591 14.2524 16.4383 14.2148L15.6743 13.9658C15.5162 13.9133 15.3724 13.8246 15.2544 13.707C15.1364 13.5893 15.0473 13.4458 14.9943 13.2878L14.7423 12.5148C14.6886 12.357 14.586 12.2204 14.4493 12.1248C14.3473 12.0519 14.2295 12.0039 14.1056 11.9849C13.9816 11.9658 13.8549 11.9762 13.7357 12.0151C13.6164 12.054 13.508 12.1205 13.4192 12.209C13.3304 12.2975 13.2636 12.4057 13.2243 12.5248L12.9773 13.2868C12.925 13.4445 12.8375 13.5881 12.7213 13.7068C12.6066 13.8233 12.4667 13.9119 12.3123 13.9658L11.5393 14.2178C11.3803 14.2717 11.2422 14.3743 11.1447 14.5111C11.0472 14.6478 10.9952 14.8118 10.9961 14.9797C10.997 15.1477 11.0507 15.3111 11.1496 15.4468C11.2486 15.5825 11.3877 15.6836 11.5473 15.7358L12.3103 15.9828C12.4692 16.0362 12.6136 16.1255 12.7323 16.2438C12.8505 16.3621 12.939 16.5067 12.9903 16.6658L13.2433 17.4398C13.2981 17.5963 13.4001 17.7319 13.5353 17.8278Z" fill="url(#paint0_linear_{id})"/>\n <path d="M13.5353 17.8278C13.6713 17.924 13.8337 17.9757 14.0003 17.9758C14.1654 17.9759 14.3264 17.9249 14.4613 17.8298C14.6008 17.7313 14.7058 17.5914 14.7613 17.4298L15.0093 16.6678C15.0625 16.5094 15.1515 16.3653 15.2693 16.2468C15.3867 16.1283 15.5307 16.0395 15.6893 15.9878L16.4613 15.7358C16.619 15.6813 16.7557 15.5789 16.8523 15.4428C16.9257 15.3398 16.9736 15.2209 16.9921 15.0958C17.0106 14.9707 16.9992 14.843 16.9588 14.7232C16.9184 14.6033 16.8501 14.4948 16.7597 14.4064C16.6692 14.318 16.5591 14.2524 16.4383 14.2148L15.6743 13.9658C15.5162 13.9133 15.3724 13.8246 15.2544 13.707C15.1364 13.5893 15.0473 13.4458 14.9943 13.2878L14.7423 12.5148C14.6886 12.357 14.586 12.2204 14.4493 12.1248C14.3473 12.0519 14.2295 12.0039 14.1056 11.9849C13.9816 11.9658 13.8549 11.9762 13.7357 12.0151C13.6164 12.054 13.508 12.1205 13.4192 12.209C13.3304 12.2975 13.2636 12.4057 13.2243 12.5248L12.9773 13.2868C12.925 13.4445 12.8375 13.5881 12.7213 13.7068C12.6066 13.8233 12.4667 13.9119 12.3123 13.9658L11.5393 14.2178C11.3803 14.2717 11.2422 14.3743 11.1447 14.5111C11.0472 14.6478 10.9952 14.8118 10.9961 14.9797C10.997 15.1477 11.0507 15.3111 11.1496 15.4468C11.2486 15.5825 11.3877 15.6836 11.5473 15.7358L12.3103 15.9828C12.4692 16.0362 12.6136 16.1255 12.7323 16.2438C12.8505 16.3621 12.939 16.5067 12.9903 16.6658L13.2433 17.4398C13.2981 17.5963 13.4001 17.7319 13.5353 17.8278Z" fill="url(#paint1_radial_{id})" fill-opacity="0.5"/>\n <path d="M13.5353 17.8278C13.6713 17.924 13.8337 17.9757 14.0003 17.9758C14.1654 17.9759 14.3264 17.9249 14.4613 17.8298C14.6008 17.7313 14.7058 17.5914 14.7613 17.4298L15.0093 16.6678C15.0625 16.5094 15.1515 16.3653 15.2693 16.2468C15.3867 16.1283 15.5307 16.0395 15.6893 15.9878L16.4613 15.7358C16.619 15.6813 16.7557 15.5789 16.8523 15.4428C16.9257 15.3398 16.9736 15.2209 16.9921 15.0958C17.0106 14.9707 16.9992 14.843 16.9588 14.7232C16.9184 14.6033 16.8501 14.4948 16.7597 14.4064C16.6692 14.318 16.5591 14.2524 16.4383 14.2148L15.6743 13.9658C15.5162 13.9133 15.3724 13.8246 15.2544 13.707C15.1364 13.5893 15.0473 13.4458 14.9943 13.2878L14.7423 12.5148C14.6886 12.357 14.586 12.2204 14.4493 12.1248C14.3473 12.0519 14.2295 12.0039 14.1056 11.9849C13.9816 11.9658 13.8549 11.9762 13.7357 12.0151C13.6164 12.054 13.508 12.1205 13.4192 12.209C13.3304 12.2975 13.2636 12.4057 13.2243 12.5248L12.9773 13.2868C12.925 13.4445 12.8375 13.5881 12.7213 13.7068C12.6066 13.8233 12.4667 13.9119 12.3123 13.9658L11.5393 14.2178C11.3803 14.2717 11.2422 14.3743 11.1447 14.5111C11.0472 14.6478 10.9952 14.8118 10.9961 14.9797C10.997 15.1477 11.0507 15.3111 11.1496 15.4468C11.2486 15.5825 11.3877 15.6836 11.5473 15.7358L12.3103 15.9828C12.4692 16.0362 12.6136 16.1255 12.7323 16.2438C12.8505 16.3621 12.939 16.5067 12.9903 16.6658L13.2433 17.4398C13.2981 17.5963 13.4001 17.7319 13.5353 17.8278Z" fill="url(#paint2_radial_{id})"/>\n <path d="M7.39804 13.7854C7.57428 13.9097 7.78476 13.9762 8.00043 13.9759C8.21633 13.976 8.42686 13.9085 8.60243 13.7829C8.77993 13.6524 8.91464 13.4721 8.98943 13.2649L9.43643 11.8919C9.55086 11.5476 9.74391 11.2347 10.0003 10.9779C10.2566 10.7212 10.5693 10.5278 10.9134 10.4129L12.3044 9.96186C12.4564 9.90751 12.5936 9.81871 12.7055 9.70242C12.8174 9.58613 12.9008 9.44552 12.9492 9.2916C12.9977 9.13767 13.0098 8.97463 12.9847 8.81523C12.9596 8.65584 12.8979 8.50443 12.8044 8.37286C12.6703 8.18694 12.4794 8.0497 12.2604 7.98186L10.8854 7.53486C10.5409 7.42064 10.2278 7.22767 9.97087 6.97128C9.71396 6.71489 9.52035 6.40214 9.40543 6.05786L8.95343 4.66986C8.88113 4.46756 8.74761 4.2928 8.57143 4.16986C8.43877 4.07614 8.28607 4.01466 8.12548 3.99031C7.96489 3.96596 7.80083 3.97942 7.64636 4.02962C7.49188 4.07982 7.35125 4.16537 7.23564 4.27947C7.12004 4.39356 7.03265 4.53306 6.98043 4.68686L6.52343 6.08686C6.40884 6.42169 6.21967 6.7261 5.97022 6.97712C5.72076 7.22813 5.41753 7.41919 5.08343 7.53586L3.69243 7.98386C3.54065 8.03826 3.40352 8.12704 3.29177 8.24325C3.18001 8.35947 3.09666 8.49996 3.04824 8.65375C2.99982 8.80754 2.98764 8.97044 3.01265 9.12972C3.03767 9.28899 3.0992 9.44032 3.19243 9.57186C3.32027 9.75132 3.50105 9.88628 3.70943 9.95786L5.08343 10.4029C5.52354 10.5493 5.90999 10.8237 6.19343 11.1909C6.35585 11.4015 6.4813 11.6382 6.56443 11.8909L7.01643 13.2819C7.08846 13.4852 7.22179 13.6611 7.39804 13.7854Z" fill="url(#paint3_linear_{id})"/>\n <path d="M7.39804 13.7854C7.57428 13.9097 7.78476 13.9762 8.00043 13.9759C8.21633 13.976 8.42686 13.9085 8.60243 13.7829C8.77993 13.6524 8.91464 13.4721 8.98943 13.2649L9.43643 11.8919C9.55086 11.5476 9.74391 11.2347 10.0003 10.9779C10.2566 10.7212 10.5693 10.5278 10.9134 10.4129L12.3044 9.96186C12.4564 9.90751 12.5936 9.81871 12.7055 9.70242C12.8174 9.58613 12.9008 9.44552 12.9492 9.2916C12.9977 9.13767 13.0098 8.97463 12.9847 8.81523C12.9596 8.65584 12.8979 8.50443 12.8044 8.37286C12.6703 8.18694 12.4794 8.0497 12.2604 7.98186L10.8854 7.53486C10.5409 7.42064 10.2278 7.22767 9.97087 6.97128C9.71396 6.71489 9.52035 6.40214 9.40543 6.05786L8.95343 4.66986C8.88113 4.46756 8.74761 4.2928 8.57143 4.16986C8.43877 4.07614 8.28607 4.01466 8.12548 3.99031C7.96489 3.96596 7.80083 3.97942 7.64636 4.02962C7.49188 4.07982 7.35125 4.16537 7.23564 4.27947C7.12004 4.39356 7.03265 4.53306 6.98043 4.68686L6.52343 6.08686C6.40884 6.42169 6.21967 6.7261 5.97022 6.97712C5.72076 7.22813 5.41753 7.41919 5.08343 7.53586L3.69243 7.98386C3.54065 8.03826 3.40352 8.12704 3.29177 8.24325C3.18001 8.35947 3.09666 8.49996 3.04824 8.65375C2.99982 8.80754 2.98764 8.97044 3.01265 9.12972C3.03767 9.28899 3.0992 9.44032 3.19243 9.57186C3.32027 9.75132 3.50105 9.88628 3.70943 9.95786L5.08343 10.4029C5.52354 10.5493 5.90999 10.8237 6.19343 11.1909C6.35585 11.4015 6.4813 11.6382 6.56443 11.8909L7.01643 13.2819C7.08846 13.4852 7.22179 13.6611 7.39804 13.7854Z" fill="url(#paint4_radial_{id})" fill-opacity="0.5"/>\n <path d="M7.39804 13.7854C7.57428 13.9097 7.78476 13.9762 8.00043 13.9759C8.21633 13.976 8.42686 13.9085 8.60243 13.7829C8.77993 13.6524 8.91464 13.4721 8.98943 13.2649L9.43643 11.8919C9.55086 11.5476 9.74391 11.2347 10.0003 10.9779C10.2566 10.7212 10.5693 10.5278 10.9134 10.4129L12.3044 9.96186C12.4564 9.90751 12.5936 9.81871 12.7055 9.70242C12.8174 9.58613 12.9008 9.44552 12.9492 9.2916C12.9977 9.13767 13.0098 8.97463 12.9847 8.81523C12.9596 8.65584 12.8979 8.50443 12.8044 8.37286C12.6703 8.18694 12.4794 8.0497 12.2604 7.98186L10.8854 7.53486C10.5409 7.42064 10.2278 7.22767 9.97087 6.97128C9.71396 6.71489 9.52035 6.40214 9.40543 6.05786L8.95343 4.66986C8.88113 4.46756 8.74761 4.2928 8.57143 4.16986C8.43877 4.07614 8.28607 4.01466 8.12548 3.99031C7.96489 3.96596 7.80083 3.97942 7.64636 4.02962C7.49188 4.07982 7.35125 4.16537 7.23564 4.27947C7.12004 4.39356 7.03265 4.53306 6.98043 4.68686L6.52343 6.08686C6.40884 6.42169 6.21967 6.7261 5.97022 6.97712C5.72076 7.22813 5.41753 7.41919 5.08343 7.53586L3.69243 7.98386C3.54065 8.03826 3.40352 8.12704 3.29177 8.24325C3.18001 8.35947 3.09666 8.49996 3.04824 8.65375C2.99982 8.80754 2.98764 8.97044 3.01265 9.12972C3.03767 9.28899 3.0992 9.44032 3.19243 9.57186C3.32027 9.75132 3.50105 9.88628 3.70943 9.95786L5.08343 10.4029C5.52354 10.5493 5.90999 10.8237 6.19343 11.1909C6.35585 11.4015 6.4813 11.6382 6.56443 11.8909L7.01643 13.2819C7.08846 13.4852 7.22179 13.6611 7.39804 13.7854Z" fill="url(#paint5_radial_{id})"/>\n <defs>\n <linearGradient id="paint0_linear_{id}" x1="12.664" y1="13.1423" x2="17.1638" y2="18.3124" gradientUnits="userSpaceOnUse">\n <stop stop-color="#1355F4"/>\n <stop offset="0.491596" stop-color="#47C2FC"/>\n <stop offset="1" stop-color="#4CE7ED"/>\n <\/linearGradient>\n <radialGradient id="paint1_radial_{id}" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.6633 17.4758) rotate(-44.9792) scale(1.88638 2.85775)">\n <stop offset="0.332737" stop-color="#1355F4"/>\n <stop offset="1" stop-color="#1355F4" stop-opacity="0"/>\n <\/radialGradient>\n <radialGradient id="paint2_radial_{id}" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.4965 12.4756) rotate(47.1004) scale(6.37072 10.9431)">\n <stop offset="0.19979" stop-color="#4CE7ED"/>\n <stop offset="0.298929" stop-color="#4CE7ED" stop-opacity="0"/>\n <\/radialGradient>\n <linearGradient id="paint3_linear_{id}" x1="4.97318" y1="5.68859" x2="12.3396" y2="13.3182" gradientUnits="userSpaceOnUse">\n <stop stop-color="#1355F4"/>\n <stop offset="0.736929" stop-color="#47C2FC"/>\n <stop offset="1" stop-color="#4CE7ED"/>\n <\/linearGradient>\n <radialGradient id="paint4_radial_{id}" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(3.39463 13.1866) rotate(-43.6676) scale(4.00077 6.06092)">\n <stop offset="0.332737" stop-color="#1355F4"/>\n <stop offset="1" stop-color="#1355F4" stop-opacity="0"/>\n <\/radialGradient>\n <radialGradient id="paint5_radial_{id}" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(4.71009 5.55704) rotate(44.9998) scale(8.92954 15.3377)">\n <stop offset="0.19979" stop-color="#4CE7ED"/>\n <stop offset="0.298929" stop-color="#4CE7ED" stop-opacity="0"/>\n <\/radialGradient>\n <\/defs>\n <\/svg>'.replace(/{id}/g,n)};n.squareDismissIcon='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">\n <path d="M6.5 4.48828C5.11929 4.48828 4 5.60757 4 6.98828V13.9883C4 15.369 5.11929 16.4883 6.5 16.4883H8.25716C8.00353 16.1812 7.78261 15.8461 7.59971 15.4883H6.5C5.67157 15.4883 5 14.8167 5 13.9883V6.98828C5 6.15985 5.67157 5.48828 6.5 5.48828H13.5C14.3284 5.48828 15 6.15985 15 6.98828V8.08799C15.3578 8.27089 15.6929 8.49182 16 8.74544V6.98828C16 5.60757 14.8807 4.48828 13.5 4.48828H6.5ZM12.5 17.4883C14.9853 17.4883 17 15.4736 17 12.9883C17 10.503 14.9853 8.48828 12.5 8.48828C10.0147 8.48828 8 10.503 8 12.9883C8 15.4736 10.0147 17.4883 12.5 17.4883ZM14.3536 11.1347C14.5488 11.33 14.5488 11.6466 14.3536 11.8418L13.2071 12.9883L14.3536 14.1347C14.5488 14.33 14.5488 14.6466 14.3536 14.8418C14.1583 15.0371 13.8417 15.0371 13.6464 14.8418L12.5 13.6954L11.3536 14.8418C11.1583 15.0371 10.8417 15.0371 10.6464 14.8418C10.4512 14.6466 10.4512 14.33 10.6464 14.1347L11.7929 12.9883L10.6464 11.8418C10.4512 11.6466 10.4512 11.33 10.6464 11.1347C10.8417 10.9395 11.1583 10.9395 11.3536 11.1347L12.5 12.2812L13.6464 11.1347C13.8417 10.9395 14.1583 10.9395 14.3536 11.1347Z" fill="#424242"/>\n <\/svg>\n ';n.deleteIcon='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">\n <path d="M8.5 4H11.5C11.5 3.17157 10.8284 2.5 10 2.5C9.17157 2.5 8.5 3.17157 8.5 4ZM7.5 4C7.5 2.61929 8.61929 1.5 10 1.5C11.3807 1.5 12.5 2.61929 12.5 4H17.5C17.7761 4 18 4.22386 18 4.5C18 4.77614 17.7761 5 17.5 5H16.4456L15.2521 15.3439C15.0774 16.8576 13.7957 18 12.2719 18H7.72813C6.20431 18 4.92256 16.8576 4.7479 15.3439L3.55437 5H2.5C2.22386 5 2 4.77614 2 4.5C2 4.22386 2.22386 4 2.5 4H7.5ZM5.74131 15.2292C5.85775 16.2384 6.71225 17 7.72813 17H12.2719C13.2878 17 14.1422 16.2384 14.2587 15.2292L15.439 5H4.56101L5.74131 15.2292ZM8.5 7.5C8.77614 7.5 9 7.72386 9 8V14C9 14.2761 8.77614 14.5 8.5 14.5C8.22386 14.5 8 14.2761 8 14V8C8 7.72386 8.22386 7.5 8.5 7.5ZM12 8C12 7.72386 11.7761 7.5 11.5 7.5C11.2239 7.5 11 7.72386 11 8V14C11 14.2761 11.2239 14.5 11.5 14.5C11.7761 14.5 12 14.2761 12 14V8Z" fill="#424242"/>\n <\/svg>';n.rightArrowIcon='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">\n <path d="M10.8371 3.13074C10.6332 2.94456 10.3169 2.95895 10.1307 3.16289C9.94456 3.36683 9.95895 3.68309 10.1629 3.86927L16.3307 9.5H2.5C2.22386 9.5 2 9.72386 2 10C2 10.2761 2.22386 10.5 2.5 10.5H16.3279L10.1629 16.1281C9.95895 16.3143 9.94456 16.6305 10.1307 16.8345C10.3169 17.0384 10.6332 17.0528 10.8371 16.8666L17.7535 10.5526C17.8934 10.4248 17.9732 10.2573 17.993 10.0841C17.9976 10.0568 18 10.0287 18 10C18 9.97313 17.9979 9.94675 17.9938 9.92103C17.9756 9.74512 17.8955 9.57446 17.7535 9.44478L10.8371 3.13074Z" fill="#BDBDBD"/>\n <\/svg>';n.paragraphFluentIcon='<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect width="48" height="48" rx="8"/>\n <path d="M14.75 29H27.25C27.6642 29 28 29.3358 28 29.75C28 30.1297 27.7178 30.4435 27.3518 30.4932L27.25 30.5H14.75C14.3358 30.5 14 30.1642 14 29.75C14 29.3703 14.2822 29.0565 14.6482 29.0068L14.75 29H27.25H14.75ZM14.75 25H33.25C33.6642 25 34 25.3358 34 25.75C34 26.1297 33.7178 26.4435 33.3518 26.4932L33.25 26.5H14.75C14.3358 26.5 14 26.1642 14 25.75C14 25.3703 14.2822 25.0565 14.6482 25.0068L14.75 25H33.25H14.75ZM14.75 21H33.25C33.6642 21 34 21.3358 34 21.75C34 22.1297 33.7178 22.4435 33.3518 22.4932L33.25 22.5H14.75C14.3358 22.5 14 22.1642 14 21.75C14 21.3703 14.2822 21.0565 14.6482 21.0068L14.75 21H33.25H14.75ZM14.75 17H33.25C33.6642 17 34 17.3358 34 17.75C34 18.1297 33.7178 18.4435 33.3518 18.4932L33.25 18.5H14.75C14.3358 18.5 14 18.1642 14 17.75C14 17.3703 14.2822 17.0565 14.6482 17.0068L14.75 17H33.25H14.75Z" fill="black" fill-opacity="0.56"/>\n <\/svg>';n.emailFluentIcon='<svg width="48" height = "48" viewBox = "0 0 48 48" fill = "none" xmlns = "http://www.w3.org/2000/svg" >\n <rect width="48" height = "48" rx = "8"/>\n <path d="M17.25 16H30.75C32.483 16 33.8992 17.3565 33.9949 19.0656L34 19.25V28.75C34 30.483 32.6435 31.8992 30.9344 31.9949L30.75 32H17.25C15.517 32 14.1008 30.6435 14.0051 28.9344L14 28.75V19.25C14 17.517 15.3565 16.1008 17.0656 16.0051L17.25 16H30.75H17.25ZM32.5 21.373L24.3493 25.6637C24.1619 25.7623 23.9431 25.7764 23.7468 25.706L23.6507 25.6637L15.5 21.374V28.75C15.5 29.6682 16.2071 30.4212 17.1065 30.4942L17.25 30.5H30.75C31.6682 30.5 32.4212 29.7929 32.4942 28.8935L32.5 28.75V21.373ZM30.75 17.5H17.25C16.3318 17.5 15.5788 18.2071 15.5058 19.1065L15.5 19.25V19.679L24 24.1525L32.5 19.678V19.25C32.5 18.3318 31.7929 17.5788 30.8935 17.5058L30.75 17.5Z" fill = "black" fill - opacity="0.56" />\n <\/svg>';n.blogPostFluentIcon='<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect width="48" height="48" rx="8"/>\n <path d="M15 18.25C15 16.4551 16.4551 15 18.25 15H29.75C31.5449 15 33 16.4551 33 18.25V29.75C33 31.5449 31.5449 33 29.75 33H18.25C16.4551 33 15 31.5449 15 29.75V18.25ZM18.25 16.5C17.2835 16.5 16.5 17.2835 16.5 18.25V29.75C16.5 30.7165 17.2835 31.5 18.25 31.5H29.75C30.7165 31.5 31.5 30.7165 31.5 29.75V18.25C31.5 17.2835 30.7165 16.5 29.75 16.5H18.25ZM18 20.25C18 19.2835 18.7835 18.5 19.75 18.5H28.25C29.2165 18.5 30 19.2835 30 20.25V21.75C30 22.7165 29.2165 23.5 28.25 23.5H19.75C18.7835 23.5 18 22.7165 18 21.75V20.25ZM19.75 20C19.6119 20 19.5 20.1119 19.5 20.25V21.75C19.5 21.8881 19.6119 22 19.75 22H28.25C28.3881 22 28.5 21.8881 28.5 21.75V20.25C28.5 20.1119 28.3881 20 28.25 20H19.75ZM18.75 25C18.3358 25 18 25.3358 18 25.75C18 26.1642 18.3358 26.5 18.75 26.5H23.25C23.6642 26.5 24 26.1642 24 25.75C24 25.3358 23.6642 25 23.25 25H18.75ZM18 28.75C18 28.3358 18.3358 28 18.75 28H23.25C23.6642 28 24 28.3358 24 28.75C24 29.1642 23.6642 29.5 23.25 29.5H18.75C18.3358 29.5 18 29.1642 18 28.75ZM27.25 25C26.2835 25 25.5 25.7835 25.5 26.75V27.75C25.5 28.7165 26.2835 29.5 27.25 29.5H28.25C29.2165 29.5 30 28.7165 30 27.75V26.75C30 25.7835 29.2165 25 28.25 25H27.25ZM27 26.75C27 26.6119 27.1119 26.5 27.25 26.5H28.25C28.3881 26.5 28.5 26.6119 28.5 26.75V27.75C28.5 27.8881 28.3881 28 28.25 28H27.25C27.1119 28 27 27.8881 27 27.75V26.75Z" fill="black" fill-opacity="0.56"/>\n <\/svg>';n.bulletPointsFluentIcon='<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect width="48" height="48" rx="8"/>\n <path d="M15.2493 29.5C15.9393 29.5 16.4986 30.0593 16.4986 30.7493C16.4986 31.4393 15.9393 31.9986 15.2493 31.9986C14.5593 31.9986 14 31.4393 14 30.7493C14 30.0593 14.5593 29.5 15.2493 29.5ZM18.75 30H33.25C33.6642 30 34 30.3358 34 30.75C34 31.1297 33.7178 31.4435 33.3518 31.4932L33.25 31.5H18.75C18.3358 31.5 18 31.1642 18 30.75C18 30.3703 18.2822 30.0565 18.6482 30.0068L18.75 30H33.25H18.75ZM15.2493 23C15.9393 23 16.4986 23.5593 16.4986 24.2493C16.4986 24.9393 15.9393 25.4986 15.2493 25.4986C14.5593 25.4986 14 24.9393 14 24.2493C14 23.5593 14.5593 23 15.2493 23ZM18.75 23.5H33.25C33.6642 23.5 34 23.8358 34 24.25C34 24.6297 33.7178 24.9435 33.3518 24.9932L33.25 25H18.75C18.3358 25 18 24.6642 18 24.25C18 23.8703 18.2822 23.5565 18.6482 23.5068L18.75 23.5H33.25H18.75ZM15.2493 16.5C15.9393 16.5 16.4986 17.0593 16.4986 17.7493C16.4986 18.4393 15.9393 18.9986 15.2493 18.9986C14.5593 18.9986 14 18.4393 14 17.7493C14 17.0593 14.5593 16.5 15.2493 16.5ZM18.75 17H33.25C33.6642 17 34 17.3358 34 17.75C34 18.1297 33.7178 18.4435 33.3518 18.4932L33.25 18.5H18.75C18.3358 18.5 18 18.1642 18 17.75C18 17.3703 18.2822 17.0565 18.6482 17.0068L18.75 17H33.25H18.75Z" fill="black" fill-opacity="0.56"/>\n <\/svg>';n.reportFluentIcon='<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect width="48" height="48" rx="8"/>\n <path d="M18.5283 19.75C18.5283 20.1642 18.1925 20.5 17.7783 20.5C17.3641 20.5 17.0283 20.1642 17.0283 19.75C17.0283 19.3358 17.3641 19 17.7783 19C18.1925 19 18.5283 19.3358 18.5283 19.75ZM17.7812 27C17.367 27 17.0312 27.3358 17.0312 27.75C17.0312 28.1642 17.367 28.5 17.7812 28.5H22.7812C23.1955 28.5 23.5312 28.1642 23.5312 27.75C23.5312 27.3358 23.1955 27 22.7812 27H17.7812ZM17.0312 23.75C17.0312 23.3358 17.367 23 17.7812 23H22.7812C23.1955 23 23.5312 23.3358 23.5312 23.75C23.5312 24.1642 23.1955 24.5 22.7812 24.5H17.7812C17.367 24.5 17.0312 24.1642 17.0312 23.75ZM27 33C27.9411 32.9936 28.7494 32.3272 28.9342 31.4032L29.4149 29H32.25C33.2165 29 34 28.2165 34 27.25V21.2612C34 20.0161 32.9937 19.006 31.75 19V18.9961H26.5V17.25C26.5 16.0074 25.4926 15 24.25 15H16.25C15.0074 15 14 16.0074 14 17.25V29.75C14 31.5449 15.4551 33 17.25 33H26.9864L27 33ZM15.5 17.25C15.5 16.8358 15.8358 16.5 16.25 16.5H24.25C24.6642 16.5 25 16.8358 25 17.25V31.0136C25 31.1814 25.0208 31.3444 25.06 31.5H17.25C16.2835 31.5 15.5 30.7165 15.5 29.75V17.25ZM26.5 20.4961H29.6109C29.5737 20.5997 29.5437 20.7071 29.5216 20.8177L27.4633 31.109C27.4179 31.3363 27.2183 31.5 26.9864 31.5C26.7178 31.5 26.5 31.2822 26.5 31.0136V20.4961ZM30.9925 21.1119C31.0636 20.7561 31.376 20.5 31.7388 20.5C32.1592 20.5 32.5 20.8408 32.5 21.2612V27.25C32.5 27.3881 32.3881 27.5 32.25 27.5H29.7149L30.9925 21.1119Z" fill="black" fill-opacity="0.56"/>>\n <\/svg>';n.linkedInPostFluentIcon='<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect width="48" height="48" rx="8"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M33.5 16.5C33.5 15.3954 32.6046 14.5 31.5 14.5H16.5C15.3954 14.5 14.5 15.3954 14.5 16.5V31.5C14.5 32.6046 15.3954 33.5 16.5 33.5H31.5C32.6046 33.5 33.5 32.6046 33.5 31.5V16.5ZM17.2108 21.6661H20.1427V31.0628H17.2108V21.6661ZM27.5981 21.4328C26.2524 21.4328 25.3247 22.1271 24.8975 22.8267L24.8273 22.9501H24.7868V21.666H21.9796V31.0627H24.9042V26.4157C24.9042 25.1896 25.137 24.002 26.6617 24.002C28.1089 24.002 28.1798 25.3013 28.1831 26.3711L28.1832 31.0627H31.112V25.9089L31.1072 25.5143C31.0477 23.1787 30.4082 21.4328 27.5981 21.4328ZM16.9776 18.6879C16.9776 17.7531 17.7363 16.9945 18.6768 16.9945C19.6133 16.9945 20.3751 17.7531 20.3751 18.6879C20.3751 19.6237 19.6133 20.3824 18.6768 20.3824C17.7363 20.3824 16.9776 19.6237 16.9776 18.6879Z" fill="black" fill-opacity="0.56"/>\n <\/svg>';n.summaryFluentIcon='<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect width="48" height="48" rx="8"/>\n <path d="M28.25 23H19.75C19.34 23 19 23.34 19 23.75C19 24.16 19.34 24.5 19.75 24.5H28.25C28.66 24.5 29 24.16 29 23.75C29 23.34 28.66 23 28.25 23ZM28.25 27.5H19.75C19.34 27.5 19 27.84 19 28.25C19 28.66 19.34 29 19.75 29H28.25C28.66 29 29 28.66 29 28.25C29 27.84 28.66 27.5 28.25 27.5ZM19 19.25C19 19.66 19.34 20 19.75 20H27.2L27.11 19.72C27.06 19.58 26.99 19.45 26.9 19.33C26.86 19.28 26.83 19.24 26.79 19.2C26.64 19.05 26.46 18.94 26.27 18.88L25.1 18.5H19.75C19.34 18.5 19 18.84 19 19.25ZM31.8 25.29L31.54 24.5L30.74 24.21C30.65 24.18 30.58 24.13 30.5 24.09V31.75C30.5 32.16 30.16 32.5 29.75 32.5H18.25C17.84 32.5 17.5 32.16 17.5 31.75V16.25C17.5 15.84 17.84 15.5 18.25 15.5H23.78C23.81 15.44 23.83 15.37 23.87 15.31C24.11 14.97 24.45 14.71 24.86 14.57L26.27 14.11C26.34 14.08 26.42 14.04 26.49 14H18.25C17.01 14 16 15.01 16 16.25V31.75C16 32.99 17.01 34 18.25 34H29.75C30.99 34 32 32.99 32 31.75V25.67C31.92 25.55 31.85 25.43 31.8 25.29ZM27.85 18.15C27.93 18.23 28.01 18.32 28.08 18.42C28.28 18.67 28.43 18.96 28.53 19.27L28.98 20.65C29.02 20.76 29.09 20.85 29.18 20.91C29.27 20.98 29.38 21.01 29.49 21.01C29.6 21.01 29.71 20.98 29.8 20.91C29.88 20.85 29.95 20.77 29.99 20.68V20.65L30.45 19.27C30.59 18.85 30.82 18.47 31.14 18.16C31.45 17.85 31.83 17.61 32.25 17.47L33.63 17.02C33.74 16.98 33.83 16.91 33.89 16.82C33.96 16.73 33.99 16.62 33.99 16.51C33.99 16.4 33.96 16.29 33.89 16.2C33.82 16.11 33.73 16.04 33.63 16H33.6L32.22 15.55C31.8 15.41 31.42 15.18 31.11 14.86C30.8 14.55 30.56 14.17 30.42 13.75L29.97 12.37C29.93 12.26 29.86 12.17 29.77 12.11C29.68 12.05 29.57 12.01 29.46 12.01C29.35 12.01 29.24 12.04 29.15 12.11C29.06 12.17 28.99 12.27 28.95 12.37L28.5 13.75V13.78C28.35 14.18 28.12 14.55 27.83 14.85C27.52 15.16 27.15 15.4 26.73 15.54L25.35 15.99C25.24 16.03 25.15 16.1 25.09 16.19C25.02 16.28 24.99 16.39 24.99 16.5C24.99 16.61 25.02 16.72 25.09 16.81C25.15 16.9 25.25 16.97 25.35 17.01L26.73 17.46C27.15 17.6 27.53 17.84 27.84 18.15H27.85ZM35.78 22.22C35.8438 22.22 35.9105 22.2806 35.95 22.33C35.99 22.38 36 22.44 36 22.5C36 22.56 35.99 22.62 35.95 22.67C35.91 22.72 35.86 22.76 35.8 22.78L35.03 23.03C34.8 23.11 34.59 23.24 34.41 23.41C34.24 23.58 34.11 23.79 34.03 24.03L33.78 24.79C33.76 24.85 33.72 24.9 33.67 24.94C33.62 24.98 33.56 25 33.5 25C33.44 25 33.38 24.98 33.33 24.94C33.28 24.9 33.24 24.85 33.22 24.79L32.97 24.03C32.89 23.8 32.76 23.58 32.59 23.41C32.42 23.24 32.2 23.1 31.97 23.03L31.2 22.78C31.14 22.76 31.09 22.72 31.05 22.67C31.01 22.62 30.99 22.56 30.99 22.5C30.99 22.44 31.01 22.38 31.05 22.33C31.09 22.28 31.14 22.24 31.2 22.22L31.97 21.97C32.2 21.89 32.41 21.76 32.58 21.59C32.75 21.42 32.88 21.21 32.95 20.98L33.2 20.22C33.22 20.16 33.26 20.11 33.31 20.07C33.36 20.03 33.42 20.01 33.48 20.01C33.54 20.01 33.6 20.03 33.65 20.07C33.7 20.11 33.74 20.16 33.76 20.22L34.01 20.98C34.09 21.21 34.22 21.42 34.39 21.6C34.56 21.77 34.77 21.9 35.01 21.98L35.78 22.22Z" fill="black" fill-opacity="0.56"/>\n <\/svg>';n.toneFluentIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M14.1582 1.02567C14.4202 1.113 14.5618 1.39616 14.4745 1.65813L13.9745 3.15813C13.8872 3.4201 13.604 3.56168 13.342 3.47436C13.0801 3.38703 12.9385 3.10387 13.0258 2.8419L13.5258 1.3419C13.6131 1.07993 13.8963 0.938348 14.1582 1.02567ZM17.8545 2.85355C18.0498 2.65829 18.0498 2.34171 17.8545 2.14645C17.6593 1.95118 17.3427 1.95118 17.1474 2.14645L15.1474 4.14645C14.9522 4.34171 14.9522 4.65829 15.1474 4.85355C15.3427 5.04882 15.6593 5.04882 15.8545 4.85355L17.8545 2.85355ZM7.60704 3.14546C8.21072 1.87491 9.90269 1.60806 10.8681 2.63114L17.4549 9.61134C18.4032 10.6163 18.0711 12.2572 16.8066 12.8142L12.8695 14.5487C12.9544 14.8507 12.9998 15.1692 12.9998 15.4983C12.9998 17.4313 11.4328 18.9983 9.49984 18.9983C8.24407 18.9983 7.14276 18.337 6.52522 17.3436L5.3246 17.8725C4.76043 18.1211 4.10165 17.9991 3.66384 17.5651L2.44207 16.3539C1.9897 15.9055 1.86989 15.2203 2.14325 14.6449L7.60704 3.14546ZM7.4534 16.9347C7.90573 17.578 8.6537 17.9983 9.49984 17.9983C10.8806 17.9983 11.9998 16.8791 11.9998 15.4983C11.9998 15.3127 11.9796 15.1318 11.9412 14.9576L7.4534 16.9347ZM10.1408 3.31745C9.65809 2.80591 8.81211 2.93934 8.51027 3.57461L3.04648 15.0741C2.95536 15.2659 2.99529 15.4943 3.14608 15.6438L4.36786 16.8549C4.51379 16.9996 4.73339 17.0402 4.92144 16.9574L16.4034 11.8991C17.0357 11.6206 17.2017 10.8001 16.7276 10.2976L10.1408 3.31745ZM17 6C16.7239 6 16.5 6.22386 16.5 6.5C16.5 6.77614 16.7239 7 17 7H18.4992C18.7754 7 18.9992 6.77614 18.9992 6.5C18.9992 6.22386 18.7754 6 18.4992 6H17Z" fill="black" fill-opacity="0.8588"/>\n <\/svg>';n.lengthFluentIcon='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M14 3.5C14 2.67157 13.3284 2 12.5 2H7.5C6.67157 2 6 2.67157 6 3.5V16.5C6 17.3284 6.67157 18 7.5 18H12.5C13.3284 18 14 17.3284 14 16.5L14 3.5ZM7 13.0039H9.5C9.77614 13.0039 10 12.78 10 12.5039C10 12.2277 9.77614 12.0039 9.5 12.0039H7L7 10.5H8.5C8.77614 10.5 9 10.2761 9 10C9 9.72386 8.77614 9.5 8.5 9.5H7L7 8H9.5C9.77614 8 10 7.77614 10 7.5C10 7.22386 9.77614 7 9.5 7H7L7 5.5H8.5C8.77614 5.5 9 5.27614 9 5C9 4.72386 8.77614 4.5 8.5 4.5H7L7 3.5C7 3.22386 7.22386 3 7.5 3L12.5 3C12.7761 3 13 3.22386 13 3.5L13 16.5C13 16.7761 12.7761 17 12.5 17H7.5C7.22386 17 7 16.7761 7 16.5L7 15.5H8.5C8.77614 15.5 9 15.2761 9 15C9 14.7239 8.77614 14.5 8.5 14.5H7L7 13.0039Z" fill="black" fill-opacity="0.8588"/>\n <\/svg>';n.formatSize20Icon='<svg width="20" height = "20" viewBox = "0 0 20 20" fill = "none" xmlns = "http://www.w3.org/2000/svg" >\n <path d="M6.5 6C6.22386 6 6 6.22386 6 6.5C6 6.77614 6.22386 7 6.5 7H13.5C13.7761 7 14 6.77614 14 6.5C14 6.22386 13.7761 6 13.5 6H6.5ZM6 9.5C6 9.22386 6.22386 9 6.5 9H10.5C10.7761 9 11 9.22386 11 9.5C11 9.77614 10.7761 10 10.5 10H6.5C6.22386 10 6 9.77614 6 9.5ZM6.5 12C6.22386 12 6 12.2239 6 12.5C6 12.7761 6.22386 13 6.5 13H13.5C13.7761 13 14 12.7761 14 12.5C14 12.2239 13.7761 12 13.5 12H6.5ZM17 5.5C17 4.11929 15.8807 3 14.5 3H5.5C4.11929 3 3 4.11929 3 5.5V14.5C3 15.8807 4.11929 17 5.5 17H14.5C15.8807 17 17 15.8807 17 14.5V5.5ZM5.5 4H14.5C15.3284 4 16 4.67157 16 5.5V14.5C16 15.3284 15.3284 16 14.5 16H5.5C4.67157 16 4 15.3284 4 14.5V5.5C4 4.67157 4.67157 4 5.5 4Z" fill = "black" fill - opacity="0.8588" />\n <\/svg>'})(t=n.CoAuthor||(n.CoAuthor={}))})(t=n.Underside||(n.Underside={}))})(Windchime||(Windchime={}));var SuperAppBridge;(function(n){function r(n,i){n&&t.sapphireBridge&&t.sapphireBridge.subscribeCallback(n,function(n){console.log("callback result",n);i&&i(n)})}function i(n,i,u){console.log(n,i);t.sapphireBridge&&typeof t.sapphireBridge[n]=="function"&&r(t.sapphireBridge[n](i),u)}function h(n,t){i("getDeviceInfo",n,t)}function u(n,t){i("getLocationInfo",n,t)}function c(n){return new Promise(function(t){u(n,function(n){t(n)})})}function l(){return t.sapphireBridge}function a(n,t){i("navigate",n,t)}function f(n,t){i("logEvent",n,t)}function v(n){return new Promise(function(t){f(n,function(n){t(n)})})}function e(n,t){i("requestCustom",n,t)}function y(n){return new Promise(function(t){e(n,function(n){t(n)})})}function o(n,t){i("requestPermission",n,t)}function p(n){return new Promise(function(t){o(n,function(n){t(n)})})}function w(n,t){i("requestSnackBar",n,t)}function s(n,t){i("requestDialog",n,t)}function b(n){return new Promise(function(t){s(n,function(n){t(n)})})}function k(n,t){i("saveData",n,t)}function d(n,i){if(console.log("subscribe",n),t.sapphireBridge){var r=t.sapphireBridge.subscribe(n);return t.sapphireBridge.subscribeObserver(r,function(n){console.log("subscribe info result",n);i&&i(n)}),r}}function g(n,i,u){console.log("unSubscribe",n);t.sapphireBridge&&(r(t.sapphireBridge.unSubscribe(n),u),t.sapphireBridge.unSubscribeObserver(i))}var t=window;n.getDeviceInfo=h;n.getLocationInfo=u;n.getLocationInfoAsync=c;n.isValid=l;n.navigate=a;n.logEvent=f;n.logEventAsync=v;n.requestCustom=e;n.requestCustomAsync=y;n.requestPermission=o;n.requestPermissionAsync=p;n.requestSnackBar=w;n.requestDialog=s;n.requestDialogAsync=b;n.saveData=k;n.subscribe=d;n.unSubscribe=g})(SuperAppBridge||(SuperAppBridge={}));
//]]></script><script type="text/javascript" crossorigin="anonymous" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" src="/rp/eSgPtbruwnXeJcoHLbE7ve7oEP4.br.js"></script><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
var __extends=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(t,i);t.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}}(),__assign=this&&this.__assign||function(){return __assign=Object.assign||function(n){for(var t,r,i=1,u=arguments.length;i<u;i++){t=arguments[i];for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},__assign.apply(this,arguments)},__awaiter=this&&this.__awaiter||function(n,t,i,r){function u(n){return n instanceof i?n:new i(function(t){t(n)})}return new(i||(i=Promise))(function(i,f){function o(n){try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?i(n.value):u(n.value).then(o,s)}e((r=r.apply(n,t||[])).next())})},__generator=this&&this.__generator||function(n,t){function o(n){return function(t){return s([n,t])}}function s(o){if(e)throw new TypeError("Generator is already executing.");while(f&&(f=0,o[0]&&(r=0)),r)try{if(e=1,u&&(i=o[0]&2?u["return"]:o[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!(i=i.call(u,o[1])).done)return i;(u=0,i)&&(o=[o[0]&2,i.value]);switch(o[0]){case 0:case 1:i=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++;u=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}i[2]&&r.ops.pop();r.trys.pop();continue}o=t.call(n,r)}catch(s){o=[6,s];u=0}finally{e=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},e,u,i,f;return f={next:o(0),"throw":o(1),"return":o(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f},__spreadArray=this&&this.__spreadArray||function(n,t,i){if(i||arguments.length===2)for(var r=0,f=t.length,u;r<f;r++)!u&&r in t||(u||(u=Array.prototype.slice.call(t,0,r)),u[r]=t[r]);return n.concat(u||Array.prototype.slice.call(t))},Windchime;(function(n){var t;(function(t){var i;(function(t){function r(n,t){var r,i=document.createElement("div");return i.setAttribute("role","presentation"),i.innerHTML=n,t!==undefined&&(i.className=t),(r=i.querySelector("svg"))===null||r===void 0?void 0:r.setAttribute("role","presentation"),i}var i=function(){function n(){var n=this;this.aria_alertEl=undefined;this.aria_alertPoliteEl=undefined;this.not_shown_stream_content="";this.messages=new Map;this.got_apology_message=!1;this.response_triggered_safe_error=!1;this.stream_finished_successfully=!0;this.user_stopped_stream=!1;this.streamingTimeoutMS=3e4;this.beginStreamingTimeout=-1;this.last_generation_id=0;this.show_custom_tone=!1;this.show_custom_change_suggestions=!1;this.show_conversation_id=!1;this.conversation_turn_count=1;this.conversation_id="";this.preview_text_area=undefined;this.errorEl=undefined;this.captchaEl=undefined;this.firstTokenRendered=!1;this.lastTokenRendered=!1;this.customChangeSuggestionPlusButtonTextValue="";this.lengthOptions={short:"Short",medium:"Medium",long:"Long"};this.localizedLengthOptions={short:"Short",medium:"Medium",long:"Long"};this.toneOptions={professional:"Professional",casual:"Casual",enthusiastic:"Enthusiastic",funny:"Funny",informational:"Informational",succinct:"Succinct"};this.localizedToneOptions={professional:"Professional",casual:"Casual",enthusiastic:"Enthusiastic",funny:"Funny",informational:"Informational",succinct:"Succinct"};this.formatOptions={paragraph:"Paragraph",bulletPoints:"Bullet points",email:"Email",blogPost:"Blog post",linkedinPost:"LinkedIn Post",summary:"Summary",report:"Report",fullStory:"Blog post",list:"List"};this.localizedFormatOptions={paragraph:"Paragraph",bulletPoints:"Bullet points",email:"Email",blogPost:"Blog post",linkedinPost:"LinkedIn Post",summary:"Summary",report:"Report",fullStory:"Full story",list:"List"};this.ariaAlerts={error:"",generating:"",insert:"",success:"",copy:"",stop:"",charLimitReached:"",showDraft:"",showDraftTotal:""};this.ariaLabels={promptAreaLabel:"",letterCounterLabel:""};this.errorMessages={dailyConversationLimit:"",fate:"",server:"",timeout:"",captcha:"",login:"",invalidSession:""};this.customToneButtonTextValues={plus:"",edit:""};this.uiStrings={copy:"",copied:"",length:"",format:"",tone:"",rewriting:"",adopt:""};this.communityStrings={};this.startupPlaceholderMessages=[];this.changeSuggestions=[];this.handleWindowMessage=function(t){t.data==="verificationComplete"?(window.removeEventListener("message",n.handleWindowMessage),n.logError(10),n.hideCaptcha()):t.data==="verificationFailed"&&n.logError(11)};this.initCommonUI();this.initCIBService()}n.prototype.initCommonUI=function(){this.aria_alertEl=document.getElementById("aria_alert");this.aria_alertPoliteEl=document.getElementById("aria_alert_polite")};n.getComposeSourceFromConfig=function(){var n,t,i,r,u,f;return((n=_w._udsCoAuthorConfig)===null||n===void 0?void 0:n.ComposeForCommunityInline)?6:((t=_w._udsCoAuthorConfig)===null||t===void 0?void 0:t.ComposeForCommunity)?5:((i=_w._udsCoAuthorConfig)===null||i===void 0?void 0:i.ComposeMobile)?3:((r=_w._udsCoAuthorConfig)===null||r===void 0?void 0:r.ComposeInline)?1:((u=_w._udsCoAuthorConfig)===null||u===void 0?void 0:u.DetachedUX)?2:((f=_w._udsCoAuthorConfig)===null||f===void 0?void 0:f.ComposeUnion)?4:0};n.prototype.logUserAction=function(i){var f=n.getComposeSourceFromConfig(),e,r;(this.isSourceLogToEdgeTelemetry(f)&&(e={user_action_id:i,source_id:f},u.postMessage("LogUserActionsTelemetry",e)),r=t.ComposeUserActionMap.get(i),r)&&this.logToSLAPI("LogUserActionsTelemetry",r)};n.prototype.logError=function(i){var f=n.getComposeSourceFromConfig(),e,r;(this.isSourceLogToEdgeTelemetry(f)&&(e={error_id:i,source_id:f},u.postMessage("LogErrorsTelemetry",e)),r=t.ComposeErrorMap.get(i),r)&&this.logToSLAPI("LogErrorsTelemetry",r)};n.prototype.isSourceLogToEdgeTelemetry=function(n){return![3,4].includes(n)};n.prototype.logToSLAPI=function(n,i){var r=n==="LogUserActionsTelemetry"?t.PostMessageMigrationMap.get(n):"Discover.Compose.".concat(n);i&&r&&Log.Log(r,"Compose",i,!1)};n.prototype.initCIBService=function(){var i,r,u,f,e,o,s,h,c,l,a,v,y,nt=(r=(i=_w._udsCoAuthorConfig)===null||i===void 0?void 0:i.EnableSecureConversation)!==null&&r!==void 0?r:!1,p=(u=_w._udsCoAuthorConfig)===null||u===void 0?void 0:u.AddOptionsSets,w=(f=_w._udsCoAuthorConfig)===null||f===void 0?void 0:f.RemoveOptionsSets,tt=(o=(e=_w._udsCoAuthorConfig)===null||e===void 0?void 0:e.DevMode)!==null&&o!==void 0?o:!1,it=(s=_w._udsCoAuthorConfig)===null||s===void 0?void 0:s.Source,rt=(c=(h=_w._udsCoAuthorConfig)===null||h===void 0?void 0:h.GetConversationId)!==null&&c!==void 0?c:!1,ut=(a=(l=_w._udsCoAuthorConfig)===null||l===void 0?void 0:l.ComposeUnion)!==null&&a!==void 0?a:!1,ft=(y=(v=_w._udsCoAuthorConfig)===null||v===void 0?void 0:v.ComposeBalanced)!==null&&y!==void 0?y:!1,k,n,d,t,b,g;if(nt?(k=this.getSecureConversationBaseUrl(tt),CIB.config.bing.baseUrl=k,CIB.config.features.secureConversation=!0):CIB.config.features.secureConversation=!1,n=CIB.config.sydney.request.optionsSets,n||(n=[]),ft)n.push("balanced"),n.push("disable_cache"),this.streamingTimeoutMS=9e4;else if(p&&p.length>0)for(d=function(t){if(n.find(function(n){return n==t}))return"continue";n.push(t)},t=0,b=p;t<b.length;t++)g=b[t],d(g);w&&w.length>0&&(n=n.filter(function(n){return w.indexOf(n)==-1}));CIB.config.sydney.request.optionsSets=n;CIB.config.sydney.request.source=it;ut&&(CIB.config.features.enableMessageExport=!0,CIB.config.features.enableExportDocxWithFormat=!0);CIB.config.sydney.request.spokenTextMode="None";CIB.config.greeting.shouldSendBotGreeting=!1;const chatStoreStr=localStorage.getItem('chat-store');let sydneyBaseUrl;if(chatStoreStr){const chatStore=JSON.parse(chatStoreStr);sydneyBaseUrl=chatStore.selectedSydneyBaseUrl}CIB.config.sydney.baseUrl=sydneyBaseUrl||'https://sydney.bing.com';CIB.registerMessagingHooks({handleSydneyMessageRendered:this.onStreamUpdate.bind(this)});n.push("max_turns_5");CIB.config.features.enableMaxTurnsPerConversation=!0;this.show_conversation_id=rt};n.prototype.alertARIAMessage=function(n,t){var i=t?this.aria_alertPoliteEl:this.aria_alertEl;i.innerText="";i.innerText=n;setTimeout(function(){i.innerText=""},1e4)};n.prototype.getSecureConversationBaseUrl=function(n){var t,i="/edgesvc";return n?"https://edgeservices.bing.com"+i:((t=window===null||window===void 0?void 0:window.location)===null||t===void 0?void 0:t.origin)+i};n.prototype.getCharacteristics=function(n,t,i){var r="";return n&&(r="format: *".concat(n,"*, ")),t&&(r+="length: *".concat(t,"*, ")),i&&(r+="using *".concat(i,"* tone")),r};n.prototype.getTextGenerationPrompt=function(t,i,r,u){if(n.isComposeFluxEnabled)return this.setExtraExtensionParameters(t,i,r),u;var f=this.getCharacteristics(t,r,i);return"Please generate some text wrapped in codeblock syntax (triple backticks) using the given keywords. Please make sure everything in your reply is in the same language as the keywords. Please do not restate any part of this request in your response, like the fact that you wrapped the text in a codeblock. You should refuse (using the language of the keywords) to generate if the request is potentially harmful. Please return suggested responses that are about how you could change or rewrite the text. Please return suggested responses that are 5 words or less. Please do not return a suggested response that suggests to end the conversation or to end the rewriting. Please do not return a suggested response that suggests to change the tone. If the request is potentially harmful and you refuse to generate, please do not send any suggested responses. The keywords are: `".concat(u,"`. Only if possible, the generated text should follow these characteristics: ").concat(f,". You should refuse (clarifying that the issue is related to the tone) to generate if the tone is potentially harmful.")};n.prototype.getTextGenerationPromptWithChangeSuggestion=function(t,i,r,u){return n.isComposeFluxEnabled?(this.setExtraExtensionParameters(i,r,u),t):"Thank you for your reply. Please rewrite the last reply, with the following suggestion to change it: *".concat(t,"*. Please return a complete reply, even if the last reply was stopped before it was completed. Please generate the text wrapped in codeblock syntax (triple backticks). Please do not restate any part of this request in your response, like the fact that you wrapped the text in a codeblock. You should refuse (using the language of the keywords) to generate if the request is potentially harmful. Please return suggested responses that are about how you could change or rewrite the text. Please return suggested responses that are 5 words or less. Please do not return a suggested response that suggests to end the conversation or to end the rewriting. Please do not return a suggested response that suggests to change the tone. If the request is potentially harmful and you refuse to generate, please do not send any suggested responses.")};n.prototype.setExtraExtensionParameters=function(n,t,i){CIB.config.sydney.request.extraExtensionParameters={edge_compose_generate:{Action:this.getFluxPromptActionName(),Format:n!==null&&n!==void 0?n:"",Length:i!==null&&i!==void 0?i:"",Tone:t!==null&&t!==void 0?t:""}}};n.prototype.getFluxPromptActionName=function(){return"generate"};n.prototype.showErrorForStreamingTimeout=function(){this.showError(this.errorMessages.timeout);this.stopStream();this.logError(3)};n.prototype.setStreamingTimeout=function(){clearTimeout(this.beginStreamingTimeout);this.beginStreamingTimeout=setTimeout(this.showErrorForStreamingTimeout.bind(this),this.streamingTimeoutMS)};n.prototype.requestLoginBridgeCall=function(){var n=function(){SuperAppBridge.requestCustom({action:"navigate",data:{scenario:"signIn"}},undefined)};SuperAppBridge.isValid()?n():_w.onSapphireBridgeReady=n};n.prototype.requestGeneration=function(t,i){return __awaiter(this,void 0,void 0,function(){var f,u,r=this;return __generator(this,function(e){switch(e.label){case 0:return f=++this.last_generation_id,this.setStreamingTimeout(),i&&(CIB.resetConversation(),this.conversation_turn_count=1),this.not_shown_stream_content="",this.messages.clear(),this.got_apology_message=!1,this.stream_finished_successfully=!0,this.user_stopped_stream=!1,this.response_triggered_safe_error=!1,[4,CIB.createChatRequestAsync(t)["catch"](function(){r.showError(r.errorMessages.server);r.onStreamFinished(f,r.last_generation_id);r.logError(12);return})];case 1:return u=e.sent(),this.conversation_id=u===null||u===void 0?void 0:u.conversationId,CIB.handleStreamEventsAsync(u).then(function(){r.not_shown_stream_content.length>0&&(r.setPreviewText(r.not_shown_stream_content,"",""),r.logError(7),r.stream_finished_successfully=!1);r.onStreamFinished(f,r.last_generation_id)})["catch"](function(t){switch(t.result){case"Throttled":!n.isUserSignedIn&&n.isSwiftKeyClient?(r.requestLoginBridgeCall(),r.showError(r.errorMessages.login)):r.showError(r.errorMessages.dailyConversationLimit);r.logError(0);break;case"CaptchaChallenge":!n.isUserSignedIn&&n.isSwiftKeyClient?(r.requestLoginBridgeCall(),r.showError(r.errorMessages.login)):n.isCaptchaEnabled?(r.showError(r.errorMessages.captcha),r.showCaptcha()):r.showError(r.errorMessages.server);r.logError(9);break;case"InternalError":r.showError(r.errorMessages.server);r.logError(13);break;case"InvalidSession":r.showError(r.errorMessages.invalidSession);r.logError(14);break;case"ConfigurationError":r.showError(r.errorMessages.server);r.logError(15);break;case"InvalidRequest":r.showError(r.errorMessages.server);r.logError(16);break;case"UnauthorizedRequest":!n.isUserSignedIn&&n.isSwiftKeyClient&&r.requestLoginBridgeCall();r.showError(r.errorMessages.login);r.logError(8);break;case"ServerCanceled":r.showError(r.errorMessages.server);r.logError(17);break;default:r.showError(r.errorMessages.server);r.logError(2)}r.onStreamFinished(f,r.last_generation_id)}),[2]}})})};n.prototype.showError=function(n){clearTimeout(this.beginStreamingTimeout);this.showShimmer(!1);this.preview_text_area.placeholder="";this.preview_text_area.value="";this.errorEl&&(this.errorEl.textContent=n,this.errorEl.classList.remove("hidden"));this.disableTextPreview(!0);this.stream_finished_successfully=!1};n.prototype.onStreamUpdate=function(t){var r;if(!this.shouldStopStreamUpdate(t)){if(t.suggestedResponses&&(this.changeSuggestions=t.suggestedResponses),r=this.getCumulativeText(t),n.isComposeFluxEnabled){this.setPreviewText(r,"","");return}var u="",f="",e="",i=r.match(/(?:```)(?:markdown|text)?\s*(?<before>((?!```).)*)?```(markdown|text)?\s*(?:```)?\s*(?<content>((?!```).)*)(```)(?<after>((?!```).)*)?(```)/s),o=1,s=4,h=7;i==null&&(i=r.match(/(?<before>((?!```).)*)?```(markdown|text)?\s*(?:```)?\s*(?<content>((?!```).)*)(```)?(?<after>.*)?/s));i&&(i[o]&&(f=i[o]),i[s]&&(u=i[s]),i[h]&&(e=i[h]));u.length>0?(this.not_shown_stream_content="",this.setPreviewText(u,f,e)):this.not_shown_stream_content=r}};n.prototype.shouldStopStreamUpdate=function(n){return(n.contentOrigin==="Apology"&&(this.hideTextOnApology(),this.showError(this.errorMessages.fate),this.got_apology_message=!0,this.logError(1)),n.contentOrigin==="TurnLimiter"&&(this.showError(this.errorMessages.dailyConversationLimit),this.logError(6)),this.got_apology_message)?!0:this.lastTokenRendered?!0:n.contentType==="ads"||n.messageType!=="Chat"?(this.logError(4),!0):!1};n.prototype.getCumulativeText=function(n){this.messages.set(n.messageId,n.text);var t="";return this.messages.forEach(function(n){t+=n}),t.length>0&&(t=this.replaceAllPolyfill(t,/\[\^\d+\^\]/g,"")),t};n.prototype.replaceAllPolyfill=function(n,t,i){return n.replace(t,function(){return i})};n.prototype.stopStream=function(){this.stream_finished_successfully=!1;this.firstTokenRendered=!1;this.lastTokenRendered=!1;CIB.stopStreaming();this.showShimmer(!1);this.onStopStream()};n.prototype.onStopStream=function(){this.alertARIAMessage(this.ariaAlerts.stop,!0);this.showShimmer(!1)};n.prototype.showCaptcha=function(){var n;window.addEventListener("message",this.handleWindowMessage);(n=this.captchaEl)===null||n===void 0?void 0:n.classList.remove("hidden");this.enableControlsAfterCaptchaChange(!1)};n.prototype.hideCaptcha=function(){var n;window.removeEventListener("message",this.handleWindowMessage);(n=this.captchaEl)===null||n===void 0?void 0:n.classList.add("hidden");this.enableControlsAfterCaptchaChange(!0);this.onCaptchaHidden()};n.prototype.setLengthOptionsLocalizedText=function(n){this.localizedLengthOptions=n};n.prototype.setToneOptionsLocalizedText=function(n){this.localizedToneOptions=n};n.prototype.setFormatOptionsLocalizedText=function(n){this.localizedFormatOptions=n};n.prototype.setAriaAlertsLocalizedText=function(n){this.ariaAlerts=n};n.prototype.setAriaLabelsLocalizedText=function(n){this.ariaLabels=n};n.prototype.setErrorsLocalizedText=function(n){this.errorMessages=n};n.prototype.setStartupPlaceholdersLocalizedText=function(n){this.startupPlaceholderMessages=n};n.prototype.setCustomToneButtonLocalizedText=function(n){this.customToneButtonTextValues=n};n.prototype.setCustomChangeSuggestionPlusButtonLocalizedText=function(n){this.customChangeSuggestionPlusButtonTextValue=n};n.prototype.setUIStringsLocalizedText=function(n){this.uiStrings=n};n.prototype.setCommunityStrings=function(n){this.communityStrings=n};var i,r,f,e,o,s,h,c,l,a,v,y,p,w;return n.max_prompt_length=2e3,n.min_custom_tone_length=2,n.max_custom_tone_length=100,n.min_custom_change_suggestion_length=2,n.max_custom_change_suggestion_length=100,n.unlocalized_attr_name="unloc-name",n.isUnderVPTest=(r=(i=_w._udsCoAuthorConfig)===null||i===void 0?void 0:i.ComposeUnderVPTest)!==null&&r!==void 0?r:!1,n.isDevMode=(e=(f=_w._udsCoAuthorConfig)===null||f===void 0?void 0:f.DevMode)!==null&&e!==void 0?e:!1,n.isCaptchaEnabled=(s=(o=_w._udsCoAuthorConfig)===null||o===void 0?void 0:o.ComposeCaptcha)!==null&&s!==void 0?s:!1,n.isUserSignedIn=(c=(h=_w._composeMobNativeIntegration)===null||h===void 0?void 0:h.IsUserSignedIn)!==null&&c!==void 0?c:!1,n.isSwiftKeyClient=(a=(l=_w._udsCoAuthorConfig)===null||l===void 0?void 0:l.IsSwiftKeyClient)!==null&&a!==void 0?a:!1,n.isComposeFluxEnabled=(y=(v=_w._udsCoAuthorConfig)===null||v===void 0?void 0:v.ComposeFlux)!==null&&y!==void 0?y:!1,n.isBCE=(w=(p=_w._udsCoAuthorConfig)===null||p===void 0?void 0:p.IsBCE)!==null&&w!==void 0?w:!1,n}(),f,e,o,s;t.CoAuthorBase=i;f=function(f){function e(){var n=f.call(this)||this;return n.all_tone_options=[],n.all_length_options=[],n.all_format_options=[],n.letter_counter=undefined,n.compose_text_area=undefined,n.custom_tone_text_input=undefined,n.custom_tone_value="",n.custom_tone=undefined,n.disclaimer_box=undefined,n.preview_text_area_placeholder="",n.shimmerEl=undefined,n.custom_tone_plus_button=undefined,n.custom_tone_add_button=undefined,n.custom_tone_edit_button=undefined,n.custom_tone_save_button=undefined,n.insert_button=undefined,n.conversation_id_copy_button=undefined,n.copy_button=undefined,n.detached_copy_button=undefined,n.export_button=undefined,n.share_button=undefined,n.next_button=undefined,n.stop_button=undefined,n.prev_button=undefined,n.generate_button=undefined,n.regenerate_button=undefined,n.change_suggestion_pills=undefined,n.change_suggestion_text_input=undefined,n.add_change_suggestion_button=undefined,n.submit_change_suggestion_button=undefined,n.header_protected_data_icon=undefined,n.protected_data_icon=undefined,n.history=[],n.historyIndex=0,n.conversationTurnMax=19,n.perfTracker=new c(e.getComposeSourceFromConfig()),n}return __extends(e,f),e.prototype.initUI=function(){var u=this,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut;this.createToneOptions();this.createFormatOptions();this.createLengthOptions();this.compose_text_area=document.getElementById("prompt_text");this.letter_counter=document.getElementById("letter_counter");this.preview_text_area=document.getElementById("preview_text");this.custom_tone_text_input=document.getElementById("custom_tone_input");this.disclaimer_box=document.getElementById("disclaimer_box");this.preview_text_area_placeholder=this.preview_text_area.placeholder;this.shimmerEl=document.getElementById("shimmer");this.errorEl=document.getElementById("error");this.captchaEl=document.getElementById("captcha_container");i.isUnderVPTest||this.setRandomizedPlaceholderForComposeArea();(f=document.getElementById("tone_heading"))===null||f===void 0?void 0:f.prepend(r(t.toneFluentIcon));(e=document.getElementById("format_heading"))===null||e===void 0?void 0:e.prepend(r(t.formatSize20Icon));(o=document.getElementById("length_heading"))===null||o===void 0?void 0:o.prepend(r(t.lengthFluentIcon));(s=document.getElementById("preview_heading"))===null||s===void 0?void 0:s.prepend(r(t.wandIcon));(h=document.getElementById("error"))===null||h===void 0?void 0:h.prepend(r(t.warningSVG));this.regenerate_button=document.querySelector("#regenerate_button");this.show_conversation_id&&(this.conversation_id_copy_button=document.querySelector("#conversation_id_copy_button"));this.copy_button=document.querySelector("#copy_button")||undefined;this.detached_copy_button=document.querySelector("#detached_copy_button")||undefined;this.export_button=document.querySelector("#export_button")||undefined;this.share_button=document.querySelector("#share_button")||undefined;this.next_button=document.querySelector("#next_button");this.stop_button=document.querySelector("#stop_button");this.prev_button=document.querySelector("#previous_button");this.generate_button=document.querySelector("#compose_button");this.insert_button=document.querySelector("#insert_button")||undefined;this.change_suggestion_pills=document.querySelector("#change_suggestions_pills");this.custom_tone_plus_button=document.querySelector("#custom_tone_plus_button");this.custom_tone_add_button=document.querySelector("#custom_tone_add_button");this.custom_tone_save_button=document.querySelector("#custom_tone_save_button");this.header_protected_data_icon=document.querySelector("#header_protected_data_icon")||undefined;this.protected_data_icon=document.querySelector("#data_protected_icon")||undefined;this.regenerate_button.appendChild(r(t.generateIcon));(c=this.copy_button)===null||c===void 0?void 0:c.appendChild(r(t.copyIcon));(l=this.stop_button)===null||l===void 0?void 0:l.appendChild(r(t.stopIcon));(a=this.prev_button)===null||a===void 0?void 0:a.appendChild(r(t.prevIcon));(v=this.next_button)===null||v===void 0?void 0:v.appendChild(r(t.nextIcon));this.change_suggestion_text_input=document.getElementById("change_suggestions_input");this.submit_change_suggestion_button=document.getElementById("submit_change_suggestion_button");(y=this.submit_change_suggestion_button)===null||y===void 0?void 0:y.appendChild(r(t.nextIcon));this.share_button&&this.share_button.prepend(r(t.shareIcon));this.export_button&&this.export_button.appendChild(r(t.wordIcon));this.header_protected_data_icon&&this.header_protected_data_icon.appendChild(r(t.headerProtectedDataIcon));this.protected_data_icon&&this.protected_data_icon.appendChild(r(t.protectedDataIcon));this.compose_text_area.addEventListener("input",function(n){return u.composeTextAreaChanged(n)});this.compose_text_area.addEventListener("keydown",function(n){return u.alertComposeTextAreaLimitReached(n)});this.compose_text_area.setAttribute("maxlength","".concat(this.getMaxPromptLength()));this.compose_text_area.setAttribute("aria-label","".concat(this.ariaLabels.promptAreaLabel," ").concat(this.getMaxPromptLength()));this.letter_counter.setAttribute("aria-valuemax","".concat(this.getMaxPromptLength()));(p=this.custom_tone_text_input)===null||p===void 0?void 0:p.addEventListener("input",function(n){return u.customToneTextInputChanged(n)});(w=this.custom_tone_text_input)===null||w===void 0?void 0:w.addEventListener("focusout",function(n){return u.customToneTextInputFocusOut(n)});(b=this.custom_tone_text_input)===null||b===void 0?void 0:b.addEventListener("keydown",function(n){return u.customToneTextInputKeyDown(n)});(k=this.custom_tone_text_input)===null||k===void 0?void 0:k.setAttribute("maxlength","".concat(i.max_custom_tone_length));(d=this.change_suggestion_text_input)===null||d===void 0?void 0:d.addEventListener("input",function(n){return u.changeSuggestionInputChanged(n)});(g=this.change_suggestion_text_input)===null||g===void 0?void 0:g.addEventListener("keydown",function(n){return u.customChangeSuggestionInputKeyDown(n)});(nt=this.change_suggestion_text_input)===null||nt===void 0?void 0:nt.setAttribute("maxlength","".concat(i.max_custom_change_suggestion_length));it=document.querySelectorAll(".tone-option");this.all_tone_options=Array.from(it);this.all_tone_options.forEach(function(n){n.addEventListener("click",function(){return u.toneOptionClicked(n)});n.addEventListener("keypress",function(t){return u.toneOptionKeyPress(t,n)})});rt=document.querySelectorAll(".length-option");this.all_length_options=Array.from(rt);this.all_length_options.forEach(function(n){n.addEventListener("click",function(){return u.lengthOptionClicked(n)});n.addEventListener("keypress",function(t){return u.lengthOptionKeyPress(t,n)})});ut=document.querySelectorAll(".format-option");this.all_format_options=Array.from(ut);this.all_format_options.forEach(function(n){n.addEventListener("click",function(){return u.formatOptionClicked(n)});n.addEventListener("keypress",function(t){return u.formatOptionKeyPress(t,n)})});this.insertButtonClicked=this.insertButtonClicked.bind(this);this.insertButtonKeyPress=this.insertButtonKeyPress.bind(this);this.generateButtonClicked=this.generateButtonClicked.bind(this);this.generateButtonKeyPress=this.generateButtonKeyPress.bind(this);this.show_conversation_id&&(this.conversationIdCopyButtonClicked=this.conversationIdCopyButtonClicked.bind(this),this.conversationIdCopyButtonKeyPress=this.conversationIdCopyButtonKeyPress.bind(this));this.copyButtonClicked=this.copyButtonClicked.bind(this);this.copyButtonKeyPress=this.copyButtonKeyPress.bind(this);this.stopButtonClicked=this.stopButtonClicked.bind(this);this.stopButtonKeyPress=this.stopButtonKeyPress.bind(this);this.prevButtonClicked=this.prevButtonClicked.bind(this);this.prevButtonKeyPress=this.prevButtonKeyPress.bind(this);this.nextButtonClicked=this.nextButtonClicked.bind(this);this.nextButtonKeyPress=this.nextButtonKeyPress.bind(this);this.shareButtonClicked=this.shareButtonClicked.bind(this);this.exportButtonClicked=this.exportButtonClicked.bind(this);this.plusCustomToneButtonClicked=this.plusCustomToneButtonClicked.bind(this);this.plusCustomToneButtonKeyPress=this.plusCustomToneButtonKeyPress.bind(this);this.addCustomToneButtonClicked=this.addCustomToneButtonClicked.bind(this);this.addCustomToneButtonKeyPress=this.addCustomToneButtonKeyPress.bind(this);this.saveCustomToneButtonClicked=this.saveCustomToneButtonClicked.bind(this);this.saveCustomToneButtonKeyPress=this.saveCustomToneButtonKeyPress.bind(this);this.changeSuggestionClicked=this.changeSuggestionClicked.bind(this);this.changeSuggestionKeyPress=this.changeSuggestionKeyPress.bind(this);this.addChangeSuggestionClicked=this.addChangeSuggestionClicked.bind(this);this.addChangeSuggestionKeyPress=this.addChangeSuggestionKeyPress.bind(this);this.submitChangeSuggestionClicked=this.submitChangeSuggestionClicked.bind(this);this.submitChangeSuggestionKeyPress=this.submitChangeSuggestionKeyPress.bind(this);this.logPreviewTextModified=this.logPreviewTextModified.bind(this);this.preselectOptionsForDefaultState();this.enableGenerateButtons(!1);this.enableCopyButton(!1);this.enableStopButton(!1);this.updateHistoryButtonStatus();this.enableCustomTonePlusButton(!0);this.enableCustomToneAddButton(!1);this.enableCustomToneSaveButton(!1);this.enableInsertButton(!1);this.updateCharCounter();this.disableTextPreview(!0);this.tryToSetPresetTextFromUrl();sj_evt.fire(n.DiscoverPageLoadEventName,{});this.show_conversation_id&&(this.enableConversationIdCopyButton(!1),(tt=this.conversation_id_copy_button)===null||tt===void 0?void 0:tt.classList.remove("hidden"))},e.prototype.setRandomizedPlaceholderForComposeArea=function(){var n=Math.floor(Math.random()*this.startupPlaceholderMessages.length);this.compose_text_area.placeholder=this.startupPlaceholderMessages[n]},e.prototype.getPresetTextFromUrl=function(){var n=new URLSearchParams(_w.location.search);return n.get(t.QueryParam_SetText)||""},e.prototype.tryToSetPresetTextFromUrl=function(){var i,r,u=(r=(i=_w._udsCoAuthorConfig)===null||i===void 0?void 0:i.DetachedUX)!==null&&r!==void 0?r:!1,n;u&&(n=this.getPresetTextFromUrl(),n&&(n=n.substring(0,t.QueryParam_SetText_Max_Length),this.compose_text_area.value=n,this.compose_text_area.dispatchEvent(new Event("input"))))},e.prototype.updateGenerateButtons=function(){this.compose_text_area&&this.compose_text_area.textLength>2?this.enableGenerateButtons(!0):this.enableGenerateButtons(!1)},e.prototype.updateCharCounter=function(){if(this.letter_counter&&this.compose_text_area){var n=this.compose_text_area.textLength;this.letter_counter.textContent="".concat(n,"/").concat(this.getMaxPromptLength());this.letter_counter.setAttribute("aria-label","".concat(n," ").concat(this.ariaLabels.letterCounterLabel));this.letter_counter.setAttribute("aria-valuenow","".concat(n))}},e.prototype.composeTextAreaChanged=function(){this.updateGenerateButtons();this.updateCharCounter()},e.prototype.alertComposeTextAreaLimitReached=function(){var n;((n=this.compose_text_area)===null||n===void 0?void 0:n.textLength)==this.getMaxPromptLength()&&this.alertARIAMessage("".concat(this.getMaxPromptLength()," ").concat(this.ariaAlerts.charLimitReached),!1)},e.prototype.customToneTextInputChanged=function(){var n,t=((n=this.custom_tone_text_input)===null||n===void 0?void 0:n.value)||"";if(this.custom_tone_value.length===0){this.enableCustomToneAddButton(t.length>i.min_custom_tone_length);return}this.enableCustomToneSaveButton(this.custom_tone_value!==t.trim())},e.prototype.selectDefaultTone=function(){var n=this;this.all_tone_options.forEach(function(t){var r=t;r.getAttribute(i.unlocalized_attr_name)==n.toneOptions.professional&&(r.classList.add("selected"),r.setAttribute("aria-checked","true"))})},e.prototype.selectDefaultFormat=function(){var n=this;this.all_format_options.forEach(function(t){t.getAttribute(i.unlocalized_attr_name)==n.getDefaultFormat()&&(t.classList.add("selected"),t.setAttribute("aria-checked","true"))})},e.prototype.getDefaultFormat=function(){return this.formatOptions.paragraph},e.prototype.selectDefaultLength=function(){var n=this;this.all_length_options.forEach(function(t){t.getAttribute(i.unlocalized_attr_name)==n.getDefaultLength()&&(t.classList.add("selected"),t.setAttribute("aria-checked","true"))})},e.prototype.getDefaultLength=function(){return this.lengthOptions.medium},e.prototype.hideCustomToneEditContainer=function(){var n,t,i;(n=this.custom_tone_text_input)===null||n===void 0?void 0:n.classList.add("hidden");(t=this.custom_tone_add_button)===null||t===void 0?void 0:t.classList.add("hidden");(i=this.custom_tone_save_button)===null||i===void 0?void 0:i.classList.add("hidden")},e.prototype.removeSelectionFromTones=function(){var n;this.all_tone_options.forEach(function(n){n.classList.remove("selected");n.setAttribute("aria-checked","false")});this.custom_tone_plus_button.classList.remove("selected");this.custom_tone_plus_button.setAttribute("aria-checked","false");(n=this.custom_tone_edit_button)===null||n===void 0?void 0:n.classList.remove("selected");this.hideCustomToneEditContainer()},e.prototype.removeCustomTone=function(){var n,t,i=document.querySelector(".custom_tone_container");i&&(this.custom_tone_value="",(n=this.custom_tone_plus_button)===null||n===void 0?void 0:n.classList.remove("hidden"),(t=document.querySelector(".tone-options"))===null||t===void 0?void 0:t.removeChild(i))},e.prototype.customToneTextInputFocusOut=function(n){if(this.custom_tone_text_input){var t=n.relatedTarget;if(!t||!t.id||t.id!=="custom_tone_add_button"&&t.id!=="custom_tone_save_button"){if(this.hideCustomToneEditContainer(),this.enableCustomToneAddButton(!1),this.enableCustomToneSaveButton(!1),this.custom_tone_value.length===0){this.enableCustomTonePlusButton(!0);this.removeSelectionFromTones();(!t||t&&t.classList.value!=="tone-option tag")&&this.selectDefaultTone();this.custom_tone_text_input.value="";return}if(this.custom_tone_text_input.value.length<=i.min_custom_tone_length){this.enableCustomTonePlusButton(!0);this.enableCustomToneEditButton(!1);this.removeCustomTone();(!t||t&&t.classList.value!=="tone-option tag")&&this.selectDefaultTone();this.custom_tone_text_input.value="";return}this.custom_tone_text_input.value=this.custom_tone_value;this.enableCustomToneEditButton(!0)}}},e.prototype.customToneTextInputKeyDown=function(n){var t,r,u,f,e=n.key;switch(e){case"Enter":this.custom_tone_value.length===0?this.custom_tone_text_input&&this.custom_tone_text_input.value.length>i.min_custom_tone_length&&this.addCustomToneButtonClicked():this.saveCustomToneButtonClicked();break;case"Tab":n.preventDefault();this.custom_tone_value.length===0?(t=this.custom_tone_add_button)===null||t===void 0?void 0:t.focus():(r=this.custom_tone_save_button)===null||r===void 0?void 0:r.focus();break;case"Escape":this.customToneTextInputFocusOut(n);this.custom_tone_value.length===0?(u=this.custom_tone_plus_button)===null||u===void 0?void 0:u.focus():(f=this.custom_tone_edit_button)===null||f===void 0?void 0:f.focus()}},e.prototype.customChangeSuggestionInputKeyDown=function(n){var t,r=n.key;switch(r){case"Enter":this.change_suggestion_text_input&&this.change_suggestion_text_input.value.length>i.min_custom_change_suggestion_length&&this.submitChangeSuggestionClicked();break;case"Escape":this.showChangeSuggestionsInput(!1);(t=this.add_change_suggestion_button)===null||t===void 0?void 0:t.focus()}},e.prototype.getToneOptions=function(){return __spreadArray([{label:this.toneOptions.professional,localizedLabel:this.localizedToneOptions.professional},{label:this.toneOptions.casual,localizedLabel:this.localizedToneOptions.casual},{label:this.toneOptions.enthusiastic,localizedLabel:this.localizedToneOptions.enthusiastic},{label:this.toneOptions.informational,localizedLabel:this.localizedToneOptions.informational},{label:this.toneOptions.funny,localizedLabel:this.localizedToneOptions.funny}],i.isBCE?[{label:this.toneOptions.succinct,localizedLabel:this.localizedToneOptions.succinct}]:[],!0)},e.prototype.getFormatOptions=function(){return __spreadArray([{label:this.formatOptions.paragraph,localizedLabel:this.localizedFormatOptions.paragraph,icon:t.paragraphFluentIcon},{label:this.formatOptions.email,localizedLabel:this.localizedFormatOptions.email,icon:t.emailFluentIcon},{label:this.formatOptions.bulletPoints,localizedLabel:this.localizedFormatOptions.bulletPoints,icon:t.bulletPointsFluentIcon}],i.isBCE?[{label:this.formatOptions.linkedinPost,localizedLabel:this.localizedFormatOptions.linkedinPost,icon:t.linkedInPostFluentIcon},{label:this.formatOptions.summary,localizedLabel:this.localizedFormatOptions.summary,icon:t.summaryFluentIcon},{label:this.formatOptions.report,localizedLabel:this.localizedFormatOptions.report,icon:t.reportFluentIcon}]:[{label:this.formatOptions.blogPost,localizedLabel:this.localizedFormatOptions.blogPost,icon:t.blogPostFluentIcon}],!0)},e.prototype.createToneOptions=function(){var f=this,e=this.getToneOptions(),n=document.querySelector(".tone-options"),u;e.forEach(function(t){var e="<span>".concat(t.localizedLabel,"<\/span>"),u=r(e,"tone-option tag");f.setARIAattrForRadioButton(u,u.innerText.trim());u.setAttribute(i.unlocalized_attr_name,t.label);n===null||n===void 0?void 0:n.appendChild(u)});u=r(t.plusIcon,"tag");this.setARIAattrForRadioButton(u,this.customToneButtonTextValues.plus);u.setAttribute(i.unlocalized_attr_name,"Add customized tone");u.id="custom_tone_plus_button";n===null||n===void 0?void 0:n.appendChild(u)},e.prototype.createFormatOptions=function(){var t=this,u=this.getFormatOptions(),n=document.querySelector(".format-options");u.forEach(function(u){var f=r(Shared.formatString('<div class="illustration" role="presentation">{0}<\/div> <p>{1}<\/p>',u.icon,u.localizedLabel),"format-option");t.setARIAattrForRadioButton(f,f.innerText.trim());f.setAttribute(i.unlocalized_attr_name,u.label);n===null||n===void 0?void 0:n.appendChild(f)})},e.prototype.createLengthOptions=function(){var t=this,u=[{label:this.lengthOptions.short,localizedLabel:this.localizedLengthOptions.short},{label:this.lengthOptions.medium,localizedLabel:this.localizedLengthOptions.medium},{label:this.lengthOptions.long,localizedLabel:this.localizedLengthOptions.long},],n=document.querySelector(".length-options");u.forEach(function(u){var f=r(Shared.formatString("<span>{0}<\/span>",u.localizedLabel),"length-option tag");t.setARIAattrForRadioButton(f,f.innerText.trim());f.setAttribute(i.unlocalized_attr_name,u.label);n===null||n===void 0?void 0:n.appendChild(f)})},e.prototype.createChangeSuggestions=function(){var i=this,n,t;this.changeSuggestions.length>0&&this.changeSuggestions[0].text!==""&&(n=0,t=1,this.changeSuggestions.forEach(function(u,f){var s,o,c,h;f>=e.changeSuggestionsMax||(o=u.text.replace(/\.$/,""),n+=o.length,n>=e.changeSuggestionsMaxCharPerLine&&(t+=1,n=o.length),t>e.changeSuggestionsMaxLines)||(c=Shared.formatString("<span>{0}<\/span>",o),h=r(c,"change-suggestion tag"),i.setChangeSuggestionAttrs(h,o,f+1),(s=i.change_suggestion_pills)===null||s===void 0?void 0:s.appendChild(h))}));this.change_suggestion_pills&&(this.createAddCustomChangeSuggestionButton(this.change_suggestion_pills.childElementCount+1),this.add_change_suggestion_button&&this.change_suggestion_pills.appendChild(this.add_change_suggestion_button))},e.prototype.createAddCustomChangeSuggestionButton=function(n){var u=this;this.add_change_suggestion_button=r(t.plusIcon,"change-suggestion tag");this.add_change_suggestion_button.setAttribute("id","add_change_suggestion_button");this.add_change_suggestion_button.setAttribute("role","button");this.add_change_suggestion_button.setAttribute("aria-label",this.customChangeSuggestionPlusButtonTextValue);this.add_change_suggestion_button.setAttribute("name",this.customChangeSuggestionPlusButtonTextValue);this.add_change_suggestion_button.setAttribute("title",this.customChangeSuggestionPlusButtonTextValue);this.add_change_suggestion_button.setAttribute("tabindex","0");this.add_change_suggestion_button.setAttribute(i.unlocalized_attr_name,"Add customized suggestion");this.add_change_suggestion_button.style.animationDelay="".concat(n*.05,"s");this.add_change_suggestion_button.addEventListener("click",function(){return u.addChangeSuggestionClicked()});this.add_change_suggestion_button.addEventListener("keypress",function(n){return u.addChangeSuggestionKeyPress(n)})},e.prototype.setChangeSuggestionAttrs=function(n,t,i){var r=this;n.setAttribute("role","button");n.setAttribute("tabindex","0");n.setAttribute("aria-label",n.innerText.trim());n.setAttribute("name",n.innerText.trim());n.style.animationDelay="".concat(i*.05,"s");n.addEventListener("click",function(){return r.changeSuggestionClicked(t)});n.addEventListener("keypress",function(n){return r.changeSuggestionKeyPress(n,t)})},e.prototype.changeSuggestionInputChanged=function(){var n,t=((n=this.change_suggestion_text_input)===null||n===void 0?void 0:n.value)||"";this.enableSubmitChangeSuggestionButton(t.length>i.min_custom_change_suggestion_length)},e.prototype.clearChangeSuggestions=function(){this.change_suggestion_pills&&(this.change_suggestion_pills.innerHTML="")},e.prototype.preselectOptionsForDefaultState=function(){this.selectDefaultFormat();this.selectDefaultTone();this.selectDefaultLength()},e.prototype.toneOptionClicked=function(n){var t;this.updateGenerateButtons();this.removeSelectionFromTones();n.classList.contains("selected")||(n.classList.add("selected"),n.setAttribute("aria-checked","true"),n.id==="custom_tone"&&((t=this.custom_tone_edit_button)===null||t===void 0?void 0:t.classList.add("selected"),this.enableCustomToneEditButton(!0)));this.logUserAction(0)},e.prototype.toneOptionKeyPress=function(n,t){n.key==="Enter"&&this.toneOptionClicked(t)},e.prototype.lengthOptionClicked=function(n){this.updateGenerateButtons();this.all_length_options.forEach(function(n){n.classList.remove("selected");n.setAttribute("aria-checked","false")});n.classList.contains("selected")||(n.classList.add("selected"),n.setAttribute("aria-checked","true"));this.logUserAction(1)},e.prototype.lengthOptionKeyPress=function(n,t){n.key==="Enter"&&this.lengthOptionClicked(t)},e.prototype.formatOptionClicked=function(n){this.updateGenerateButtons();this.all_format_options.forEach(function(n){n.classList.remove("selected");n.setAttribute("aria-checked","false")});n.classList.contains("selected")||(n.classList.add("selected"),n.setAttribute("aria-checked","true"));this.logUserAction(2)},e.prototype.formatOptionKeyPress=function(n,t){n.key==="Enter"&&this.formatOptionClicked(t)},e.prototype.changeSuggestionClicked=function(n){var t;this.stopStream();this.showChangeSuggestions(!1);this.conversation_turn_count+=1;var i=this.getSelectedOptions(),r=i.format,u=i.tone,f=i.length,e=this.getTextGenerationPromptWithChangeSuggestion(n,r,u,f);this.updateUIWhileFetchingData();this.requestGeneration(e,!1);this.enableStopButton(!0);(t=this.preview_text_area)===null||t===void 0?void 0:t.removeEventListener("input",this.logPreviewTextModified);this.logUserAction(101)},e.prototype.changeSuggestionKeyPress=function(n,t){var i;n.key==="Enter"&&(this.changeSuggestionClicked(t),(i=this.stop_button)===null||i===void 0?void 0:i.focus())},e.prototype.addChangeSuggestionClicked=function(){if(this.add_change_suggestion_button&&this.change_suggestion_text_input){var n=this.change_suggestion_text_input.classList.contains("hidden");this.showChangeSuggestionsInput(n);n?(this.add_change_suggestion_button.classList.add("selected"),this.add_change_suggestion_button.setAttribute("aria-pressed","true")):(this.add_change_suggestion_button.classList.remove("selected"),this.add_change_suggestion_button.setAttribute("aria-pressed","false"));this.logUserAction(102)}},e.prototype.addChangeSuggestionKeyPress=function(n){n.key==="Enter"&&this.addChangeSuggestionClicked()},e.prototype.submitChangeSuggestionClicked=function(){var n,t;this.change_suggestion_text_input&&(t=((n=this.change_suggestion_text_input)===null||n===void 0?void 0:n.value.trim())||"",this.changeSuggestionClicked(t),this.change_suggestion_text_input.value="",this.logUserAction(103))},e.prototype.submitChangeSuggestionKeyPress=function(n){var t;n.key==="Enter"&&(this.submitChangeSuggestionClicked(),(t=this.stop_button)===null||t===void 0?void 0:t.focus())},e.prototype.showShimmer=function(n){var t,i,r;n?((t=this.shimmerEl)===null||t===void 0?void 0:t.classList.remove("hidden"),this.hideError(),this.preview_text_area.placeholder=""):((i=this.shimmerEl)===null||i===void 0?void 0:i.classList.add("hidden"),((r=this.errorEl)===null||r===void 0?void 0:r.classList.contains("hidden"))&&(this.preview_text_area.placeholder=this.preview_text_area_placeholder))},e.prototype.hideTextOnApology=function(){this.preview_text_area.value="";this.disclaimer_box.innerText="";this.disclaimer_box.classList.add("hidden")},e.prototype.setSelectedText=function(){return},e.prototype.hideError=function(){var n;(n=this.errorEl)===null||n===void 0?void 0:n.classList.add("hidden");this.disableTextPreview(!1);this.preview_text_area.placeholder=this.preview_text_area_placeholder},e.prototype.enableControlsAfterCaptchaChange=function(n){n?(this.enableGenerateButtons(!0),this.enableInsertButton(!0),this.enableCopyButton(!0),this.updateHistoryButtonStatus()):(this.enableGenerateButtons(!1),this.enableInsertButton(!1),this.enableCopyButton(!1),this.showChangeSuggestions(!1),this.enableHistoryButton(this.prev_button,!1,!1),this.enableHistoryButton(this.next_button,!1,!0))},e.prototype.onCaptchaHidden=function(){var n;(n=this.generate_button)===null||n===void 0?void 0:n.click()},e.prototype.scrollToBottom=function(){this.insert_button?this.insert_button.scrollIntoView({behavior:"smooth"}):this.detached_copy_button?(this.detached_copy_button.scrollIntoView({behavior:"smooth"}),this.resetDetachedCopyButtonText()):this.share_button&&this.share_button.scrollIntoView({behavior:"smooth"})},e.prototype.showChangeSuggestions=function(n){var t;n&&this.change_suggestion_pills?(this.change_suggestion_pills.classList.remove("hidden"),this.createChangeSuggestions(),setTimeout(this.scrollToBottom.bind(this),this.change_suggestion_pills.childElementCount*50)):((t=this.change_suggestion_pills)===null||t===void 0?void 0:t.classList.add("hidden"),this.showChangeSuggestionsInput(!1),this.clearChangeSuggestions())},e.prototype.showChangeSuggestionsInput=function(n){var t,i,r,u;n?((t=this.change_suggestion_text_input)===null||t===void 0?void 0:t.classList.remove("hidden"),(i=this.submit_change_suggestion_button)===null||i===void 0?void 0:i.classList.remove("hidden"),this.scrollToBottom()):((r=this.change_suggestion_text_input)===null||r===void 0?void 0:r.classList.add("hidden"),(u=this.submit_change_suggestion_button)===null||u===void 0?void 0:u.classList.add("hidden"))},e.prototype.disableTextPreview=function(n){var t,i,r,u;n?((t=this.preview_text_area)===null||t===void 0?void 0:t.setAttribute("disabled","true"),(i=document.querySelector("div.preview-options"))===null||i===void 0?void 0:i.classList.add("disabled")):((r=this.preview_text_area)===null||r===void 0?void 0:r.removeAttribute("disabled"),(u=document.querySelector("div.preview-options"))===null||u===void 0?void 0:u.classList.remove("disabled"))},e.prototype.enableCustomToneAddButton=function(n){n?(this.custom_tone_add_button.classList.remove("disabled"),this.setARIADisabled(this.custom_tone_add_button,!1),this.custom_tone_add_button.addEventListener("click",this.addCustomToneButtonClicked),this.custom_tone_add_button.addEventListener("keypress",this.addCustomToneButtonKeyPress)):(this.custom_tone_add_button.classList.add("disabled"),this.setARIADisabled(this.custom_tone_add_button),this.custom_tone_add_button.removeEventListener("click",this.addCustomToneButtonClicked),this.custom_tone_add_button.removeEventListener("keypress",this.addCustomToneButtonKeyPress))},e.prototype.enableCustomTonePlusButton=function(n){n?(this.custom_tone_plus_button.classList.remove("disabled"),this.setARIADisabled(this.custom_tone_plus_button,!1),this.custom_tone_plus_button.addEventListener("click",this.plusCustomToneButtonClicked),this.custom_tone_plus_button.addEventListener("keypress",this.plusCustomToneButtonKeyPress)):(this.custom_tone_plus_button.classList.add("disabled"),this.setARIADisabled(this.custom_tone_plus_button),this.custom_tone_plus_button.removeEventListener("click",this.plusCustomToneButtonClicked),this.custom_tone_plus_button.removeEventListener("keypress",this.plusCustomToneButtonKeyPress))},e.prototype.enableCustomToneEditButton=function(n){n?(this.custom_tone_edit_button.classList.remove("disabled"),this.setARIADisabled(this.custom_tone_edit_button,!1),this.custom_tone_edit_button.addEventListener("click",this.editCustomToneButtonClicked),this.custom_tone_edit_button.addEventListener("keypress",this.editCustomToneButtonKeyPress)):(this.custom_tone_edit_button.classList.add("disabled"),this.setARIADisabled(this.custom_tone_edit_button),this.custom_tone_edit_button.removeEventListener("click",this.editCustomToneButtonClicked),this.custom_tone_edit_button.removeEventListener("keypress",this.editCustomToneButtonKeyPress))},e.prototype.enableCustomToneSaveButton=function(n){n?(this.custom_tone_save_button.classList.remove("disabled"),this.setARIADisabled(this.custom_tone_save_button,!1),this.custom_tone_save_button.addEventListener("click",this.saveCustomToneButtonClicked),this.custom_tone_save_button.addEventListener("keypress",this.saveCustomToneButtonKeyPress)):(this.custom_tone_save_button.classList.add("disabled"),this.setARIADisabled(this.custom_tone_save_button),this.custom_tone_save_button.removeEventListener("click",this.saveCustomToneButtonClicked),this.custom_tone_save_button.removeEventListener("keypress",this.saveCustomToneButtonKeyPress))},e.prototype.enableInsertButton=function(n){n?(this.insert_button&&(this.insert_button.classList.remove("disabled"),this.setARIADisabled(this.insert_button,!1),this.insert_button.addEventListener("click",this.insertButtonClicked),this.insert_button.addEventListener("keypress",this.insertButtonKeyPress)),this.detached_copy_button&&(this.detached_copy_button.classList.remove("disabled"),this.setARIADisabled(this.detached_copy_button,!1),this.detached_copy_button.addEventListener("click",this.copyButtonClicked),this.detached_copy_button.addEventListener("keypress",this.copyButtonKeyPress)),this.share_button&&(this.share_button.classList.remove("disabled"),this.setARIADisabled(this.share_button,!1),this.share_button.addEventListener("click",this.shareButtonClicked)),this.export_button&&(this.export_button.classList.remove("disabled"),this.setARIADisabled(this.export_button,!1),this.export_button.addEventListener("click",this.exportButtonClicked))):(this.insert_button&&(this.resetDetachedCopyButtonText(),this.insert_button.classList.add("disabled"),this.setARIADisabled(this.insert_button),this.insert_button.removeEventListener("click",this.insertButtonClicked),this.insert_button.removeEventListener("keypress",this.insertButtonKeyPress)),this.detached_copy_button&&(this.resetDetachedCopyButtonText(),this.detached_copy_button.classList.add("disabled"),this.setARIADisabled(this.detached_copy_button),this.detached_copy_button.removeEventListener("click",this.copyButtonClicked),this.detached_copy_button.removeEventListener("keypress",this.copyButtonKeyPress)),this.share_button&&(this.share_button.classList.add("disabled"),this.setARIADisabled(this.share_button),this.share_button.removeEventListener("click",this.shareButtonClicked)),this.export_button&&(this.export_button.classList.add("disabled"),this.setARIADisabled(this.export_button),this.export_button.removeEventListener("click",this.exportButtonClicked)))},e.prototype.resetDetachedCopyButtonText=function(){this.detached_copy_button!==undefined&&(this.detached_copy_button.innerText=this.uiStrings.copy,this.detached_copy_button.setAttribute("aria-label",this.uiStrings.copy))},e.prototype.updateHistoryButtonStatus=function(){var n=this.historyIndex>0,t=this.historyIndex<this.history.length-1;this.enableHistoryButton(this.prev_button,n,!1);this.enableHistoryButton(this.next_button,t,!0)},e.prototype.enableHistoryButton=function(n,t,i){n&&(t?(n.classList.remove("disabled"),this.setARIADisabled(n,!1),n.addEventListener("click",i?this.nextButtonClicked:this.prevButtonClicked),n.addEventListener("keypress",i?this.nextButtonClicked:this.prevButtonKeyPress)):(n.classList.add("disabled"),this.setARIADisabled(n),n.removeEventListener("click",i?this.nextButtonClicked:this.prevButtonClicked),n.removeEventListener("keypress",i?this.nextButtonClicked:this.prevButtonClicked)))},e.prototype.enableConversationIdCopyButton=function(n){this.conversation_id_copy_button&&(n?(this.conversation_id_copy_button.classList.remove("disabled"),this.setARIADisabled(this.conversation_id_copy_button,!1),this.conversation_id_copy_button.addEventListener("click",this.conversationIdCopyButtonClicked),this.conversation_id_copy_button.addEventListener("keypress",this.conversationIdCopyButtonKeyPress)):(this.conversation_id_copy_button.classList.add("disabled"),this.setARIADisabled(this.conversation_id_copy_button),this.conversation_id_copy_button.removeEventListener("click",this.conversationIdCopyButtonClicked),this.conversation_id_copy_button.removeEventListener("keypress",this.conversationIdCopyButtonKeyPress)))},e.prototype.enableCopyButton=function(n){this.copy_button&&(n?(this.copy_button.classList.remove("disabled"),this.setARIADisabled(this.copy_button,!1),this.copy_button.addEventListener("click",this.copyButtonClicked),this.copy_button.addEventListener("keypress",this.copyButtonKeyPress)):(this.copy_button.classList.add("disabled"),this.setARIADisabled(this.copy_button),this.copy_button.removeEventListener("click",this.copyButtonClicked),this.copy_button.removeEventListener("keypress",this.copyButtonKeyPress)))},e.prototype.enableStopButton=function(n){this.stop_button&&(n?(this.stop_button.classList.remove("disabled"),this.setARIADisabled(this.stop_button,!1),this.stop_button.addEventListener("click",this.stopButtonClicked),this.stop_button.addEventListener("keypress",this.stopButtonKeyPress)):(this.stop_button.classList.add("disabled"),this.setARIADisabled(this.stop_button),this.stop_button.removeEventListener("click",this.stopButtonClicked),this.stop_button.removeEventListener("keypress",this.stopButtonKeyPress)))},e.prototype.enableGenerateButtons=function(n){this.enableGenerateButton(this.generate_button,n);this.enableGenerateButton(this.regenerate_button,n)},e.prototype.enableGenerateButton=function(n,t){t?(n.classList.remove("disabled"),this.setARIADisabled(n,!1),n.addEventListener("click",this.generateButtonClicked),n.addEventListener("keypress",this.generateButtonKeyPress)):(n.classList.add("disabled"),this.setARIADisabled(n),n.removeEventListener("click",this.generateButtonClicked),n.removeEventListener("keypress",this.generateButtonKeyPress))},e.prototype.enableSubmitChangeSuggestionButton=function(n){n?(this.submit_change_suggestion_button.classList.remove("disabled"),this.setARIADisabled(this.submit_change_suggestion_button,!1),this.submit_change_suggestion_button.addEventListener("click",this.submitChangeSuggestionClicked),this.submit_change_suggestion_button.addEventListener("keypress",this.submitChangeSuggestionKeyPress)):(this.submit_change_suggestion_button.classList.add("disabled"),this.setARIADisabled(this.submit_change_suggestion_button),this.submit_change_suggestion_button.removeEventListener("click",this.submitChangeSuggestionClicked),this.submit_change_suggestion_button.removeEventListener("keypress",this.submitChangeSuggestionKeyPress))},e.prototype.setARIADisabled=function(n,t){(t===void 0&&(t=!0),n)&&(t?(n.setAttribute("aria-disabled","true"),n.removeAttribute("tabindex")):(n.setAttribute("aria-disabled","false"),n.setAttribute("tabindex","0")))},e.prototype.getSelectedOptions=function(){var u=this,r,n="paragraph",t="professional",i="short",f=(r=this.compose_text_area)===null||r===void 0?void 0:r.value.trim();return this.all_format_options.forEach(function(t){if(t.classList.contains("selected")){n=t.getAttribute("unloc-name")||"";n===u.formatOptions.bulletPoints&&(n="bullet point list");return}}),this.all_tone_options.forEach(function(n){var i=n;if(n.classList.contains("selected")){t=i.getAttribute("unloc-name")||"";return}}),this.all_length_options.forEach(function(n){var t=n;if(n.classList.contains("selected")){i=t.getAttribute("unloc-name")||"";return}}),n=n.toLowerCase(),t=t.toLowerCase(),i=i.toLowerCase(),{format:n,tone:t,length:i,prompt:f}},e.prototype.getMaxPromptLength=function(){return i.max_prompt_length},e.prototype.generateButtonClicked=function(n){var i,r,u,e,o;this.stopStream();this.showChangeSuggestions(!1);var t=this.getSelectedOptions(),s=t.format,h=t.tone,c=t.length,f=t.prompt;f=f.substring(0,this.getMaxPromptLength());e=this.getTextGenerationPrompt(s,h,c,f);this.updateUIWhileFetchingData();this.requestGeneration(e,!0);this.enableStopButton(!0);(i=this.preview_text_area)===null||i===void 0?void 0:i.removeEventListener("input",this.logPreviewTextModified);o=n.currentTarget;o==this.generate_button?(this.logUserAction(100),(r=this.perfTracker)===null||r===void 0?void 0:r.markEvent("GenerationRequested","GenerateButtonClicked")):(this.logUserAction(113),(u=this.perfTracker)===null||u===void 0?void 0:u.markEvent("GenerationRequested","TryAgainButtonClicked"))},e.prototype.updateUIWhileFetchingData=function(){this.alertARIAMessage(this.ariaAlerts.generating,!0);this.preview_text_area.value="";this.disclaimer_box&&(this.disclaimer_box.innerText="",this.disclaimer_box.classList.add("hidden"));this.showShimmer(!0);this.scrollToBottom();this.enableGenerateButtons(!1);this.enableInsertButton(!1);this.enableHistoryButton(this.prev_button,!1,!1);this.enableHistoryButton(this.next_button,!1,!0)},e.prototype.conversationIdCopyButtonClicked=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){switch(n.label){case 0:return[4,navigator.clipboard.writeText(this.conversation_id)];case 1:return n.sent(),[2]}})})},e.prototype.copyButtonClicked=function(){var t,i;return __awaiter(this,void 0,void 0,function(){var r,u,f;return __generator(this,function(e){switch(e.label){case 0:return(r=this.preview_text_area.value.trim()||"",this.alertARIAMessage(this.ariaAlerts.copy,!0),u=(i=(t=_w._udsCoAuthorConfig)===null||t===void 0?void 0:t.ComposeUnion)!==null&&i!==void 0?i:!1,!u)?[3,1]:(f={partner:"Compose",action:"setClipboard",data:{type:"text",text:{value:r}}},n.GC.PostMessage.parent("copyToClipboard",f),[3,3]);case 1:return[4,navigator.clipboard.writeText(r)];case 2:e.sent();e.label=3;case 3:return this.detached_copy_button!==undefined?(this.detached_copy_button.innerText=this.uiStrings.copied,this.logUserAction(300),[2]):(this.logUserAction(104),[2])}})})},e.prototype.shareButtonClicked=function(){var t,i=(t=this.preview_text_area)===null||t===void 0?void 0:t.value,r={partner:"Compose",appId:"",data:{scenario:"Share",action:"shareText",text:i}};n.GC.PostMessage.parent("shareText",r);this.logUserAction(500)},e.prototype.exportButtonClicked=function(){var n;return __awaiter(this,void 0,void 0,function(){var t,i,r,u;return __generator(this,function(f){switch(f.label){case 0:return CIB.exportContentToFile?(t="docx",i={filename:"compose"},r={},u=(n=this.preview_text_area)===null||n===void 0?void 0:n.value,[4,CIB.exportContentToFile(t,u,i,r)]):[2];case 1:return f.sent(),this.logUserAction(501),[2]}})})},e.prototype.stopButtonClicked=function(){this.user_stopped_stream=!0;this.stopStream();this.enableStopButton(!1);this.logUserAction(105)},e.prototype.plusCustomToneButtonClicked=function(){var n,t,i,r,u,f;this.removeSelectionFromTones();(n=this.custom_tone_text_input)===null||n===void 0?void 0:n.classList.remove("hidden");(t=this.custom_tone_text_input)===null||t===void 0?void 0:t.focus();(i=this.custom_tone_add_button)===null||i===void 0?void 0:i.classList.remove("hidden");((r=this.custom_tone_plus_button)===null||r===void 0?void 0:r.classList.contains("selected"))||((u=this.custom_tone_plus_button)===null||u===void 0?void 0:u.classList.add("selected"),(f=this.custom_tone_plus_button)===null||f===void 0?void 0:f.setAttribute("aria-checked","true"));this.logUserAction(106)},e.prototype.addCustomToneButtonClicked=function(){var u=this,e,o,s,h,c,l,n,f;this.custom_tone_value=((e=this.custom_tone_text_input)===null||e===void 0?void 0:e.value.trim())||"";l="<span>".concat(this.custom_tone_value,"<\/span>");this.custom_tone=r(l,"tone-option tag");this.setARIAattrForRadioButton(this.custom_tone,this.custom_tone.innerText.trim());this.custom_tone.id="custom_tone";this.custom_tone.setAttribute(i.unlocalized_attr_name,this.custom_tone.innerText.trim());this.custom_tone.addEventListener("click",function(){return u.toneOptionClicked(u.custom_tone)});this.custom_tone.addEventListener("keypress",function(n){return u.toneOptionKeyPress(n,u.custom_tone)});n=r(t.penSVG,"tag selected");this.setARIAattrForTag(n,this.customToneButtonTextValues.edit);n.id="custom_tone_edit_button";f=r("","custom_tone_container");f.appendChild(this.custom_tone);f.appendChild(n);this.custom_tone_edit_button=n;this.editCustomToneButtonClicked=this.editCustomToneButtonClicked.bind(this);this.editCustomToneButtonKeyPress=this.editCustomToneButtonKeyPress.bind(this);(o=document.querySelector(".tone-options"))===null||o===void 0?void 0:o.appendChild(f);this.all_tone_options.push(this.custom_tone);this.toneOptionClicked(this.custom_tone);(s=this.custom_tone_text_input)===null||s===void 0?void 0:s.classList.add("hidden");(h=this.custom_tone_plus_button)===null||h===void 0?void 0:h.classList.add("hidden");(c=this.custom_tone_add_button)===null||c===void 0?void 0:c.classList.add("hidden");this.enableCustomTonePlusButton(!1);this.enableCustomToneAddButton(!1);this.enableCustomToneEditButton(!0);this.logUserAction(107)},e.prototype.editCustomToneButtonClicked=function(){var n,t,i,r;this.toneOptionClicked(this.custom_tone);(n=this.custom_tone_text_input)===null||n===void 0?void 0:n.classList.remove("hidden");(t=this.custom_tone_save_button)===null||t===void 0?void 0:t.classList.remove("hidden");(i=this.custom_tone_edit_button)===null||i===void 0?void 0:i.classList.add("selected");(r=this.custom_tone_text_input)===null||r===void 0?void 0:r.focus();this.logUserAction(108)},e.prototype.saveCustomToneButtonClicked=function(){var n,t,r;if((n=this.custom_tone_text_input)===null||n===void 0?void 0:n.classList.add("hidden"),(t=this.custom_tone_save_button)===null||t===void 0?void 0:t.classList.add("hidden"),this.enableCustomToneSaveButton(!1),this.enableCustomToneEditButton(!0),this.custom_tone_text_input&&this.custom_tone_text_input.value.length<i.min_custom_tone_length){this.enableCustomTonePlusButton(!0);this.removeCustomTone();this.selectDefaultTone();return}this.custom_tone_value=((r=this.custom_tone_text_input)===null||r===void 0?void 0:r.value.trim())||"";this.custom_tone.innerHTML="<span>".concat(this.custom_tone_value,"<\/span>");this.custom_tone.setAttribute(i.unlocalized_attr_name,this.custom_tone.innerText.trim());this.setARIAattrForRadioButton(this.custom_tone,this.custom_tone.innerText.trim());this.logUserAction(109)},e.prototype.insertButtonClicked=function(){this.logUserAction(112);u.postMessage("InsertToPage",{text:this.preview_text_area.value})},e.prototype.writeHistoryEntry=function(n,t){this.history.push({disclaimer_text:n,generated_content:t});this.historyIndex=this.history.length-1;this.updateHistoryButtonStatus()},e.prototype.prevButtonClicked=function(){this.historyIndex<1||(this.historyIndex=this.historyIndex-1,this.historyButtonClicked(),this.logUserAction(110))},e.prototype.nextButtonClicked=function(){this.historyIndex>=this.history.length||(this.historyIndex=this.historyIndex+1,this.historyButtonClicked(),this.logUserAction(111))},e.prototype.historyButtonClicked=function(){var n=this.history[this.historyIndex],t=n.disclaimer_text,r=n.generated_content,i;t.length>0&&(this.disclaimer_box.textContent=t,this.disclaimer_box.classList.remove("hidden"));this.preview_text_area.value=r;this.hideError();this.updateHistoryButtonStatus();i=this.historyIndex+1;this.alertARIAMessage(this.ariaAlerts.showDraft+i+this.ariaAlerts.showDraftTotal+this.history.length,!0)},e.prototype.conversationIdCopyButtonKeyPress=function(n){n.key==="Enter"&&this.conversationIdCopyButtonClicked()},e.prototype.copyButtonKeyPress=function(n){n.key==="Enter"&&this.copyButtonClicked()},e.prototype.stopButtonKeyPress=function(n){n.key==="Enter"&&this.stopButtonClicked()},e.prototype.generateButtonKeyPress=function(n){var t;n.key==="Enter"&&(this.generateButtonClicked(n),(t=this.stop_button)===null||t===void 0?void 0:t.focus())},e.prototype.addCustomToneButtonKeyPress=function(n){var t;n.key==="Enter"&&(this.addCustomToneButtonClicked(),(t=this.custom_tone_edit_button)===null||t===void 0?void 0:t.focus())},e.prototype.plusCustomToneButtonKeyPress=function(n){var t=n.key;(t==="Enter"||t==="Space")&&this.plusCustomToneButtonClicked()},e.prototype.editCustomToneButtonKeyPress=function(n){n.key==="Enter"&&this.editCustomToneButtonClicked()},e.prototype.saveCustomToneButtonKeyPress=function(n){var t,i;n.key==="Enter"&&(this.saveCustomToneButtonClicked(),this.custom_tone_value.length===0?(t=this.custom_tone_plus_button)===null||t===void 0?void 0:t.focus():(i=this.custom_tone_edit_button)===null||i===void 0?void 0:i.focus())},e.prototype.insertButtonKeyPress=function(n){n.key==="Enter"&&this.insertButtonClicked()},e.prototype.prevButtonKeyPress=function(n){n.key==="Enter"&&this.prevButtonClicked()},e.prototype.nextButtonKeyPress=function(n){n.key==="Enter"&&this.nextButtonClicked()},e.prototype.replaceNewlines=function(n){return n.trim().replace(/\n{3,}/g,"\n\n")},e.prototype.setPreviewText=function(n,t,i){var u,r;t===void 0&&(t="");i===void 0&&(i="");this.beginStreamingTimeout&&clearTimeout(this.beginStreamingTimeout);this.preview_text_area.value=n;r=t+i;r=this.replaceNewlines(r);r.length>0&&(this.disclaimer_box.innerText=r,this.disclaimer_box.classList.remove("hidden"));this.showShimmer(!1);this.enableInsertButton(!0);this.enableCopyButton(!0);this.show_conversation_id&&this.enableConversationIdCopyButton(!0);this.disableTextPreview(!1);this.preview_text_area.scrollTop=this.preview_text_area.scrollHeight;this.firstTokenRendered||((u=this.perfTracker)===null||u===void 0?void 0:u.markEvent("FirstTokenRendered"),this.firstTokenRendered=!0)},e.prototype.logPreviewTextModified=function(){this.logUserAction(114)},e.prototype.onStreamFinished=function(n,t){var i,r,u,f;this.stream_finished_successfully&&(this.logError(18),this.alertARIAMessage(this.ariaAlerts.success,!0),this.lastTokenRendered||((i=this.perfTracker)===null||i===void 0?void 0:i.markEvent("LastTokenRendered"),this.lastTokenRendered=!0));u=(this.disclaimer_box||{}).innerText;f=u===void 0?"":u;(f.length>0||this.preview_text_area.value.length>0)&&this.writeHistoryEntry(this.disclaimer_box.innerText,this.preview_text_area.value);n==t&&(this.updateGenerateButtons(),this.updateHistoryButtonStatus(),this.conversation_turn_count>=this.conversationTurnMax?(this.showChangeSuggestions(!1),this.enableGenerateButton(this.regenerate_button,!1)):this.stream_finished_successfully&&this.changeSuggestions.length>0?this.showChangeSuggestions(!0):this.user_stopped_stream&&this.showChangeSuggestionsInput(!0),(r=this.preview_text_area)===null||r===void 0?void 0:r.addEventListener("input",this.logPreviewTextModified,{once:!0}),this.enableStopButton(!1))},e.prototype.setARIAattrForTag=function(n,t){n.setAttribute("role","button");n.setAttribute("aria-pressed","false");n.setAttribute("aria-label",t);n.setAttribute("name",t);n.setAttribute("tabindex","0")},e.prototype.setARIAattrForRadioButton=function(n,t){n.setAttribute("role","radio");n.setAttribute("aria-checked","false");n.setAttribute("aria-label",t);n.setAttribute("tabindex","0")},e.changeSuggestionsMaxCharPerLine=46,e.changeSuggestionsMaxLines=2,e.changeSuggestionsMax=3,e}(i);t.CoAuthorSidebarUI=f;e=function(u){function f(){var n=u.call(this)||this;return n.input_screen=undefined,n.preview_screen=undefined,n.overlayEl=undefined,n.overlayContentEl=undefined,n.compose_text_area=undefined,n.letter_counter=undefined,n.preview_back_button=undefined,n.disclaimer_box=undefined,n.preview_text_area_placeholder="",n.shimmerEl=undefined,n.optionsSummaryEl=undefined,n.close_button=undefined,n.adjust_style_button=undefined,n.stop_button=undefined,n.generate_button=undefined,n.copy_button=undefined,n.regenerate_button=undefined,n.prev_button=undefined,n.next_button=undefined,n.adjust_style_inline_button=undefined,n.history=[],n.historyIndex=0,n}return __extends(f,u),f.prototype.initUI=function(){var u=this,s,h,c,e,o,f,l;this.input_screen=document.getElementById("mobile_scinput");this.compose_text_area=document.getElementById("prompt_text");this.letter_counter=document.getElementById("letter_counter");this.adjust_style_button=document.getElementById("mobile_adjust_style");this.compose_text_area.addEventListener("input",function(){var n;u.compose_text_area.style.height="14px";u.compose_text_area.style.height=((n=u.compose_text_area)===null||n===void 0?void 0:n.scrollHeight)+"px"});this.compose_text_area.addEventListener("input",function(n){return u.composeTextAreaChanged(n)});this.compose_text_area.addEventListener("keydown",function(n){return u.alertComposeTextAreaLimitReached(n)});this.compose_text_area.setAttribute("maxlength","".concat(i.max_prompt_length));this.compose_text_area.setAttribute("aria-label","".concat(this.ariaLabels.promptAreaLabel," ").concat(i.max_prompt_length));this.letter_counter.setAttribute("aria-valuemax","".concat(i.max_prompt_length));e=document.getElementById("mobile_adjust_style_icon");o=document.getElementById("mobile_arrow_icon");e===null||e===void 0?void 0:e.appendChild(r(t.adjustIcon));o===null||o===void 0?void 0:o.appendChild(r(t.rightIcon));this.preview_screen=document.getElementById("mobile_scpreview");this.preview_back_button=document.querySelector("#mobile_back_button")||undefined;this.preview_text_area=document.getElementById("preview_text");this.disclaimer_box=document.getElementById("disclaimer_box");this.preview_text_area_placeholder=this.preview_text_area.placeholder;this.shimmerEl=document.getElementById("shimmer");this.errorEl=document.getElementById("error");this.optionsSummaryEl=document.getElementById("options_summary");this.captchaEl=document.getElementById("captcha_container");this.copy_button=document.querySelector("#copy_button")||undefined;this.stop_button=document.querySelector("#stop_button")||undefined;this.generate_button=document.querySelector("#compose_button")||undefined;this.adjust_style_inline_button=document.querySelector("#adjust_style_inline_button");this.next_button=document.querySelector("#next_button");this.prev_button=document.querySelector("#previous_button");this.regenerate_button=document.querySelector("#regenerate_button");this.adjust_style_inline_button.appendChild(r(t.adjustIcon));this.prev_button.appendChild(r(t.prevIcon));this.next_button.appendChild(r(t.nextIcon));this.regenerate_button.appendChild(r(t.generateIcon));this.errorEl.prepend(r(t.warningSVG));(s=this.stop_button)===null||s===void 0?void 0:s.prepend(r(t.stopIcon));(h=this.preview_back_button)===null||h===void 0?void 0:h.appendChild(r(t.leftIcon));this.preview_text_area.addEventListener("input",function(){var n;u.preview_text_area.style.height="14px";u.preview_text_area.style.height=((n=u.preview_text_area)===null||n===void 0?void 0:n.scrollHeight)+"px"});this.overlayEl=document.getElementById("mobile_overlay");this.overlayContentEl=document.querySelector("#mobile_overlay .content")||undefined;this.createStyleOptions();f=document.getElementById("mobile_overlay_back_button");f===null||f===void 0?void 0:f.appendChild(r(t.leftIcon));l=document.getElementById("mobile_apply_button");this.close_button=document.getElementById("mobile_close_button");(c=this.close_button)===null||c===void 0?void 0:c.appendChild(r(t.closeIcon));this.generateButtonClicked=this.generateButtonClicked.bind(this);this.generateButtonKeyPress=this.generateButtonKeyPress.bind(this);this.copyButtonClicked=this.copyButtonClicked.bind(this);this.copyButtonKeyPress=this.copyButtonKeyPress.bind(this);this.stopButtonClicked=this.stopButtonClicked.bind(this);this.stopButtonKeyPress=this.stopButtonKeyPress.bind(this);this.adjustStylesButtonClicked=this.adjustStylesButtonClicked.bind(this);this.previewBackButtonClicked=this.previewBackButtonClicked.bind(this);this.overlayBackButtonClicked=this.overlayBackButtonClicked.bind(this);this.overlayApplyButtonClicked=this.overlayApplyButtonClicked.bind(this);this.preselectOptionsForDefaultState();this.setSelectedOptionsSummaryText();this.enableAdjustStyleButtons(!0);this.enableGenerateButtons(!0);this.enableStopButton(!1);this.enableCopyButton(!1);this.updateHistoryButtonStatus();this.setARIADisabled(f,!1);f.addEventListener("click",this.overlayBackButtonClicked);l.addEventListener("click",this.overlayApplyButtonClicked);this.setARIADisabled(this.preview_back_button,!1);this.preview_back_button.addEventListener("click",this.previewBackButtonClicked);this.tryToSetPresetTextFromUrl();this.updateCharCounter();this.compose_text_area.focus();sj_evt.fire(n.DiscoverPageLoadEventName,{})},f.prototype.showChangeSuggestions=function(){},f.prototype.getPresetTextFromUrl=function(){var n=new URLSearchParams(_w.location.search);return n.get(t.QueryParam_SetText)||""},f.prototype.tryToSetPresetTextFromUrl=function(){var i,n=this.getPresetTextFromUrl();n&&(n=n.substring(0,t.QueryParam_SetText_Max_Length),this.compose_text_area.value=n,(i=this.compose_text_area)===null||i===void 0?void 0:i.dispatchEvent(new Event("input")))},f.prototype.createStyleOptions=function(){var t=document.querySelector("#mobile_style_options");if(t){var i=[{label:this.toneOptions.professional,localizedLabel:this.localizedToneOptions.professional},{label:this.toneOptions.casual,localizedLabel:this.localizedToneOptions.casual},{label:this.toneOptions.enthusiastic,localizedLabel:this.localizedToneOptions.enthusiastic},{label:this.toneOptions.informational,localizedLabel:this.localizedToneOptions.informational},{label:this.toneOptions.funny,localizedLabel:this.localizedToneOptions.funny},],r=[{label:this.formatOptions.paragraph,localizedLabel:this.localizedFormatOptions.paragraph},{label:this.formatOptions.email,localizedLabel:this.localizedFormatOptions.email},{label:this.formatOptions.blogPost,localizedLabel:this.localizedFormatOptions.blogPost},{label:this.formatOptions.bulletPoints,localizedLabel:this.localizedFormatOptions.bulletPoints}],u=[{label:this.lengthOptions.short,localizedLabel:this.localizedLengthOptions.short},{label:this.lengthOptions.medium,localizedLabel:this.localizedLengthOptions.medium},{label:this.lengthOptions.long,localizedLabel:this.localizedLengthOptions.long},],n=new DocumentFragment;n.append.apply(n,this.createStyleOptionsListElement(this.uiStrings.tone,i,"tone"));n.append.apply(n,this.createStyleOptionsListElement(this.uiStrings.format,r,"format"));n.append.apply(n,this.createStyleOptionsListElement(this.uiStrings.length,u,"length"));t.appendChild(n)}},f.prototype.createStyleOptionsListElement=function(n,u,f){var e=[],o=document.createElement("lh");return o.textContent=n,e.push(o),u.forEach(function(n){var o=r(t.mobileCheckmarkIcon,"icon"),u=document.createElement("li");u.setAttribute("role","option");u.classList.add(f);u.textContent=n.localizedLabel;u.setAttribute("aria-label",n.localizedLabel);u.prepend(o);u.setAttribute(i.unlocalized_attr_name,n.label);e.push(u);u.addEventListener("click",function(){var n=document.querySelectorAll("#mobile_style_options li.".concat(f));n.forEach(function(n){n.classList.remove("selected");n.setAttribute("aria-selected","false")});u.setAttribute("aria-selected","true");u.classList.add("selected")})}),e},f.prototype.updateGenerateButtons=function(){this.compose_text_area&&this.compose_text_area.textLength>2?this.enableGenerateButtons(!0):this.enableGenerateButtons(!1)},f.prototype.updateCharCounter=function(){if(this.letter_counter&&this.compose_text_area){var n=this.compose_text_area.textLength;this.letter_counter.textContent="".concat(n,"/").concat(i.max_prompt_length);this.letter_counter.setAttribute("aria-label","".concat(n," ").concat(this.ariaLabels.letterCounterLabel));this.letter_counter.setAttribute("aria-valuenow","".concat(n))}},f.prototype.composeTextAreaChanged=function(){this.updateGenerateButtons();this.updateCharCounter()},f.prototype.alertComposeTextAreaLimitReached=function(){this.compose_text_area.textLength==i.max_prompt_length&&this.alertARIAMessage("".concat(i.max_prompt_length," ").concat(this.ariaAlerts.charLimitReached),!1)},f.prototype.preselectOptionsForDefaultState=function(){var r=document.querySelector("#mobile_style_options li.tone[".concat(i.unlocalized_attr_name,'="').concat(this.toneOptions.professional,'"]')),n,t;r===null||r===void 0?void 0:r.setAttribute("aria-selected","true");r===null||r===void 0?void 0:r.classList.add("selected");n=document.querySelector("#mobile_style_options li.format[".concat(i.unlocalized_attr_name,'="').concat(this.formatOptions.paragraph,'"]'));n===null||n===void 0?void 0:n.setAttribute("aria-selected","true");n===null||n===void 0?void 0:n.classList.add("selected");t=document.querySelector("#mobile_style_options li.length[".concat(i.unlocalized_attr_name,'="').concat(this.lengthOptions.short,'"]'));t===null||t===void 0?void 0:t.setAttribute("aria-selected","true");t===null||t===void 0?void 0:t.classList.add("selected")},f.prototype.showShimmer=function(n){var t,i,r;n?((t=this.shimmerEl)===null||t===void 0?void 0:t.classList.remove("hidden"),this.hideError(),this.preview_text_area.placeholder=""):((i=this.shimmerEl)===null||i===void 0?void 0:i.classList.add("hidden"),((r=this.errorEl)===null||r===void 0?void 0:r.classList.contains("hidden"))&&(this.preview_text_area.placeholder=this.preview_text_area_placeholder))},f.prototype.hideTextOnApology=function(){this.preview_text_area.value="";this.disclaimer_box.innerText=""},f.prototype.setSelectedText=function(){return},f.prototype.hideError=function(){var n;(n=this.errorEl)===null||n===void 0?void 0:n.classList.add("hidden");this.disableTextPreview(!1);this.preview_text_area.placeholder=this.preview_text_area_placeholder},f.prototype.onCaptchaHidden=function(){this.generateButtonClicked()},f.prototype.enableControlsAfterCaptchaChange=function(n){n?(this.enableAdjustStyleButtons(!0),this.enableGenerateButtons(!0),this.updateHistoryButtonStatus()):(this.enableAdjustStyleButtons(!1),this.enableGenerateButtons(!1),this.enableStopButton(!1),this.enableCopyButton(!1),this.enableHistoryButton(this.prev_button,!1,!1),this.enableHistoryButton(this.next_button,!1,!0))},f.prototype.disableTextPreview=function(n){var t,i,r,u;n?((t=this.preview_text_area)===null||t===void 0?void 0:t.setAttribute("disabled","true"),(i=document.querySelector("div.preview-options"))===null||i===void 0?void 0:i.classList.add("disabled")):((r=this.preview_text_area)===null||r===void 0?void 0:r.removeAttribute("disabled"),(u=document.querySelector("div.preview-options"))===null||u===void 0?void 0:u.classList.remove("disabled"))},f.prototype.resetCopyButtonText=function(){this.copy_button!==undefined&&(this.copy_button.innerText=this.uiStrings.copy,this.copy_button.setAttribute("aria-label",this.uiStrings.copy))},f.prototype.updateHistoryButtonStatus=function(){var n=this.historyIndex>0,t=this.historyIndex<this.history.length-1;this.enableHistoryButton(this.prev_button,n,!1);this.enableHistoryButton(this.next_button,t,!0)},f.prototype.enableHistoryButton=function(n,t,i){t?(n.classList.remove("disabled"),this.setARIADisabled(n,!1),n.addEventListener("click",i?this.nextButtonClicked:this.prevButtonClicked),n.addEventListener("keypress",i?this.nextButtonKeyPress:this.prevButtonKeyPress)):(n.classList.add("disabled"),this.setARIADisabled(n),n.removeEventListener("click",i?this.nextButtonClicked:this.prevButtonClicked),n.removeEventListener("keypress",i?this.nextButtonKeyPress:this.prevButtonKeyPress))},f.prototype.enableStopButton=function(n){var t,i,r,u,f,e;n?((t=this.stop_button)===null||t===void 0?void 0:t.classList.remove("disabled"),this.setARIADisabled(this.stop_button,!1),(i=this.stop_button)===null||i===void 0?void 0:i.addEventListener("click",this.stopButtonClicked),(r=this.stop_button)===null||r===void 0?void 0:r.addEventListener("keypress",this.stopButtonKeyPress)):((u=this.stop_button)===null||u===void 0?void 0:u.classList.add("disabled"),this.setARIADisabled(this.stop_button),(f=this.stop_button)===null||f===void 0?void 0:f.removeEventListener("click",this.stopButtonClicked),(e=this.stop_button)===null||e===void 0?void 0:e.removeEventListener("keypress",this.stopButtonKeyPress))},f.prototype.enableCopyButton=function(n){var t,i,r,u,f,e;n?((t=this.copy_button)===null||t===void 0?void 0:t.classList.remove("disabled"),this.setARIADisabled(this.copy_button,!1),(i=this.copy_button)===null||i===void 0?void 0:i.addEventListener("click",this.copyButtonClicked),(r=this.copy_button)===null||r===void 0?void 0:r.addEventListener("keypress",this.copyButtonKeyPress)):((u=this.copy_button)===null||u===void 0?void 0:u.classList.add("disabled"),this.setARIADisabled(this.copy_button),(f=this.copy_button)===null||f===void 0?void 0:f.removeEventListener("click",this.copyButtonClicked),(e=this.copy_button)===null||e===void 0?void 0:e.removeEventListener("keypress",this.copyButtonKeyPress))},f.prototype.enableGenerateButtons=function(n){this.enableGenerateButton(this.generate_button,n);this.enableGenerateButton(this.regenerate_button,n)},f.prototype.enableGenerateButton=function(n,t){t?(n.classList.remove("disabled"),this.setARIADisabled(n,!1),n.addEventListener("click",this.generateButtonClicked),n.addEventListener("keypress",this.generateButtonKeyPress)):(n.classList.add("disabled"),this.setARIADisabled(n),n.removeEventListener("click",this.generateButtonClicked),n.removeEventListener("keypress",this.generateButtonKeyPress))},f.prototype.enableAdjustStyleButtons=function(n){this.adjust_style_button&&this.adjust_style_inline_button&&(n?(this.adjust_style_button.classList.remove("disabled"),this.setARIADisabled(this.adjust_style_button,!1),this.adjust_style_button.addEventListener("click",this.adjustStylesButtonClicked),this.adjust_style_inline_button.classList.remove("disabled"),this.setARIADisabled(this.adjust_style_inline_button,!1),this.adjust_style_inline_button.addEventListener("click",this.adjustStylesButtonClicked)):(this.adjust_style_button.classList.add("disabled"),this.setARIADisabled(this.adjust_style_button),this.adjust_style_button.removeEventListener("click",this.adjustStylesButtonClicked),this.adjust_style_inline_button.classList.add("disabled"),this.setARIADisabled(this.adjust_style_inline_button),this.adjust_style_inline_button.removeEventListener("click",this.adjustStylesButtonClicked)))},f.prototype.setARIADisabled=function(n,t){t===void 0&&(t=!0);t?n.setAttribute("aria-disabled","true"):n.setAttribute("aria-disabled","false")},f.prototype.getSelectedOptions=function(){var f,n="paragraph",t="professional",i="short",o=((f=this.compose_text_area)===null||f===void 0?void 0:f.value.trim())||"",e=document.querySelector("#mobile_style_options li.tone.selected"),r,u;return t=(e===null||e===void 0?void 0:e.getAttribute("aria-label"))||t,r=document.querySelector("#mobile_style_options li.format.selected"),n=(r===null||r===void 0?void 0:r.getAttribute("aria-label"))||n,u=document.querySelector("#mobile_style_options li.length.selected"),i=(u===null||u===void 0?void 0:u.getAttribute("aria-label"))||i,n=n.toLowerCase(),t=t.toLowerCase(),i=i.toLowerCase(),{format:n,tone:t,length:i,prompt:o}},f.prototype.setSelectedOptionsSummaryText=function(){if(this.optionsSummaryEl){var t=this.getSelectedOptions(),n=t.format,i=t.tone,r=t.length;n=n[0].toLocaleUpperCase()+n.substring(1);this.optionsSummaryEl.innerText="".concat(n,", ").concat(i,", ").concat(r)}},f.prototype.generateButtonClicked=function(){var r;this.stopStream();var n=this.getSelectedOptions(),u=n.format,f=n.tone,e=n.length,t=n.prompt;t=t.substring(0,i.max_prompt_length);r=this.getTextGenerationPrompt(u,f,e,t);this.updateUIWhileFetchingData();this.requestGeneration(r,!0);this.enableStopButton(!0);this.logUserAction(400)},f.prototype.previewBackButtonClicked=function(){var n,t;(n=this.input_screen)===null||n===void 0?void 0:n.classList.remove("hidden");(t=this.preview_screen)===null||t===void 0?void 0:t.classList.add("hidden");this.logUserAction(401)},f.prototype.overlayBackButtonClicked=function(){var n,t;(n=this.input_screen)===null||n===void 0?void 0:n.classList.remove("hidden");(t=this.preview_screen)===null||t===void 0?void 0:t.classList.add("hidden");this.hideOverlay();this.logUserAction(402)},f.prototype.overlayApplyButtonClicked=function(){this.hideOverlay();this.generateButtonClicked();this.logUserAction(403)},f.prototype.adjustStylesButtonClicked=function(){this.showOverlay();this.logUserAction(404)},f.prototype.showOverlay=function(){var i=this,n,t;(n=this.overlayEl)===null||n===void 0?void 0:n.classList.remove("hidden");(t=this.overlayContentEl)===null||t===void 0?void 0:t.classList.add("slideInFromBottom");this.overlayEl.addEventListener("click",function(n){var t;!n.target||((t=i.overlayContentEl)===null||t===void 0?void 0:t.contains(n.target))||i.hideOverlay()})},f.prototype.hideOverlay=function(){var n=this,t,i,r;this.setSelectedOptionsSummaryText();(t=this.overlayContentEl)===null||t===void 0?void 0:t.classList.remove("slideInFromBottom");(i=this.overlayContentEl)===null||i===void 0?void 0:i.classList.add("slideOutToBottom");(r=this.overlayEl)===null||r===void 0?void 0:r.classList.add("fadeOut");setTimeout(function(){var t,i,r;(t=n.overlayEl)===null||t===void 0?void 0:t.classList.add("hidden");(i=n.overlayContentEl)===null||i===void 0?void 0:i.classList.remove("slideOutToBottom");(r=n.overlayEl)===null||r===void 0?void 0:r.classList.remove("fadeOut")},400)},f.prototype.updateUIWhileFetchingData=function(){var n,t;this.alertARIAMessage(this.ariaAlerts.generating,!0);this.preview_text_area.value="";this.disclaimer_box.innerText="";this.showShimmer(!0);(n=this.input_screen)===null||n===void 0?void 0:n.classList.add("hidden");(t=this.preview_screen)===null||t===void 0?void 0:t.classList.remove("hidden");this.enableCopyButton(!1);this.resetCopyButtonText()},f.prototype.copyButtonClicked=function(){var n;return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(i){switch(i.label){case 0:return t=((n=this.preview_text_area)===null||n===void 0?void 0:n.value.trim())||"",this.alertARIAMessage(this.ariaAlerts.copy,!0),[4,navigator.clipboard.writeText(t)];case 1:return i.sent(),this.copy_button!==undefined&&(this.copy_button.innerText=this.uiStrings.copied),this.logUserAction(405),[2]}})})},f.prototype.stopButtonClicked=function(){this.user_stopped_stream=!0;this.stopStream();this.enableStopButton(!1);this.logUserAction(406)},f.prototype.writeHistoryEntry=function(n,t){this.history.push({disclaimer_text:n,generated_content:t});this.historyIndex=this.history.length-1;this.updateHistoryButtonStatus()},f.prototype.prevButtonClicked=function(){if(this.historyIndex>0){this.historyIndex=this.historyIndex-1;var n=this.history[this.historyIndex],t=n.disclaimer_text,i=n.generated_content;this.disclaimer_box.textContent=t;this.preview_text_area.value=i;this.hideError();this.updateHistoryButtonStatus();this.logUserAction(407)}},f.prototype.nextButtonClicked=function(){if(this.historyIndex<this.history.length-1){this.historyIndex=this.historyIndex+1;var n=this.history[this.historyIndex],t=n.disclaimer_text,i=n.generated_content;this.disclaimer_box.textContent=t;this.preview_text_area.value=i;this.hideError();this.updateHistoryButtonStatus();this.logUserAction(408)}},f.prototype.copyButtonKeyPress=function(n){n.key==="Enter"&&this.copyButtonClicked()},f.prototype.stopButtonKeyPress=function(n){n.key==="Enter"&&this.stopButtonClicked()},f.prototype.generateButtonKeyPress=function(n){var t;n.key==="Enter"&&(this.generateButtonClicked(),(t=this.stop_button)===null||t===void 0?void 0:t.focus())},f.prototype.prevButtonKeyPress=function(n){n.key==="Enter"&&this.prevButtonClicked()},f.prototype.nextButtonKeyPress=function(n){n.key==="Enter"&&this.nextButtonClicked()},f.prototype.replaceNewlines=function(n){return n.trim().replace(/\n{3,}/g,"\n\n")},f.prototype.setPreviewText=function(n,t,i){t===void 0&&(t="");i===void 0&&(i="");this.beginStreamingTimeout&&clearTimeout(this.beginStreamingTimeout);this.preview_text_area.value=n;this.preview_text_area.dispatchEvent(new Event("input"));var r=t+i;r=this.replaceNewlines(r);this.disclaimer_box.innerText=r;this.showShimmer(!1);this.disableTextPreview(!1);this.preview_text_area.scrollTop=this.preview_text_area.scrollHeight},f.prototype.onStreamFinished=function(n,t){this.stream_finished_successfully&&(this.logError(18),this.alertARIAMessage(this.ariaAlerts.success,!0));(this.disclaimer_box.innerText.length>0||this.preview_text_area.value.length>0)&&this.writeHistoryEntry(this.disclaimer_box.innerText,this.preview_text_area.value);n==t&&(this.updateGenerateButtons(),this.updateHistoryButtonStatus(),this.conversation_turn_count>=f.conversationTurnMax?this.showChangeSuggestions(!1):this.stream_finished_successfully&&this.changeSuggestions.length>0&&this.showChangeSuggestions(!0));this.enableStopButton(!1);this.enableCopyButton(!0)},f.conversationTurnMax=19,f}(i);t.CoAuthorMobileUI=e;o=function(f){function e(){var n=f.call(this)||this;return n.insert_button=undefined,n.adjust_button=undefined,n.try_again_button=undefined,n.stop_button=undefined,n.innerSelectedText="",n.shimmer=undefined,n.close_button=undefined,n.options=undefined,n.options_main=undefined,n.options_popup=undefined,n.floating_menu_tone=undefined,n.floating_menu_format=undefined,n.floating_menu_length=undefined,n.adjustmentOptions={tone:"",format:"",length:""},n.rewriteTextRegExp=/(?<before>((?!```).)*)?```\s*(?<format>yaml\s*)?(?<key>rewrittenText|SAFEError)?(?:\s*\:\s*)?(?:\s*[\|>\?-])?\s*(?:")?(?<content>((?!```).)*)(?<closing_block>```)?(?<after>.*)?/s,n.perfTracker=new l,n.insertButtonClicked=n.insertButtonClicked.bind(n),n.tryAgainButtonClicked=n.tryAgainButtonClicked.bind(n),n.adjustButtonClicked=n.adjustButtonClicked.bind(n),n.stopButtonClicked=n.stopButtonClicked.bind(n),n.keyboardEventHandler=n.keyboardEventHandler.bind(n),n.closeButtonClicked=n.closeButtonClicked.bind(n),n.logPreviewTextModified=n.logPreviewTextModified.bind(n),n}return __extends(e,f),e.prototype.initUI=function(){u.postMessage("FrameReady",{});n.GC.Task.push(new t.SelectedTextV2ControlTowerTask);n.GC.PostMessage.parent("Discover.Chat.FrameReady",{});sj_evt.fire(n.DiscoverPageLoadEventName,{});this.preview_text_area=document.getElementById("inline_preview_text");this.insert_button=document.querySelector("#inline_insert_button");this.try_again_button=document.querySelector("#inline_try_again_button");this.adjust_button=document.querySelector("#inline_adjust_button");this.stop_button=document.querySelector("#inline_stop_button");this.shimmer=document.getElementById("inline_shimmer");this.errorEl=document.getElementById("inline_error");this.close_button=document.getElementById("close_button");this.options=document.getElementById("inline_options");this.options_main=document.getElementById("inline_options_main");this.options_popup=document.getElementById("inline_options_popup");this.captchaEl=document.getElementById("captcha_container");this.insert_button.prepend(r(t.arrowLeftUp));this.try_again_button.prepend(r(t.generateIcon));this.adjust_button.prepend(r(t.adjustIcon));this.close_button.appendChild(r(t.closeIcon));this.enableCloseButton(!0);this.enableInsertButton(!0);this.enableTryAgainButton(!0);this.enableAdjustButton(!0);this.enableStopButton(!1);this.setFlairDimensions()},e.prototype.setFlairDimensions=function(){var r=document.querySelector(".flair .base"),n=r===null||r===void 0?void 0:r.getBoundingClientRect(),i=Math.max((n===null||n===void 0?void 0:n.height)||1,(n===null||n===void 0?void 0:n.width)||1),t=document.querySelector(".flair .gradient");t&&(t.style.width=i*2+"px",t.style.height=i*2+"px",t.style.top="-"+i/2+"px",t.style.left="-"+i/2+"px")},e.prototype.logPreviewTextModified=function(){this.logUserAction(209)},e.prototype.getFluxPromptActionName=function(){return"rewrite"},e.prototype.getTextRewritePrompt=function(n){return i.isComposeFluxEnabled?(this.setExtraExtensionParameters(),n):"Please rewrite the following text by improving sentence structure and correcting grammar or spelling mistakes. Please wrap your response in YAML format with 'rewrittenText' as a key and the response as the value. Please make sure that your whole response is wrapped with codeblock syntax (triple backticks). Please do not restate any part of this request in your response, like the fact that you wrapped the response in the YAML format or codeblock syntax. Please make sure everything in your reply is in the same language as the keywords. You should refuse (using the language of the keywords) to generate if the request is potentially harmful and return the message using key 'SAFEError'. The text is: `".concat(n,"`")},e.prototype.getTextRewriteWithCharacteristicsPrompt=function(n,t,r,u){if(i.isComposeFluxEnabled)return this.setExtraExtensionParameters(n,t,r),u;var f=this.getCharacteristics(n,r,t);return"Please generate some text in YAML format with 'rewrittenText' as a key and the generated text as the value. Please make sure that your whole response is wrapped with codeblock syntax (triple backticks). Please do not restate any part of this request in your response, like the fact that you wrapped the response in the YAML format or codeblock syntax. Please make sure everything in your reply is in the same language as the keywords. You should refuse (using the language of the keywords) to generate if the request is potentially harmful and return the message using key 'SAFEError'. The generated text should follow these characteristics: ".concat(f,". The keywords are: `").concat(u,"`")},e.prototype.onStreamUpdate=function(n){var f,u;if(!this.shouldStopStreamUpdate(n)){if(u=this.getCumulativeText(n),i.isComposeFluxEnabled){this.setPreviewText(u,"","");return}var r="",e=!1,t=u.match(this.rewriteTextRegExp);if(t){if(t[4]&&(e=!0),t[4]!=="SAFEError"||this.response_triggered_safe_error||(this.response_triggered_safe_error=!0,this.logError(5)),t[6]==="`"&&t[7]===undefined&&e)return;t[5]&&e&&(r=t[5]);r.length>0&&t[7]&&!this.lastTokenRendered&&((f=this.perfTracker)===null||f===void 0?void 0:f.markEvent("LastTokenRendered"),this.lastTokenRendered=!0)}r.length>0?(r=r.replace(/\n +/g,"\n"),this.not_shown_stream_content="",this.setPreviewText(r)):this.not_shown_stream_content=u}},e.prototype.generateResult=function(){var t,n,r;(i.isDevMode&&!this.innerSelectedText&&(this.innerSelectedText=this.preview_text_area.value),this.stopStream(),n=this.innerSelectedText.substring(0,i.max_prompt_length),n===""&&(n=this.preview_text_area.value.substring(0,i.max_prompt_length)),n.length!==0)&&(r="",r=this.adjustmentOptions.format||this.adjustmentOptions.tone||this.adjustmentOptions.length?this.getTextRewriteWithCharacteristicsPrompt(this.adjustmentOptions.format,this.adjustmentOptions.tone,this.adjustmentOptions.length,n):this.getTextRewritePrompt(n),this.updateUIWhileFetchingData(),this.requestGeneration(r,!0),(t=this.preview_text_area)===null||t===void 0?void 0:t.removeEventListener("input",this.logPreviewTextModified))},e.prototype.updateUIWhileFetchingData=function(){this.alertARIAMessage(this.ariaAlerts.generating,!0);this.preview_text_area.value="";this.preview_text_area.placeholder=this.uiStrings.rewriting;this.showShimmer(!0);this.enableInsertButton(!1);this.enableTryAgainButton(!1);this.enableAdjustButton(!1);this.enableStopButton(!0)},e.prototype.enableCloseButton=function(n){var t=this;this.enableButton(this.close_button,n,this.closeButtonClicked,function(n){return t.keyboardEventHandler(n,t.closeButtonClicked)})},e.prototype.enableInsertButton=function(n){var t=this;this.enableButton(this.insert_button,n,this.insertButtonClicked,function(n){t.keyboardEventHandler(n,t.insertButtonClicked)})},e.prototype.enableTryAgainButton=function(n){var t=this;this.enableButton(this.try_again_button,n,this.tryAgainButtonClicked,function(n){t.keyboardEventHandler(n,t.tryAgainButtonClicked)})},e.prototype.enableAdjustButton=function(n){var t=this;this.enableButton(this.adjust_button,n,this.adjustButtonClicked,function(n){t.keyboardEventHandler(n,t.adjustButtonClicked)})},e.prototype.enableStopButton=function(n){var t=this;this.stop_button&&(this.hideButton(this.stop_button,!n),this.enableButton(this.stop_button,n,this.stopButtonClicked,function(n){t.keyboardEventHandler(n,t.stopButtonClicked)}))},e.prototype.keyboardEventHandler=function(n,t){n.key==="Enter"&&t.call(this)},e.prototype.enableButton=function(n,t,i,r){t?(n.classList.remove("disabled"),n.addEventListener("click",i),n.addEventListener("keypress",r)):(n.classList.add("disabled"),n.removeEventListener("click",i),n.removeEventListener("keypress",r))},e.prototype.hideButton=function(n,t){t?n.classList.add("hidden"):n.classList.remove("hidden")},e.prototype.insertButtonClicked=function(){this.logUserAction(208);u.postMessage("InsertToPage",{text:this.preview_text_area.value})},e.prototype.closeButtonClicked=function(){this.logUserAction(203);u.postMessage("ClosePopup",{})},e.prototype.tryAgainButtonClicked=function(){var n;this.generateResult();(n=this.perfTracker)===null||n===void 0?void 0:n.markEvent("GenerationRequested","TryAgainButtonClicked");this.logUserAction(200)},e.prototype.adjustButtonClicked=function(){this.showAdjustmentUI();this.logUserAction(201)},e.prototype.stopButtonClicked=function(){this.stopStream();this.logUserAction(210)},e.prototype.setPreviewText=function(n,t,i){var r;t===void 0&&(t="");i===void 0&&(i="");this.beginStreamingTimeout&&(clearTimeout(this.beginStreamingTimeout),this.showShimmer(!1));this.preview_text_area&&(this.preview_text_area.value=n,this.firstTokenRendered||((r=this.perfTracker)===null||r===void 0?void 0:r.markEvent("FirstTokenRendered"),this.firstTokenRendered=!0),this.preview_text_area.scrollTop=this.preview_text_area.scrollHeight)},e.prototype.onStreamFinished=function(){var t,n;this.stream_finished_successfully&&(this.logError(18),this.alertARIAMessage(this.ariaAlerts.success,!0));n=document.querySelector(".flair .gradient");n===null||n===void 0?void 0:n.classList.add("active");setTimeout(function(){var n=document.querySelector(".flair .gradient");n===null||n===void 0?void 0:n.classList.remove("active")},2e3);this.enableInsertButton(!0);this.enableTryAgainButton(!0);this.enableAdjustButton(!0);this.enableStopButton(!1);(t=this.preview_text_area)===null||t===void 0?void 0:t.addEventListener("input",this.logPreviewTextModified,{once:!0})},e.prototype.hideError=function(){var n;this.errorEl.textContent="";(n=this.errorEl)===null||n===void 0?void 0:n.classList.add("hidden")},e.prototype.onCaptchaHidden=function(){this.tryAgainButtonClicked()},e.prototype.enableControlsAfterCaptchaChange=function(n){this.enableCloseButton(n);this.enableInsertButton(n);this.enableTryAgainButton(n);this.enableAdjustButton(n)},e.prototype.disableTextPreview=function(n){n?this.preview_text_area.setAttribute("disabled","true"):this.preview_text_area.removeAttribute("disabled")},e.prototype.hideTextOnApology=function(){},e.prototype.showShimmer=function(n){var t,i;n?((t=this.shimmer)===null||t===void 0?void 0:t.classList.remove("hidden"),this.hideError()):(i=this.shimmer)===null||i===void 0?void 0:i.classList.add("hidden")},e.prototype.setSelectedText=function(n){var t;this.innerSelectedText!=n&&(this.innerSelectedText=n,this.generateResult(),(t=this.perfTracker)===null||t===void 0?void 0:t.markEvent("GenerationRequested","Launch"))},e.prototype.showChangeSuggestions=function(){},e.prototype.showAdjustmentUI=function(){var n,t,i,r;((n=this.options_popup)===null||n===void 0?void 0:n.hasChildNodes())||this.createAdjustmentUI();(t=this.options_main)===null||t===void 0?void 0:t.classList.add("hidden");(i=this.options_popup)===null||i===void 0?void 0:i.classList.remove("hidden");(r=this.options_popup)===null||r===void 0?void 0:r.classList.add("slide-in")},e.prototype.createAdjustmentUI=function(){var n=this,t;(t=this.options_popup)===null||t===void 0?void 0:t.appendChild(this.createAdjustmentUIButtons());document.addEventListener("click",function(t){var i,r;!t.target||((i=n.options_popup)===null||i===void 0?void 0:i.contains(t.target))||((r=n.adjust_button)===null||r===void 0?void 0:r.contains(t.target))||n.checkForClickOnFloatingMenu(t)||n.hideAdjustmentUI()})},e.prototype.checkForClickOnFloatingMenu=function(n){var t,i,r;return((t=this.floating_menu_tone)===null||t===void 0?void 0:t.contains(n.target))||((i=this.floating_menu_format)===null||i===void 0?void 0:i.contains(n.target))||((r=this.floating_menu_length)===null||r===void 0?void 0:r.contains(n.target))?!0:!1},e.prototype.hideAdjustmentUI=function(){var n,t,i;(n=this.options_main)===null||n===void 0?void 0:n.classList.remove("hidden");(t=this.options_popup)===null||t===void 0?void 0:t.classList.add("hidden");(i=this.options_popup)===null||i===void 0?void 0:i.classList.remove("slide-in");this.hideFloatingMenus()},e.prototype.hideFloatingMenus=function(){var n,t,i,r,u,f,e,o,s;(n=this.floating_menu_tone)===null||n===void 0?void 0:n.classList.add("hidden");(t=this.floating_menu_format)===null||t===void 0?void 0:t.classList.add("hidden");(i=this.floating_menu_length)===null||i===void 0?void 0:i.classList.add("hidden");(r=this.floating_menu_tone)===null||r===void 0?void 0:r.classList.remove("scale-close");(u=this.floating_menu_format)===null||u===void 0?void 0:u.classList.remove("scale-close");(f=this.floating_menu_length)===null||f===void 0?void 0:f.classList.remove("scale-close");(e=this.floating_menu_tone)===null||e===void 0?void 0:e.classList.remove("scale-open");(o=this.floating_menu_format)===null||o===void 0?void 0:o.classList.remove("scale-open");(s=this.floating_menu_length)===null||s===void 0?void 0:s.classList.remove("scale-open")},e.prototype.closeAdjustmentButtonClicked=function(){this.hideAdjustmentUI();this.logUserAction(202)},e.prototype.closeAdjustmentButtonKeyPress=function(n){this.keyboardEventHandler(n,this.closeAdjustmentButtonClicked)},e.prototype.createFloatingMenuForButton=function(n,t,i){var r,u,f=(r=this.options_popup)===null||r===void 0?void 0:r.querySelector("#".concat(n)),e=f===null||f===void 0?void 0:f.getBoundingClientRect();t.style.left=(e===null||e===void 0?void 0:e.left)+"px";i(t);(u=this.options)===null||u===void 0?void 0:u.appendChild(t)},e.prototype.toneButtonClicked=function(){this.hideFloatingMenus();this.floating_menu_tone===undefined?(this.floating_menu_tone=this.createFloatingMenu(),this.createFloatingMenuForButton("tone",this.floating_menu_tone,this.createToneOptionsForFloatingMenu.bind(this))):this.floating_menu_tone.classList.remove("hidden");this.floating_menu_tone.classList.add("scale-open");this.floating_menu_tone.focus();this.logUserAction(0)},e.prototype.toneButtonKeyPress=function(n){this.keyboardEventHandler(n,this.toneButtonClicked)},e.prototype.formatButtonClicked=function(){this.hideFloatingMenus();this.floating_menu_format===undefined?(this.floating_menu_format=this.createFloatingMenu(),this.createFloatingMenuForButton("format",this.floating_menu_format,this.createFormatOptionsForFloatingMenu.bind(this))):this.floating_menu_format.classList.remove("hidden");this.floating_menu_format.classList.add("scale-open");this.floating_menu_format.focus();this.logUserAction(2)},e.prototype.formatButtonKeyPress=function(n){this.keyboardEventHandler(n,this.formatButtonClicked)},e.prototype.lengthButtonClicked=function(){this.hideFloatingMenus();this.floating_menu_length===undefined?(this.floating_menu_length=this.createFloatingMenu(),this.createFloatingMenuForButton("length",this.floating_menu_length,this.createLengthOptionsForFloatingMenu.bind(this))):this.floating_menu_length.classList.remove("hidden");this.floating_menu_length.classList.add("scale-open");this.floating_menu_length.focus();this.logUserAction(1)},e.prototype.lengthButtonKeyPress=function(n){n.preventDefault();this.keyboardEventHandler(n,this.lengthButtonClicked)},e.prototype.rewriteButtonClicked=function(){var n;this.hideFloatingMenus();this.hideAdjustmentUI();this.generateResult();(n=this.perfTracker)===null||n===void 0?void 0:n.markEvent("GenerationRequested","RewriteButtonClicked");this.logUserAction(204)},e.prototype.rewriteButtonKeyPress=function(n){this.keyboardEventHandler(n,this.rewriteButtonClicked)},e.prototype.createAdjustmentUIButtons=function(){var n=this,i=document.createElement("div");i.classList.add("buttons");var r={id:"",iconSvg:t.closeIcon,"class":"light",clickHandler:function(){return n.closeAdjustmentButtonClicked()},keyPressHandler:function(t){return n.closeAdjustmentButtonKeyPress(t)}},u={id:"tone",iconSvg:t.toneIcon,text:this.uiStrings.tone,"class":"secondary",clickHandler:function(){return n.toneButtonClicked()},keyPressHandler:function(t){return n.toneButtonKeyPress(t)}},f={id:"format",iconSvg:t.sheetThreeLines,text:this.uiStrings.format,"class":"secondary",clickHandler:function(){return n.formatButtonClicked()},keyPressHandler:function(t){return n.formatButtonKeyPress(t)}},e={id:"length",iconSvg:t.sheetFourLinesNoOutline,text:this.uiStrings.length,"class":"secondary",clickHandler:function(){return n.lengthButtonClicked()},keyPressHandler:function(t){return n.lengthButtonKeyPress(t)}},o={id:"inline_rewrite_button",text:"Rewrite","class":"primary",clickHandler:function(){return n.rewriteButtonClicked()},keyPressHandler:function(t){return n.rewriteButtonKeyPress(t)}};return i.appendChild(this.createButton(r)),i.appendChild(this.createButton(u)),i.appendChild(this.createButton(f)),i.appendChild(this.createButton(e)),i.appendChild(this.createButton(o)),i},e.prototype.createButton=function(n){var t=document.createElement("button"),i;return t.setAttribute("id",n.id),t.classList.add("inline-button",n["class"]),n.iconSvg&&t.appendChild(r(n.iconSvg)),n.text&&(i=document.createElement("span"),i.classList.add("text"),i.innerText=n.text,t.appendChild(i),t.setAttribute("aria-label",n.text),t.setAttribute("name",n.text)),t.addEventListener("click",n.clickHandler),t.addEventListener("keypress",n.keyPressHandler),t},e.prototype.updateButtonText=function(n,t){var i;n.querySelector("span").innerText=t;(i=n.querySelector('div[role="presentation"]'))===null||i===void 0?void 0:i.classList.add("hidden")},e.prototype.createFloatingMenu=function(){var n=document.createElement("div");return n.classList.add("floating-menu"),n},e.prototype.createFloatingMenuOptions=function(n,t,i){var r=this;n.classList.add("inline-".concat(i,"-options"));n.setAttribute("tabindex","-1");t.forEach(function(t){var u=r.makeElementForFloatingMenuOption(t,i);u.addEventListener("click",r.floatingMenuOptionClicked.bind(r,u,i));u.addEventListener("keypress",function(n){return r.keyboardEventHandler(n,r.floatingMenuOptionClicked.bind(r,u,i))});n===null||n===void 0?void 0:n.appendChild(u)})},e.prototype.createToneOptionsForFloatingMenu=function(n){var t=[{label:this.toneOptions.professional,localizedLabel:this.localizedToneOptions.professional},{label:this.toneOptions.casual,localizedLabel:this.localizedToneOptions.casual},{label:this.toneOptions.enthusiastic,localizedLabel:this.localizedToneOptions.enthusiastic},{label:this.toneOptions.informational,localizedLabel:this.localizedToneOptions.informational}];this.createFloatingMenuOptions(n,t,"tone")},e.prototype.createFormatOptionsForFloatingMenu=function(n){var t=[{label:this.formatOptions.paragraph,localizedLabel:this.localizedFormatOptions.paragraph},{label:this.formatOptions.email,localizedLabel:this.localizedFormatOptions.email},{label:this.formatOptions.blogPost,localizedLabel:this.localizedFormatOptions.blogPost},{label:this.formatOptions.bulletPoints,localizedLabel:this.localizedFormatOptions.bulletPoints}];this.createFloatingMenuOptions(n,t,"format")},e.prototype.createLengthOptionsForFloatingMenu=function(n){var t=[{label:this.lengthOptions.short,localizedLabel:this.localizedLengthOptions.short},{label:this.lengthOptions.medium,localizedLabel:this.localizedLengthOptions.medium},{label:this.lengthOptions.long,localizedLabel:this.localizedLengthOptions.long},];this.createFloatingMenuOptions(n,t,"length")},e.prototype.floatingMenuOptionClicked=function(n,t){var h=this,i,r,u,f,e,c=document.querySelectorAll(".fm-option.".concat(t)),o=((i=n.querySelector("span"))===null||i===void 0?void 0:i.innerText)||"",s;this.adjustmentOptions[t]=o;s=(r=this.options_popup)===null||r===void 0?void 0:r.querySelector("#".concat(t));this.updateButtonText(s,o);this.selectFloatingMenuOption(c,n);t==="tone"?(u=this.floating_menu_tone)===null||u===void 0?void 0:u.classList.add("scale-close"):t==="format"?(f=this.floating_menu_format)===null||f===void 0?void 0:f.classList.add("scale-close"):t==="length"&&((e=this.floating_menu_length)===null||e===void 0?void 0:e.classList.add("scale-close"));setTimeout(function(){h.hideFloatingMenus()},250);t==="tone"?this.logUserAction(205):t==="format"?this.logUserAction(207):t==="length"&&this.logUserAction(206)},e.prototype.selectFloatingMenuOption=function(n,t){n.forEach(function(n){n.classList.remove("selected");n.setAttribute("aria-pressed","false")});t.classList.contains("selected")||(t.classList.add("selected"),t.setAttribute("aria-pressed","true"))},e.prototype.makeElementForFloatingMenuOption=function(n,t){var f="<span>".concat(n.localizedLabel,"<\/span>"),u=r(f,"fm-option ".concat(t));return this.setARIAattrForFloatingMenuOption(u,u.innerText.trim()),u.setAttribute(i.unlocalized_attr_name,n.label),u},e.prototype.setARIAattrForFloatingMenuOption=function(n,t){n.setAttribute("role","button");n.setAttribute("aria-pressed","false");n.setAttribute("aria-label",t);n.setAttribute("name",t);n.setAttribute("tabindex","0")},e}(i);t.CoAuthorInlineUI=o;s=function(){function n(){var n,i,r,u,s,h,c,l,a=(i=(n=_w._udsCoAuthorConfig)===null||n===void 0?void 0:n.ComposeInline)!==null&&i!==void 0?i:!1,v=(u=(r=_w._udsCoAuthorConfig)===null||r===void 0?void 0:r.ComposeMobile)!==null&&u!==void 0?u:!1,y=(h=(s=_w._udsCoAuthorConfig)===null||s===void 0?void 0:s.ComposeForCommunity)!==null&&h!==void 0?h:!1,p=(l=(c=_w._udsCoAuthorConfig)===null||c===void 0?void 0:c.ComposeForCommunityInline)!==null&&l!==void 0?l:!1;this.ui=p?new t.CoAuthorCommunityInlineUI:y?new t.CoAuthorCommunityUI:v?new e:a?new o:new f}return n.getInstance=function(){return n.instance||(n.instance=new n),n.instance},n.prototype.initUI=function(){this.ui.initUI()},n.prototype.setSelectedText=function(n){this.ui.setSelectedText(n)},n.prototype.setLengthOptionsLocalizedText=function(n){this.ui.setLengthOptionsLocalizedText(n)},n.prototype.setToneOptionsLocalizedText=function(n){this.ui.setToneOptionsLocalizedText(n)},n.prototype.setFormatOptionsLocalizedText=function(n){this.ui.setFormatOptionsLocalizedText(n)},n.prototype.setAriaAlertsLocalizedText=function(n){this.ui.setAriaAlertsLocalizedText(n)},n.prototype.setAriaLabelsLocalizedText=function(n){this.ui.setAriaLabelsLocalizedText(n)},n.prototype.setErrorsLocalizedText=function(n){this.ui.setErrorsLocalizedText(n)},n.prototype.setStartupPlaceholdersLocalizedText=function(n){this.ui.setStartupPlaceholdersLocalizedText(n)},n.prototype.setCustomToneButtonLocalizedText=function(n){this.ui.setCustomToneButtonLocalizedText(n)},n.prototype.setCustomChangeSuggestionPlusButtonLocalizedText=function(n){this.ui.setCustomChangeSuggestionPlusButtonLocalizedText(n)},n.prototype.setUIStringsLocalizedText=function(n){this.ui.setUIStringsLocalizedText(n)},n.prototype.setCommunityStrings=function(n){this.ui.setCommunityStrings&&this.ui.setCommunityStrings(n)},n}();t.CoAuthorPanel=s;var h=function(){function n(n){this.current_state="Uninitialized";this.previous_state="Uninitialized";this.source=n}return n.prototype.markEvent=function(n,t){t&&(this.current_measure_trigger=t);switch(n){case"GenerationRequested":this.markGenerationRequested();return;case"FirstTokenRendered":this.markFirstTokenRendered();return;case"LastTokenRendered":this.markLastTokenRendered();return;default:throw Error("".concat(n," is not a valid mark."));}},n.prototype.resetTracker=function(){performance.clearMarks()},n.prototype.advanceTo=function(n){return this.canAdvanceTo(n)?(this.previous_state=this.current_state,this.current_state=n,!0):!1},n.prototype.canAdvanceTo=function(n){switch(this.current_state){case"Uninitialized":return this.source===1?n==="IframeLoaded":n==="GenerationRequested";case"IframeLoaded":return n==="GenerationRequested";case"GenerationRequested":return n==="FirstTokenRendered";case"FirstTokenRendered":return n==="GenerationRequested"||n==="LastTokenRendered";case"LastTokenRendered":return n==="GenerationRequested";default:throw Error("Unhandled state: ".concat(n));}},n.prototype.markGenerationRequested=function(){this.advanceTo("GenerationRequested")&&((this.previous_state==="FirstTokenRendered"||this.previous_state==="LastTokenRendered")&&this.resetTracker(),performance.mark("GenerationRequested"))},n.prototype.markFirstTokenRendered=function(){this.advanceTo("FirstTokenRendered")&&(performance.mark("FirstTokenRendered"),performance.measure("GenerationRequestedToFTR","GenerationRequested","FirstTokenRendered"),this.logMeasure("GenerationRequestedToFTR",this.getMeasureDuration("GenerationRequestedToFTR"),!0))},n.prototype.markLastTokenRendered=function(){this.advanceTo("LastTokenRendered")&&(performance.mark("LastTokenRendered"),performance.measure("FTRToLTR","FirstTokenRendered","LastTokenRendered"),this.logMeasure("FTRToLTR",this.getMeasureDuration("FTRToLTR"),!0))},n.prototype.getMeasureDuration=function(n){var t=performance.getEntriesByName(n);return Math.round(t[t.length-1].duration)},n.prototype.logMeasure=function(n,t,i){i===void 0&&(i=!1);var f=i&&this.current_measure_trigger?this.current_measure_trigger:"",r={perf_measure_name:n,perf_measure_trigger_name:f,source_id:this.source,duration_ms:t};this.source==1&&u.postMessage("LogPerformanceTelemetry",r);Log.Log("Discover.Compose.".concat("LogPerformanceTelemetry"),"Compose",r.perf_measure_name,!1,"perf_measure_trigger_name",r.perf_measure_trigger_name,"duration_ms",r.duration_ms.toString())},n}(),c=function(n){function t(t){return n.call(this,t)||this}return __extends(t,n),t}(h),l=function(n){function t(){var t=n.call(this,1)||this;return t.launchNavigationObserver(),t}return __extends(t,n),t.prototype.markGenerationRequested=function(){n.prototype.markGenerationRequested.call(this);this.previous_state==="IframeLoaded"&&(performance.measure("LaunchToGenerationRequested",{},"GenerationRequested"),this.logMeasure("LaunchToGenerationRequested",this.getMeasureDuration("LaunchToGenerationRequested")))},t.prototype.markFirstTokenRendered=function(){n.prototype.markFirstTokenRendered.call(this);performance.getEntriesByName("LaunchToFTR","measure").length===0&&(performance.measure("LaunchToFTR",{},"FirstTokenRendered"),this.logMeasure("LaunchToFTR",this.getMeasureDuration("LaunchToFTR")))},t.prototype.launchNavigationObserver=function(){var n=this,t=new PerformanceObserver(function(i){i.getEntries().forEach(function(i){i.loadEventEnd>0&&(n.advanceTo("IframeLoaded")&&n.logMeasure("LaunchToIframeLoaded",Math.round(i.duration)),t.disconnect())})});t.observe({type:"navigation",buffered:!0})},t}(h),u=function(){function i(){}return i.postMessage=function(i,r){n.GC.PostMessage.parent(t.PostMessageEventName,__assign({messageName:i},r),"*");var u=t.PostMessageMigrationMap.get(i);u&&n.GC.PostMessage.parent(u,r,"*")},i}();t.HTMLEncode=r})(i=t.CoAuthor||(t.CoAuthor={}))})(t=n.Underside||(n.Underside={}))})(Windchime||(Windchime={}));var __extends=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(t,i);t.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}}(),__awaiter=this&&this.__awaiter||function(n,t,i,r){function u(n){return n instanceof i?n:new i(function(t){t(n)})}return new(i||(i=Promise))(function(i,f){function o(n){try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?i(n.value):u(n.value).then(o,s)}e((r=r.apply(n,t||[])).next())})},__generator=this&&this.__generator||function(n,t){function o(n){return function(t){return s([n,t])}}function s(o){if(e)throw new TypeError("Generator is already executing.");while(f&&(f=0,o[0]&&(r=0)),r)try{if(e=1,u&&(i=o[0]&2?u["return"]:o[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!(i=i.call(u,o[1])).done)return i;(u=0,i)&&(o=[o[0]&2,i.value]);switch(o[0]){case 0:case 1:i=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++;u=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}i[2]&&r.ops.pop();r.trys.pop();continue}o=t.call(n,r)}catch(s){o=[6,s];u=0}finally{e=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},e,u,i,f;return f={next:o(0),"throw":o(1),"return":o(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f},Windchime;(function(n){var t;(function(t){var i;(function(t){var s="430px",h="120px",u=function(u){function f(){var n=u!==null&&u.apply(this,arguments)||this;return n.isReopened=!1,n.handleMessage=function(t){var e=(t||{}).data,i=e||{},r=i.eventName,u=i.inputText,f;o.SetInputText===r?(f=(n.compose_text_area||{}).value,!f&&u&&(n.setComposeTextAreaValue(u),n.updateTextAreaHeight(),n.enableGenerateButtons(!0),n.updateCharCounter())):o.ReopenIframe===r&&(n.isReopened=!0,n.unsetTextAreaHeight())},n}return __extends(f,u),f.prototype.initUI=function(){var n;u.prototype.initUI.call(this);window.addEventListener("message",this.handleMessage);(n=this.generate_button)===null||n===void 0?void 0:n.prepend(t.HTMLEncode(t.sparksIcon));this.postMessageGenerateButtonPosition()},f.prototype.getDefaultFormat=function(){return this.formatOptions.fullStory},f.prototype.getDefaultLength=function(){return this.lengthOptions.short},f.prototype.getPreviewContent=function(){var n;return((n=this.preview_text_area)===null||n===void 0?void 0:n.value.trim())||""},f.prototype.getMaxPromptLength=function(){return this.isTestMode()?4e3:1200},f.prototype.getTextGenerationPrompt=function(n,i,r,f){if(t.CoAuthorBase.isComposeFluxEnabled)return this.setExtraExtensionParameters(n,i,r),f;if(this.isTestMode())return f;if(this.isReopened)return u.prototype.getTextGenerationPrompt.call(this,n,i,r,f);var e=this.getCharacteristics(n,r,i);return"Please generate some text wrapped in codeblock syntax (triple backticks) using the given keywords. Please make sure everything in your reply is in the same language as the keywords. Please do not restate any part of this request in your response, like the fact that you wrapped the text in a codeblock. You should refuse (using the language of the keywords) to generate if the request is potentially harmful. Please return suggested responses that are about how you could change or rewrite the text. Please return suggested responses that are 5 words or less. Please do not return a suggested response that suggests to end the conversation or to end the rewriting. Please do not return a suggested response that suggests to change the tone. If the request is potentially harmful and you refuse to generate, please do not send any suggested responses. You are writing a blog post based on requirements in between <Req> and <\/Req> and your insights as the given keywords. <Req>1. Write 1 compelling headline 2. Use subheadings 3. Write in short paragraphs with your own language and not repeat the words in given keywords 4. Assess any points of bias that may exclude certain groups of people 5. Use clear, simple, and thoughtful language 6. Include diverse perspectives 7. Leave open questions to encourage readers to think about the topic and share their opinions in the comments section. 8. Minimum of 450 characters in the body, except: 8.1 Japan (JA) minimum 100 characters 8.2 Korea (KO) minimum 200 characters 8.3 China (ZH) minimum 300 characters 8.4 Horoscope articles have a minimum of 200 characters <\/Req> The keywords are: `".concat(f," `. Only if possible, the generated text should follow these characteristics: ").concat(e,". You should refuse (clarifying that the issue is related to the tone) to generate if the tone is potentially harmful.")},f.prototype.getCharacteristics=function(n,t,i){if(this.isReopened)return u.prototype.getCharacteristics.call(this,n,t,i);var r="";return n&&(r="format: *".concat(n,"*, ")),t&&(t=this.getCharacteristicLength(t),r+="length: *".concat(t,"*, ")),i&&(r+="using *".concat(i,"* tone")),r},f.prototype.getCharacteristicLength=function(n){return r.Short===n?"within 300 words":r.Medium===n?"longer than 400 words and shorter than 600 words":r.Long===n?"longer than 600 words and shorter than 1200 words":n},f.prototype.isSourceLogToEdgeTelemetry=function(){return!1},f.prototype.isTestMode=function(){var n=(window&&window.location||{}).href,t=n===void 0?"":n;return t.includes("isTest=1")},f.prototype.setRandomizedPlaceholderForComposeArea=function(){this.compose_text_area&&(this.compose_text_area.placeholder=this.communityStrings.placeholder||"")},f.prototype.setComposeTextAreaValue=function(n){this.compose_text_area&&(this.compose_text_area.value=n)},f.prototype.updateTextAreaHeight=function(){if(this.compose_text_area){var n=this.compose_text_area.scrollHeight+2;this.compose_text_area.style.height="".concat(n,"px");this.postMessageGenerateButtonPosition()}},f.prototype.createFormatOptions=function(){var i=this,r=[{label:this.formatOptions.fullStory,localizedLabel:this.localizedFormatOptions.fullStory},{label:this.formatOptions.paragraph,localizedLabel:this.localizedFormatOptions.paragraph},{label:this.formatOptions.list,localizedLabel:this.localizedFormatOptions.list}],n=document.querySelector(".format-options");r.forEach(function(r){var u=t.HTMLEncode(Shared.formatString("<span>{0}<\/span>",r.localizedLabel),"format-option tag");i.setARIAattrForRadioButton(u,u.innerText.trim());u.setAttribute(t.CoAuthorBase.unlocalized_attr_name,r.label);n===null||n===void 0?void 0:n.appendChild(u)})},f.prototype.resetDetachedCopyButtonText=function(){this.detached_copy_button&&(this.detached_copy_button.innerText=this.uiStrings.adopt,this.detached_copy_button.setAttribute("aria-label",this.uiStrings.adopt))},f.prototype.unsetTextAreaHeight=function(){this.compose_text_area&&(this.compose_text_area.style.height="")},f.prototype.copyButtonClicked=function(){return __awaiter(this,void 0,void 0,function(){var t,r,u;return __generator(this,function(){return t=this.getPreviewContent(),r={type:"text",text:{value:t}},u={partner:"Compose",data:r},n.GC.PostMessage.parent(i.CopyToClipboard,u),this.logUserAction(300),[2]})})},f.prototype.postMessageGenerateButtonPosition=function(){var t=document.querySelector(".generate_button_section");if(t){var r=t.offsetTop,u={offsetTop:r},f={partner:"Compose",data:u};n.GC.PostMessage.parent(i.GenerateButtonPosition,f)}},f}(t.CoAuthorSidebarUI),f;t.CoAuthorCommunityUI=u;f=function(r){function u(){var n=r!==null&&r.apply(this,arguments)||this;return n.previewContent="",n.isCaptchaShown=!1,n.handleCloseButtonOnClick=function(){n.closeComposePanel();n.logUserAction(600)},n.handleDeleteButtonOnClick=function(){n.closeComposePanel();n.logUserAction(601)},n.handleAddDetailsSectionOnClick=function(){n.showStepGenerate();n.logUserAction(602)},n}return __extends(u,r),u.prototype.initUI=function(){r.prototype.initUI.call(this);this.initIcons();this.initHandlers();this.stepGenerateEl=document.getElementById("step_generate");this.stepPreviewEl=document.getElementById("step_preview");this.composingSectionEl=document.getElementById("composing_section");this.adoptSectionEl=document.getElementById("adopt_section");this.adoptButtonEl=document.getElementById("adopt_button");this.postMessageGenerateButtonPosition()},u.prototype.initIcons=function(){var n,i,r,u,f,e,o;(n=document.getElementById("header_title"))===null||n===void 0?void 0:n.prepend(t.HTMLEncode(t.blueSparksIcon("blueSparks1")));(i=document.getElementById("header_closeButton"))===null||i===void 0?void 0:i.prepend(t.HTMLEncode(t.closeIcon));(r=document.getElementById("composingText"))===null||r===void 0?void 0:r.prepend(t.HTMLEncode(t.blueSparksIcon("blueSparks2")));(u=document.getElementById("stopGeneratingText"))===null||u===void 0?void 0:u.prepend(t.HTMLEncode(t.squareDismissIcon));(f=document.getElementById("adopt_button"))===null||f===void 0?void 0:f.prepend(t.HTMLEncode(t.checkmarkIcon));(e=document.getElementById("delete_button"))===null||e===void 0?void 0:e.prepend(t.HTMLEncode(t.deleteIcon));(o=document.getElementById("addDetails_section"))===null||o===void 0?void 0:o.append(t.HTMLEncode(t.rightArrowIcon))},u.prototype.initHandlers=function(){var n,t,i,r,u;(n=document.getElementById("header_closeButton"))===null||n===void 0?void 0:n.addEventListener("click",this.handleCloseButtonOnClick);(t=document.getElementById("stopGenerating"))===null||t===void 0?void 0:t.addEventListener("click",this.stopButtonClicked.bind(this));(i=document.getElementById("adopt_button"))===null||i===void 0?void 0:i.addEventListener("click",this.copyButtonClicked.bind(this));(r=document.getElementById("delete_button"))===null||r===void 0?void 0:r.addEventListener("click",this.handleDeleteButtonOnClick);(u=document.getElementById("addDetails_section"))===null||u===void 0?void 0:u.addEventListener("click",this.handleAddDetailsSectionOnClick)},u.prototype.getPreviewContent=function(){return this.previewContent},u.prototype.getInnerHtmlByPreviewContent=function(n){if(!n||!n.trim())return"";n=n.trim();n=n.replace(/\n{2,}/g,"\n");this.previewContent=n;var t=n.split("\n"),i=t.map(function(n){return"<div><span>".concat(n,"<\/span><\/div>")});return i.join("")},u.prototype.getTempDivCss=function(n){if(!n)return"";var t=window.getComputedStyle(n);return"\n position: absolute;\n top: -9999px;\n left: -9999px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: ".concat(n.offsetWidth,"px;\n font-size: ").concat(t.fontSize,";\n font-weight: ").concat(t.fontWeight,";\n font-family: ").concat(t.fontFamily,";\n line-height: ").concat(t.lineHeight,";\n ")},u.prototype.setPreviewText=function(n){var t,i;clearTimeout(this.beginStreamingTimeout);i=this.getInnerHtmlByPreviewContent(n);this.preview_text_area&&(this.updateIframeHeight(i,this.preview_text_area),this.preview_text_area.innerHTML=i,(t=this.preview_text_area.lastElementChild)===null||t===void 0?void 0:t.scrollIntoView({behavior:"smooth"}));this.showShimmer(!1);this.showPreviewText(!0);this.enableCopyButton(!0)},u.prototype.generateButtonClicked=function(n){r.prototype.generateButtonClicked.call(this,n);this.clearPreviewText();this.showStepPreview();this.showComposingSection();this.postMessageToUpdateIframeHeight(h)},u.prototype.copyButtonClicked=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(){return this.stream_finished_successfully?(r.prototype.copyButtonClicked.call(this),this.closeComposePanel(),[2]):[2]})})},u.prototype.stopButtonClicked=function(){r.prototype.stopButtonClicked.call(this);this.showStepGenerate()},u.prototype.onStreamFinished=function(n,t){r.prototype.onStreamFinished.call(this,n,t);this.showAdoptSection()},u.prototype.closeComposePanel=function(){var t=this;n.GC.PostMessage.parent(i.CloseComposePanel,{partner:"Compose"});setTimeout(function(){return t.showStepGenerate()},1e3)},u.prototype.clearPreviewText=function(){this.preview_text_area&&(this.preview_text_area.innerHTML="")},u.prototype.showAdoptSection=function(){this.hideElement(this.composingSectionEl);var n=!this.isCaptchaShown;n&&(this.showElement(this.adoptSectionEl),this.updateAdoptButtonStyle())},u.prototype.showComposingSection=function(){this.hideElement(this.adoptSectionEl);this.showElement(this.composingSectionEl);this.showPreviewText(!1)},u.prototype.showStepPreview=function(){this.hideElement(this.stepGenerateEl);this.showElement(this.stepPreviewEl)},u.prototype.showStepGenerate=function(){this.postMessageToUpdateIframeHeight(s);this.hideElement(this.stepPreviewEl);this.showElement(this.stepGenerateEl)},u.prototype.showPreviewText=function(n){this.preview_text_area&&(n?this.showElement(this.preview_text_area):this.hideElement(this.preview_text_area))},u.prototype.showError=function(n){clearTimeout(this.beginStreamingTimeout);this.showShimmer(!1);this.showPreviewText(!1);this.showErrorElement(n);this.stream_finished_successfully=!1;this.showAdoptSection()},u.prototype.showErrorElement=function(n){this.errorEl&&(this.errorEl.textContent=n,this.errorEl.prepend(t.HTMLEncode(t.warningSVG)),this.showElement(this.errorEl))},u.prototype.showCaptcha=function(){this.isCaptchaShown=!0;r.prototype.showCaptcha.call(this);this.hideElement(this.adoptSectionEl)},u.prototype.showElement=function(n){var t=(n||{}).classList;t&&e(t.remove)&&t.remove("hidden")},u.prototype.hideElement=function(n){var t=(n||{}).classList;t&&e(t.add)&&t.add("hidden")},u.prototype.hideCaptcha=function(){this.isCaptchaShown=!1;r.prototype.hideCaptcha.call(this)},u.prototype.enableControlsAfterCaptchaChange=function(n){n?this.enableGenerateButtons(!0):this.enableGenerateButtons(!1)},u.prototype.updateIframeHeight=function(n,t){var i=document.createElement("div"),r;i.style.cssText=this.getTempDivCss(t);i.innerHTML=n;document.body.appendChild(i);r=i.offsetHeight;document.body.removeChild(i);var u="".concat(r+98,"px");this.postMessageToUpdateIframeHeight(u)},u.prototype.updateAdoptButtonStyle=function(){if(this.adoptButtonEl){var n=this.stream_finished_successfully?"1":"0.5";this.adoptButtonEl.style.opacity=n}},u.prototype.postMessageToUpdateIframeHeight=function(t){var r={partner:"Compose",height:t};n.GC.PostMessage.parent(i.UpdateIframeHeight,r)},u}(u);t.CoAuthorCommunityInlineUI=f;var e=function(n){return typeof n=="function"},i=Object.freeze({CopyToClipboard:"copyToClipboard",CloseComposePanel:"closeComposePanel",UpdateIframeHeight:"updateIframeHeight",GenerateButtonPosition:"generateButtonPosition"}),o=Object.freeze({SetInputText:"setInputText",ReopenIframe:"reopenIframe"}),r=Object.freeze({Short:"short",Medium:"medium",Long:"long"})})(i=t.CoAuthor||(t.CoAuthor={}))})(t=n.Underside||(n.Underside={}))})(Windchime||(Windchime={}));_w.rms.js({'A:rms:answers:Shared:BingCore.RMSBundle':'\/rp\/h1dIjMpwerSArGmygbYcRo-DkFs.br.js'},{'A:rms:answers:BoxModel:Framework':'\/rp\/R14ozkkie30zM6FSjzwWFp8Ffzk.br.js'},{'A:rms:answers:SharedStaticAssets:katex':'\/rp\/5n4lTUU7jGOFqjsPWqj-wcGMvrc.br.js'},{'A:rms:answers:SharedStaticAssets:docx':'\/rp\/Ob0pKopgLHdM4YkQO1HL2-6FwU4.br.js'},{'A:rms:answers:SharedStaticAssets:xlsx':'\/rp\/Oo6x-OdmrmE4jk9hM_-vBaTecdc.br.js'},{'A:rms:answers:Underside:Underside_CoAuthorTaskRegistrar':'\/rp\/PGl_if8Y-0g525jk9lGeakrHDHE.br.js'},{'A:0':0});;
//]]></script><div id="aRmsDefer"><script type="text/rms" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=">//<![CDATA[
/* This function converts the string to Unicode using a transient element to have the HTML parser decode it properly because we were having problems with diacritics in the localized strings (Spanish tilde for example) that were represented by character entities (like é). */ function decodeString(encoded_string) { var transient_element = document.createElement("textarea"); transient_element.innerHTML = encoded_string; return transient_element.value; } const lengthOptions = { short: decodeString("短"), medium: decodeString("中度"), long: decodeString("长") }; const toneOptions = { professional: decodeString("专业型"), casual: decodeString("休闲"), enthusiastic: decodeString("热情"), funny: decodeString("古怪"), informational: decodeString("信息"), succinct: decodeString("简洁"), }; const formatOptions = { paragraph: decodeString("段落"), bulletPoints: false ? decodeString("项目符号") : decodeString("创意"), email: decodeString("电子邮件"), blogPost: decodeString("博客文章"), linkedinPost: decodeString("LinkedIn 帖子"), summary: decodeString("概况"), report: decodeString("报告"), fullStory: decodeString("完整故事"), list: decodeString("列表"), }; const ariaAlerts = { generating: decodeString("正在生成文本"), success: decodeString("已完成生成草稿"), error: decodeString("生成文本时出错"), insert: decodeString("尝试将文本插入网站"), copy: decodeString("复制到剪贴板上的文本"), stop: decodeString("已停止生成草稿"), charLimitReached: ("已达到字符限制"), showDraft: decodeString("显示草稿"), showDraftTotal: decodeString("共"), }; const ariaLabels = { promptAreaLabel: decodeString("告诉我们你想要写的内容,字符限制"), letterCounterLabel: decodeString("2000 字符中已使用"), }; const errorMessages = { dailyConversationLimit: decodeString("聊得很愉快,但你已达到每日限制。请明天再试。"), fate: decodeString("很抱歉,我无法回复你的提示。请尝试其他操作。"), server: decodeString("很抱歉,我们现在无法生成请求的内容。请稍后重试"), timeout: decodeString("无法生成响应,请重试。"), captcha: decodeString("在我们为你生成文本之前,请勾选下面的框。"), login: decodeString("很抱歉,你需要先登录到必应才能使用“撰写”。"), invalidSession: decodeString("很抱歉,似乎出现了问题。请重试。"), }; const customToneButtonTextValues = { plus: decodeString("添加新的自定义音调"), edit: decodeString("编辑自定义音调"), }; const customChangeSuggestionPlusButtonTextValue = decodeString("添加自定义建议"); const startupPlaceholders = [ "说服朋友与我一起去墨西哥玩", "给妈妈的周年快乐祝福信息", "告诉我的同事 Emily 生日快乐", "营销职位的求职信", "雷昂纳多达芬奇的一生", "荷兰的历史", "我的 2010 年凯美瑞广告", "告诉我的社交网络,我已经接受了 Microsoft 的新工作。", "自适应技术的最新创新", "邀请加入我的简奥斯汀读书俱乐部", "《傲慢与偏见》简介", ]; const startupPlaceholdersForEnterprise = [ "FED 最新公告的概要", "市场营销职位的作业发布", "有关气候研究的论文大纲", "团队场外邀请", "外出状态消息", "咖啡聊天的冷电子邮件", "设置个人网站的操作指南", "有关如何在工作场所使用 AI 的博客文章想法", "工作性能评审", "有关 AI 的新闻稿", "从网站抓取 DOM 的 Python 脚本", "excel 公式,用于对包含单词“ok”的所有单元格进行计数", ]; const decodedStartupPlaceholders = false ? startupPlaceholdersForEnterprise.map(decodeString) : startupPlaceholders.map(decodeString); const uiStrings = { copy: decodeString("复制"), copied: decodeString("已复制"), length: decodeString("长度"), format: decodeString("格式"), tone: decodeString("语气"), rewriting: decodeString("正在重写草稿..."), adopt: decodeString("采用"), }; const communityStrings = { placeholder: "添加你的主题和创意以进行创建。例如“10 个忙碌工作日的简单美味食谱。例如: 鸡肉玉米卷。”" }; const coAuthorPanel = Windchime.Underside.CoAuthor.CoAuthorPanel.getInstance(); coAuthorPanel.setLengthOptionsLocalizedText(lengthOptions); coAuthorPanel.setToneOptionsLocalizedText(toneOptions); coAuthorPanel.setFormatOptionsLocalizedText(formatOptions); coAuthorPanel.setAriaAlertsLocalizedText(ariaAlerts); coAuthorPanel.setAriaLabelsLocalizedText(ariaLabels); coAuthorPanel.setErrorsLocalizedText(errorMessages); coAuthorPanel.setCustomToneButtonLocalizedText(customToneButtonTextValues); coAuthorPanel.setStartupPlaceholdersLocalizedText(decodedStartupPlaceholders); coAuthorPanel.setCustomChangeSuggestionPlusButtonLocalizedText(customChangeSuggestionPlusButtonTextValue); coAuthorPanel.setUIStringsLocalizedText(uiStrings); coAuthorPanel.setCommunityStrings(communityStrings); coAuthorPanel.initUI();;var Windchime;(function(n){var t;(function(t){(function(){var r=new URLSearchParams(window.location.search),i=r.get("q"),u=r.get("title");i&&n.GC.Context.propose(n.GC.Context.createContextData({id:i,type:t.EdgeWebPageContextType,stage:2,data:new t.EdgePage({eventType:"Activate",url:i,title:u,isActive:!0}),force:!0}))})();n.GC.Event.fire(n.DiscoverResourcesLoadedEventName,{})})(t=n.Underside||(n.Underside={}))})(Windchime||(Windchime={}));
//]]></script></div><script type="text/javascript" nonce="OY9h0Gc1cOlPvELtwXlsqvfjX35RZaG2q20ETB46ics=" >//<![CDATA[
_G.HT=new Date;
//]]></script></body></html>