function setEdition(e,i){return e.replace("{{edition}}",i)}function signUrl(e){var i=setEdition(e,Alloy.Globals.settings.edition),r=900,t=new Date,n=Math.floor(t.getTime()/1e3),o=n-n%r,l=i+"&signTimestamp="+o,s=CryptoJS.CryptoJS.HmacSHA256(l,Alloy.CFG.feedSharedKey);return l=l+"&sign="+s,Alloy.CFG.feedDomain+l}var gli=require("helpers"),CryptoJS=require("hmac-sha256");exports.signUrl=signUrl;