PageSourceSearch

https://portal.circle.ms/Content/Event/bundle-index?v=fXkGUre8zVGT---rF_lbOaQxZopOiqrkqUagd53_4HU1

js circle.ms collected 2026-09-24 09:20:31 UTC 7,219 bytes, 1 lines download raw bytes

1var Circlems;(function(n){var t;(function(n){function u(n,t){var i=[],r=function(n){var r=i.filter(function(i){return i.length>0&&t(i[0])===n});if(r.length===1)return r[0];if(r.length>1)throw"exception";return null};return n.forEach(function(n){var f=t(n),u;f&&(u=r(f),u?u.push(n):i.push([n]))}),i}var t;n.GroupBy=u;t=function(){function n(t){var r=this,u;r.Id=0;r.Name=null;r.HoldDate=new Date(1970,1,1);r.HoldMonth="197001";r.Place=null;r.HoldDateStr=null;r.EventOrgName=null;r.InputStartDate=new Date(1970,1,1);r.InputEndDate=new Date(1970,1,1);r.ImageUrl="/content/images/noimg/ph_profile_noimage2.png";t.Id&&(r.Id=t.Id);t.Name&&(r.Name=t.Name);t.HoldDate&&(r.HoldDate=new Date(t.HoldDate),r.HoldMonth=n.GetYYYYMM(r.HoldDate));t.Place&&(r.Place=t.Place);t.HoldDateStr?r.HoldDateStr=t.HoldDateStr:t.HoldDate&&(r.HoldDateStr=""+r.HoldDate.getFullYear()+"年"+(r.HoldDate.getMonth()+1)+"月"+r.HoldDate.getDate()+"日");t.InputStartDate&&(r.InputStartDate=new Date(t.InputStartDate));t.InputEndDate&&(r.InputEndDate=new Date(t.InputEndDate));t.ImageUrl&&(r.ImageUrl=t.ImageUrl);r.CatalogUrl=ko.pureComputed(function(){var t=i.TheModel.OfficialEventItems,n=t().filter(function(n){return n.Id===r.Id});return n.length>0?n[0].CatalogUrl:null});r.EventOrgName=ko.pureComputed(function(){var t=i.TheModel.OfficialEventItems,n=t().filter(function(n){return n.Id===r.Id});return n.length>0?n[0].EventOrgName:null});u=new Date;r.EntryUrl=r.InputStartDate<=u&&u<=r.InputEndDate?t.EntryUrl:null;r.IsUserDelivered=t.IsUserDelivered}return n.prototype.GetInputEndDateStr=function(){if(this.InputEndDate.getFullYear()>=2099)return"いつでも";var n=this.InputEndDate.getHours(),t=this.InputEndDate.getMinutes();return""+(this.InputEndDate.getMonth()+1)+"月"+this.InputEndDate.getDate()+"日"},n.prototype.GetInputEndTimeStr=function(){if(this.InputEndDate.getFullYear()>=2099)return"";var n=this.InputEndDate.getHours(),t=this.InputEndDate.getMinutes();return n!==23&&t!==59?" "+n+"時":""},n.GetYYYYMM=function(t){return""+t.getFullYear()+n.FormatNumberLength(t.getMonth()+1,2)},n.FormatNumberLength=function(n,t){for(var i=""+n;i.length<t;)i="0"+i;return i},n}();n.EventListItem=t;var r=function(){function n(n){this.Items=n}return n.prototype.Month=function(){return this.Items!=null&&this.Items.length>0?""+(this.Items[0].HoldDate.getMonth()+1):""},n}(),f=function(){function i(i){var s=this;this.options=i;var u=this,e=new Date,o=t.GetYYYYMM(e),f=e.getTime();u.TargetYear=ko.observable(e.getFullYear());u.Items=ko.observable([]);u.CurrentItems=ko.pureComputed(function(){var i=""+u.TargetYear(),e=u.OfficialEventItems().filter(function(n){return u.Items().filter(function(t){return t.Id===n.Id}).length===0}).map(function(n){return new t(n)}),s=u.Items().concat(e).filter(function(n){return n.HoldMonth.indexOf(i)===0&&n.HoldMonth>=o});return n.GroupBy(s,function(n){return n.HoldMonth}).map(function(n){return new r(n.sort(function(n,t){var i=Math.abs(f-n.HoldDate.getTime()),r=Math.abs(f-t.HoldDate.getTime());return i<r?-1:i===r?0:1}))}).sort(function(n,t){var i=n.Items[0].HoldMonth,r=t.Items[0].HoldMonth;return i<r?-1:i===r?0:1})});u.HistoryItems=ko.pureComputed(function(){var t=""+u.TargetYear(),i=u.Items().filter(function(n){return n.HoldMonth.indexOf(t)===0&&n.HoldMonth<o});return n.GroupBy(i,function(n){return n.HoldMonth}).map(function(n){return new r(n.sort(function(n,t){var i=f-n.HoldDate.getTime(),r=f-t.HoldDate.getTime();return i<r?-1:i===r?0:1}))}).sort(function(n,t){var i=n.Items[0].HoldMonth,r=t.Items[0].HoldMonth;return i>r?-1:i===r?0:1})});u.OfficialEventItems=ko.observableArray([]);u.Years=ko.pureComputed(function(){var n=u.Items().map(function(n){return n.HoldDate.getFullYear()});return n.filter(function(n,t,i){return i.indexOf(n)===t}).sort(function(n,t){return n===t?0:n<t?1:-1})});u.YearSelectFunc=function(n){u.TargetYear(n)};u.ShowMore=ko.observable(!0);u.MoreSelectFunc=function(){var n=u.Years(),t=n[n.length-1]-1,i=$.ajax({type:"POST",url:s.options.entry4site+"CHistory/EventListJson",data:{year:t},dataType:"json"}).done(function(n){if(n&&n.length>0){var i=u.Items();u.Items(i.concat(n.map(function(n){return u.MapEventListItem(n)})));u.TargetYear(t)}else u.ShowMore(!1)});return!1}}return i.prototype.MapEventListItem=function(n){var i=this;return new t({Id:n.開催Id,Name:n.イベント名,HoldDate:n.開催日,Place:n.開催場所,HoldDateStr:n.開催時期,InputStartDate:n.申込開始日時制御用,InputEndDate:n.入力締切日時制御用,ImageUrl:n.イベントイメージUrl,EntryUrl:n.EntryUrl&&n.EntryUrl.indexOf("http")===0?n.EntryUrl:i.options.entry4site+n.EntryUrl.substring(1),CatalogUrl:null,EventOrgName:null,IEventListItem:null,IsUserDelivered:!1})},i.prototype.initialize=function(){var n=this,t=$.ajax({type:"POST",url:this.options.entry4site+"CHistory/EventListJson",data:{},dataType:"json"}).done(function(t){n.Items(t.map(function(t){return n.MapEventListItem(t)}))}),i=$.ajax({type:"POST",url:"/Event/OfficalEventJson",data:{},dataType:"json"}).done(function(t){n.OfficialEventItems(t)});$.when(t,i).done(function(){$("#loading").fadeOut();$("div.content-wrap").fadeIn()})},i}(),i=function(){function n(t){var i=this;i.viewmodel=new f(t);n.TheModel=i.viewmodel}return n.prototype.initialize=function(n){var t=this;return t.viewmodel.initialize(),ko.applyBindings(t.viewmodel,n),!0},n}();n.Index=i})(t=n.Event||(n.Event={}))})(Circlems||(Circlems={})),function(n){var r=function(){function n(){}return n}(),t,i;n.AdvItem=r;t=function(){function n(){var n=this;n.Items=ko.observableArray([])}return n}();n.KoAdvViewModel=t;i=function(){function i(){var n=this;n.viewmodel=new t}return i.prototype.initializeSquare=function(n,t){var i=this;return ko.applyBindings(i.viewmodel,n),$.ajax({type:"POST",url:"/Advert/GetRandom",data:{Id:"wc_p_2_square",count:t},dataType:"json"}).done(function(n){for(var t in n)n.hasOwnProperty(t)&&i.viewmodel.Items.push(n[t])}),!0},i.prototype.initializeRight=function(n,t){var i=this;return n!=null&&(ko.applyBindings(i.viewmodel,n),$.ajax({type:"POST",url:"/Advert/GetRandom",data:{Id:"wc_p_bigfooter_b",count:t},dataType:"json"}).done(function(n){for(var t in n)n.hasOwnProperty(t)&&i.viewmodel.Items.push(n[t])})),!0},i.prototype.initialize=function(n){var t=this;return ko.applyBindings(t.viewmodel,n),$.ajax({type:"POST",url:"/Advert/GetRandom",data:{Id:"wc_p_bigfooter_b",count:1e3},dataType:"json"}).done(function(n){for(var i in n)n.hasOwnProperty(i)&&t.viewmodel.Items.push(n[i])}),!0},i.prototype.initializeForTop=function(t,i,r){var e=this,u,f;return e.initializeRight(t,5),u=n.Layout.TheLayout.updateTop230x60,f=n.Layout.TheLayout.updateTop900x90,$.ajax({type:"POST",url:"/Advert/GetRandom",data:{Id:"wc_p_bigfooter_a",count:1},dataType:"json"}).done(function(n){u&&u(n)}),$.ajax({type:"POST",url:"/Advert/Get",data:{Id:"new_portal_slider",count:10},dataType:"json"}).done(function(n){f&&f(n)}),$.ajax({type:"POST",url:"/Advert/GetTopWebCatalogBunner",data:{Id:"new_portal_webcataloglist",count:100},dataType:"json"}).done(function(n){i&&i(n)}),$.ajax({type:"POST",url:"/Advert/Get",data:{Id:"advert_small_random",count:0},dataType:"json"}).done(function(n){r&&r(n)}),!0},i}();n.Adv=i}(Circlems||(Circlems={}))

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.