PageSourceSearch

https://gestion.atlnacional.com.co:81/bundles/Scripts/chat/ionSoun…iWqqC7p-hkus5Bfq_midrMmGxotbYAMtM8DwyUDeWc1

js atlnacional.com.co collected 2026-10-02 11:09:52 UTC 3,554 bytes, 1 lines download raw bytes

1var ion=ion||{};(function(n){var s=function(n){n&&console&&(console.warn&&typeof console.warn=="function"?console.warn(n):console.log&&typeof console.log=="function"&&console.log(n))},e,l,a;if(n.sound){s("ion.sound already exists!");return}if(typeof Audio!="function"&&typeof Audio!="object"){e=function(){s("HTML5 Audio is not supported in this browser")};n.sound=function(){};n.sound.play=e;n.sound.stop=e;n.sound.destroy=e;e();return}var f,c=/iPad|iPhone/.test(navigator.appVersion),o,r={},t={},h,u,i;c?(f=function(n){this.name=n.name;this.loop=!1;this.paused=!1;this.sound=null;this.callback=null},f.prototype={init:function(){this.sound=o},play:function(n){n||(n={});n.loop?this.paused?this._playLoop(this.loop+1):this._playLoop(n.loop):(this.loop=!1,this._play());n.onEnded&&typeof n.onEnded=="function"&&(this.callback=n.onEnded)},_play:function(){if(this.paused)this.paused=!1;else try{this.sound.currentTime=0}catch(n){}this.sound.removeEventListener("ended");this.sound.addEventListener("ended",this._ended.bind(this),!1);this.sound.src=r.path+this.name+u;this.sound.load();this.sound.play()}}):(f=function(n){this.name=n.name;this.volume=r.volume||.5;this.preload=r.preload?"auto":"none";this.loop=!1;this.paused=!1;this.sound=null;this.callback=null;"volume"in n&&(this.volume=+n.volume);"preload"in n&&(this.preload=n.preload?"auto":"none")},f.prototype={init:function(){this.sound=new Audio;this.sound.src=r.path+this.name+u;this.sound.load();this.sound.preload=this.preload;this.sound.volume=this.volume;this.sound.addEventListener("ended",this._ended.bind(this),!1)},play:function(n){n||(n={});(n.volume||n.volume===0)&&(this.volume=+n.volume,this.sound.volume=this.volume);n.loop?this.paused?this._playLoop(this.loop+1):this._playLoop(n.loop):(this.loop=!1,this._play());n.onEnded&&typeof n.onEnded=="function"&&(this.callback=n.onEnded)},_play:function(){if(this.paused)this.paused=!1;else try{this.sound.currentTime=0}catch(n){}this.sound.play()}});f.prototype._playLoop=function(n){typeof n=="boolean"?(this.loop=9999999,this._play()):typeof n=="number"&&(this.loop=n-1,this._play())};f.prototype._ended=function(){this.loop>0&&(this.loop-=1,this._play());this.callback&&this.callback(this.name)};f.prototype.pause=function(){this.paused=!0;this.sound.pause()};f.prototype.stop=function(){this.loop=!1;this.sound.pause();try{this.sound.currentTime=0}catch(n){}};f.prototype.destroy=function(){this.stop();this.sound.removeEventListener("ended",this._ended.bind(this),!1);this.sound.src="";this.sound=null};l=function(){o=new Audio;var n=o.canPlayType("audio/mpeg"),t=o.canPlayType("audio/ogg"),i=o.canPlayType('audio/mp4; codecs="mp4a.40.2"');c?n==="probably"?u=".mp3":i==="probably"?u=".aac":n==="maybe"?u=".mp3":i==="maybe"&&(u=".aac"):u=n==="probably"?".mp3":t==="probably"?".ogg":n==="maybe"?".mp3":t==="maybe"?".ogg":".wav"};a=function(n){t[n.name]=new f(n);t[n.name].init()};n.sound=function(n){if(r=JSON.parse(JSON.stringify(n)),r.path=r.path||"",r.volume=r.volume||.5,r.preload=r.preload||!1,r.mix=r.mix||!0,h=r.sounds.length,!h){s("No sound-files provided!");return}for(l(),i=0;i<h;i++)a(r.sounds[i])};n.sound.version="2.1.3";n.sound.play=function(n,i){t[n]&&t[n].play(i)};n.sound.pause=function(n){if(n&&t[n])t[n].pause();else for(i in t)t.hasOwnProperty(i)&&t[i]&&t[i].pause()};n.sound.stop=function(n){if(n&&t[n])t[n].stop();else for(i in t)t.hasOwnProperty(i)&&t[i]&&t[i].stop()};n.sound.destroy=function(n){if(n&&t[n])t[n].destroy(),t[n]=null;else for(i in t)t.hasOwnProperty(i)&&t[i]&&(t[i].destroy(),t[i]=null)}})(ion)

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.