HEX
Server: nginx/1.16.1
System: Linux VM-0-14-centos 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64
User: www (1000)
PHP: 8.3.31
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.sceytyg.com/travel/swfobject/embedpano.js
/*
	krpano Embedding Script
	krpano 1.18 (build 2014-10-17)
*/
function createPanoViewer(e){function ot(e){return(""+e).toLowerCase()}function ut(e,t){return e[d](t)>=0}function at(){var t,r,i,s,o,u,a,f=n.location;f=f.search||f.hash;if(f){t=f[R](1)[F]("&");for(r=0;r<t[M];r++)i=t[r],s=i[d]("="),s==-1&&(s=i[M]),o=i[R](0,s),u=ot(o),a=i[R](s+1),u==A?e[A]=a:u=="flash"?e.flash=a:e.addVariable(o,a)}}function ft(e){return e[H]=at,e}function lt(){var l,c,h,v,g,y,b,E,S;if(s==0){function x(){var e,n,i,s,o,u,a;if(t[nt]){e=t[nt]["Shockwave Flash"];if(typeof e=="object"){n=e.description;if(n){i=m,t[z]&&(s=t[z]["application/x-shockwave-flash"],s&&(s.enabledPlugin||(i=p)));if(i){o=n[F](" ");for(u=0;u<o[M];++u){a=parseFloat(o[u]);if(isNaN(a))continue;return a}}}}}if(r[et])try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(e){n=e.GetVariable("$version");if(n)return parseFloat(n[F](" ")[1][F](",").join("."))}}catch(f){}return 0}function T(){var e,t,i=p,s=n[k]("div");for(e=0;e<5;e++)if(typeof s.style[["p","msP","MozP","WebkitP","OP"][e]+"erspective"]!=W){i=m,e==3&&r.matchMedia&&(t=r.matchMedia("(-webkit-transform-3d)"),t&&(i=t.matches==m));break}return i}function N(){var e,t,r=w,i=p;try{e=n[k]("canvas");for(t=0;t<4;t++){r=e.getContext(["webgl","experimental-webgl","moz-webgl","webkit-3d"][t]);if(r)break}r&&(i=m)}catch(s){}return r=w,e=w,i}l=p,c=p;if(e.isDevice("iphone|ipad|ipod")&&i[d]("opera mini")<0)a=f=m;else{u=x(),u>=10.1&&(o=m),l=T(),c=N(),h=ot(t.platform),v=0,g=0,y=0,b=i[d]("firefox/"),b<0&&(b=i[d]("gecko/")),b>=0&&(v=parseInt(i[I](1+i[d]("/",b)),10)),b=i[d](tt),b>0&&(y=parseInt(i[I](b+7),10)),b=i[d](Z),b>0&&(g=parseInt(i[I](b+8),10),v>=18&&(g=4)),l&&(g>0&&g<4&&(l=p),v>3&&v<18&&g>1&&(c=l=p),c||(h[d](Y)<0&&v>3&&g<1&&(l=p),y>9&&y<20&&(l=p)));if(l||c){a=m,E=i[d]("blackberry")>=0||i[d]("rim tablet")>=0||i[d]("bb10")>=0,S=(t.msMaxTouchPoints|0)>1;if(g>=4||E||S)f=m}}s=1|l<<1|c<<2}}var t,n,r,i,s,o,u,a,f,l,c,h,p=!1,d="indexOf",v="addEventListener",m=!0,g="externalMouseEvent",y="target",b="wmode",w=null,E="targetelement",S="onerror",x="getElementById",T="bgcolor",N="enable_mousewheel_js_bugfix",C="flashbasepath",k="createElement",L="never",A="html5",O="params",M="length",_="onmousewheel",D="only",P="prefer",H="passQueryParameters",B="consolelog",j="onready",F="split",I="slice",q="xml",R="substring",U="externalMouseEvent2",z="mimeTypes",W="undefined",X="always",V="vars",$="mwheel",J="basepath",K="srcElement",Q="useHTML5",G="fallback",Y="mac",Z="android",et="ActiveXObject",tt="chrome",nt="plugins",rt="stopPropagation",it="lastIndexOf",st="preventDefault";return t=navigator,n=document,r=window,i=ot(t.userAgent),s=0,o=p,u=0,a=p,f=p,e||(e={}),l=e[H]===m,e.swf||(e.swf="krpano.swf"),e.js||(e.js=w),e[q]===undefined&&(e[q]=e.swf[F](".swf").join(".xml")),e.id||(e.id="krpanoSWFObject"),e.width||(e.width="100%"),e.height||(e.height="100%"),e[T]||(e[T]="#000000"),e[b]||(e[b]=w),e[y]||(e[y]=w),e[A]||(e[A]="auto"),e[$]===undefined&&(e[$]=m),e[V]||(e[V]={}),e[O]||(e[O]={}),e[j]||(e[j]=w),e[J]?e[C]=e[J]:(c="./",h=e.swf[it]("/"),h>=0&&(c=e.swf[I](0,h+1)),e[J]=c),e.isDevice=function(e){var t,n,r,s="all",o=["ipad","iphone","ipod",Z];for(t=0;t<4;t++)i[d](o[t])>=0&&(s+="|"+o[t]);e=ot(e)[F]("|");if(e==w)return m;n=e[M];for(t=0;t<n;t++){r=e[t];if(s[d](r)>=0)return m}return p},e.addVariable=function(t,n){t=ot(t),t=="pano"||t==q?e[q]=n:e[V][t]=n},e.addParam=function(t,n){e[O][ot(t)]=n},e[Q]!==undefined&&(e[A]=e[Q]),e[Q]=function(t){e[A]=t},e.isHTML5possible=function(){return lt(),a},e.isFlashpossible=function(){return lt(),o},e[S]||(e[S]=function(t){var n=e[E];n?n.innerHTML='<table width="100%" height="100%"><tr style="vertical-align:middle;"><td><center>ERROR:<br/><br/>'+t+"<br/><br/></center></td></tr></table>":alert("ERROR: "+t)}),e.embed=function(c){var h,H,F,R,J,Q,Z,ft,ct,ht;c&&(e[y]=c),e[E]=n[x](e[y]);if(!e[E])e[S]("No Embedding Target");else{l&&at(),e[$]==p&&(e[V]["control.disablewheel"]=m),e[B]&&(e[V][B]=e[B]),lt(),h=ot(e[A]),H=e.flash,H&&(H=ot(H),H==P?h=G:H==G?h=P:H==D?h=L:H==L&&(h=D)),F=o,R=a,J=a,J&&o&&r[tt]&&(n.domain==""||(s&4)==0)&&(J=p),h==L?R=p:ut(h,D)&&(F=p),ut(h,X)?(o=F=p,a=R=m):R&&(h=="whenpossible"||ut(h,P)&&J||ut(h,"auto")&&f)&&(F=p);if(F&&o){function pt(e){function k(e){function a(){r[v]?(r[v]("DOMMouseScroll",c,p),r[v]("mousewheel",c,p),n[v]("mousedown",f,p),n[v]("mouseup",l,p)):(r.opera?r.attachEvent(_,c):r[_]=n[_]=c,n.onmousedown=f,n.onmouseup=l)}function f(e){e||(e=r.event,e[y]=e[K]),u=e?e[y]:w}function l(e){var t,i,s,a,f,l,c,h;e||(e=r.event,e[y]=e[K]),t=0,i=o[M];for(t=0;t<i;t++){s=o[t];if(s){a=n[s.id];if(a&&s.needfix){f=a.getBoundingClientRect(),l=a==e[y],c=a==u,h=e.clientX>=f.left&&e.clientX<f.right&&e.clientY>=f.top&&e.clientY<f.bottom;if((l||c)&&h==p)try{a[U]&&a[U](0,"mouseUp")}catch(d){}}}}return m}function c(t){var i,u,a,f,l,c;t||(t=r.event,t[y]=t[K]),i=0,u=p,t.wheelDelta?(i=t.wheelDelta/120,r.opera&&s&&(i/=4/3)):t.detail&&(i=-t.detail,s==p&&(i/=3));if(i){a=0,f=o[M];for(a=0;a<f;a++){l=o[a];if(l){c=n[l.id];if(c&&c==t[y]){try{c.jswheel?c.jswheel(i):c[g]?c[g](i):c[N]&&(c[N](),c[g]&&c[g](i))}catch(h){}u=m;break}}}}e[$]==p&&(u=p);if(u)return t[rt]&&t[rt](),t[st]&&t[st](),t.cancelBubble=m,t.cancel=m,n[v]||(t.returnValue=p),p}var i,s=ot(t.appVersion)[d](Y)>=0,o=r._krpMW,u=w;o||(o=r._krpMW=new Array,a()),i=e[b],o.push({id:e.id,needfix:s||!!r[tt]||i=="opaque"||i=="transparent"})}var i,s,o,u,a,f=encodeURIComponent,l="",c=e[V],h=e[O],S=e.id;for(;;){s=n[x](S);if(!s)break;S+=String.fromCharCode(48+Math.floor(9*Math.random())),e.id=S}e[b]&&(h[b]=e[b]),e[T]&&(h[T]=e[T]),e[q]!==undefined&&(c[q]=e[q]),e[b]=ot(h[b]),h.allowfullscreen="true",h.allowscriptaccess=X,i="browser.",l=i+"useragent="+f(t.userAgent)+"&"+i+"location="+f(r.location.href);for(i in c)l+="&"+f(i)+"="+f(c[i]);i="initvars",c=e[i];if(c){l+="&"+i+"=";for(i in c)l+="%26"+f(i)+"="+f(c[i])}h.flashvars=l,e[C]&&(h.base=e[C]),o="",u=' id="'+S+'" width="'+e.width+'" height="'+e.height+'" style="outline:none;" ',a="_krpcb_"+S,!e[j]||(r[a]=function(){try{delete r[a]}catch(t){r[a]=w}e[j](n[x](S))});if(t[nt]&&t[z]&&!r[et]){o='<embed name="'+S+'"'+u+'type="application/x-shockwave-flash" src="'+e.swf+'" ';for(i in h)o+=i+'="'+h[i]+'" ';o+=" />"}else{o="<object"+u+'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="movie" value="'+e.swf+'" />';for(i in h)o+='<param name="'+i+'" value="'+h[i]+'" />';o+="</object>"}e[E].innerHTML=o,k(e)}u>=11.4&&(Q=m,ot(t.platform)[d](Y)>=0&&ot(t.vendor)[d]("apple")>=0&&(Z=i[d]("webkit/"),Z>0&&(Z=parseFloat(i[I](Z+7)),!isNaN(Z)&&Z>0&&Z<534&&(Q=p))),Q&&e[b]==w&&!e[O][b]&&(e[b]="direct")),pt(e)}else if(R&&a){function dt(t){function i(e,t,r){var i,s=n.getElementsByTagName("head");s&&(s=s[0]),s||(s=n.body),s?(i=n[k]("script"),i.type="text/javascript",i.async=m,i.onload=t,i[S]=r,i.src=e,s.appendChild(i)):r()}function s(){return typeof embedpanoJS!==W}function o(){s()?(e[V][q]=e[q],e[O]=e,e.htmltarget=e[y],embedpanoJS(t)):u()}function u(){t[S]("HTML5 Version not available!")}var r=t.js;r||(r=t.swf,r=r[I](0,r.toLowerCase()[it](".swf")+1)+"js"),s()?o():i(r,o,u)}dt(e)}else ft="",ct=h!=L,ht=o==p&&(h==L||!ut(h,X)&&!ut(h,D)),ht&&(ft+="Adobe Flashplayer"),ht&&ct&&(ft+=" or<br/>"),ct&&(ft+="HTML5 Browser with CSS3D or WebGL support"),ft+=" required!",e[S](ft)}},ft(e)}function removepano(e){var t,n,r,i,s=document.getElementById(e);if(s){t=window._krpMW;if(t)for(n=0;n<t.length;n++){r=t[n];if(r&&r.id===e){t.splice(n,1);break}}s.unload&&s.unload(),i=s.parentNode,i&&i.removeChild(s)}}function embedpano(e){createPanoViewer(e).embed()};