r)})),o&&t.parent.ddt.version!==n&&(ddt.log("ddt","syncing channels up"),t.parent.postMessage(e,r))},$(t).on("message.ddt",function(n){var e=n.originalEvent;if(e&&e.data&&e.origin&&a.test(e.origin)){var r;try{r=JSON.parse(e.data)}catch(o){}r&&r.ddt&&r.version&&t.ddt.version!==r.version&&(t.ddt.version=r.version,i=r.channels,ddt.log("ddt","updated watch list to","v"+r.version,"in",t.name,ddt.watching()),c.sync(r.version))}})}))},100);var u=function(t,n){if(n.indexOf("*")>=0){if(t.match(n.replace(/\./g,".").r