1!function(){async function e(e,t,r,a,o){return new Promise((n,s)=>{let i=null,m=null,d=null;const u=e=>{if(d){try{d.port1.close()}catch(e){}d.port1.onmessage=null,d=null}e||(m&&(clearInterval(m),m=null),i&&(clearTimeout(i),i=null),window.removeEventListener("message",l))},y=()=>{u();let e=new Error("Timeout encountered while waiting for response!");e.code="timeout",s(e)},l=r=>{r.source===e&&r.origin===t&&c(r)},c=e=>{if(e.data instanceof Object&&e.data.message===r&&(void 0===a||e.data.state===a))return u(),n(e.data.data)};window.addEventListener("message",l),m=setInterval(()=>{u(!0),d=new MessageChannel,d.port1.onmessage=c,e.postMessage({message:r,state:a},t,[d.port2])},2e3),o&&(i=setTimeout(y,o))})}!async function(){let t=null;try{const r=await async function(){return(await fetch("/silent/discover")).json()}();t=await async function(t,r,a,o,n){a=a||3,o=o||1e4,n=n||0;const s=new URL(r).origin,i=document.createElement("iframe");i.setAttribute("style","position: fixed; top: 0; left: 0; width: 0; height: 0; padding: 0; background-color: transparent; overflow: hidden; visibility: hidden; border: none; box-sizing: border-box;"),t&&i.setAttribute("id",t),document.body.appendChild(i);try{for(let t=0;t<a;t++){const a=`${window.location.href}/${Date.now()}/${Math.round(1e5*Math.random())}`,m=`${Date.now()}/${Math.round(1e5*Math.random())}`,d=`${r}&response_mode=message_post&response_message=${encodeURIComponent(a)}&state=${encodeURIComponent(m)}`,u=o+t*n,y=e(i.contentWindow,s,a,m,u);i.src=d;try{return await y}catch(e){if(console.error(e),"timeout"!==e.code)throw e}}let t=new Error("All retries have been used!");throw t.code="no_more_retry",t}finally{i.remove()}}(null,r.silentAuthUrl,2,2e4),t=await async function(e){let t={code:e.code,hasSid:!1,anonymous:"true"===e.anonymous||void 0};if(e.hasOwnProperty("extended_info"))try{t.summary=JSON.parse(e.extended_info)}catch(e){}if(!t.anonymous&&t.summary&&(t.summary&&t.summary.isConsumer&&(t.summary.offerBuy?(t.tryForDays=0,t.offerBuy=!0):t.summary.isTTQ?t.tryForDays=7:t.summary.isConsumerEducator?t.tryForDays=30:t.summary.isParent?t.tryForDays=14:t.tryForDays=7),(t.summary.isChild||t.summary.isStudent)&&(t.tryActivationCode=!0),(t.summary.isAdmin||t.summary.isAnalyst||t.summary.isEducator)&&(t.summary.offerConsumerTrial?t.tryConsumer=!0:t.tryQuote=!0),t.summary.isDomain&&(t.tryDomain=!0)),!t.anonymous&&t.summary&&t.summary.isConsumer&&t.summary.offerBuy)try{let e=await fetch("/silent/plan/price",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),r=await e.json();e.ok&&(t.price=r.price)}catch(e){console.error(e)}try{let e=await fetch("/silent/sid/check",{credentials:"same-origin"}),r=await e.json();e.ok&&(t.hasSid=!!r.hasSid)}catch(e){console.error(e)}return t}(t)}catch(e){console.error(e),t={}}!function(e){if(0===e.code)e.hasSid||(window.location="/login");else if(e.summary){let t=$('[dji-role="dji-container-auth-need-login"]'),r=$('[dji-role="dji-container-auth-need-grant"]'),a=$('[dji-id="dji-user-display-name"]'),o=$('[dji-id="dji-get-started"]'),n=o.closest("form");e.anonymous?(a.text(e.summary?e.summary.displayName:""),n.remove(),r.attr("dji-available",""),r.show()):810401==e.code&&e.summary?(a.text(e.summary.displayName),e.offerBuy?o.text(e.price?"BUY FOR $"+e.price:"BUY"):e.tryForDays?o.text("TRY FOR "+e.tryForDays+" DAYS"):e.tryConsumer?o.text("START A TRIAL"):e.tryDomain?o.text("CONTINUE"):e.tryActivationCode?o.text("I HAVE AN ACTIVATION CODE"):e.tryQuote&&(o.text("GET QUOTE"),n.attr("action","/get-quote"),n.attr("target","_blank")),r.attr("dji-available","").show()):800002==e.code&&e.summary?(a.text(e.summary.displayName),o.text("SELECT LICENSE"),r.attr("dji-available","").show()):800003==e.code&&e.summary?(a.text(e.summary.displayName),e.tryForDays||e.offerBuy?o.text("UPDATE PAYMENT INFO"):e.tryActivationCode?o.text("I HAVE AN ACTIVATION CODE"):e.tryQuote&&(o.text("GET QUOTE"),n.attr("action","/get-quote"),n.attr("target","_blank")),r.attr("dji-available","").show()):t.show()}else $('[dji-role="dji-container-auth-need-login"]').show()}(t)}()}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.