{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap 5eba713539a3e64af7c8","webpack:///./lib/utils/util.js","webpack:///./lib/sharepoint/sharepointqueryable.js","webpack:///./lib/utils/exceptions.js","webpack:///./lib/sharepoint/odata.js","webpack:///./lib/configuration/pnplibconfig.js","webpack:///./lib/utils/logging.js","webpack:///./lib/graph/graphqueryable.js","webpack:///./lib/odata/parsers.js","webpack:///./lib/collections/collections.js","webpack:///./lib/sharepoint/files.js","webpack:///./lib/net/utils.js","webpack:///./lib/sharepoint/webs.js","webpack:///./lib/utils/storage.js","webpack:///./lib/odata/core.js","webpack:///./lib/sharepoint/lists.js","webpack:///./lib/sharepoint/items.js","webpack:///./lib/sharepoint/sharepointqueryableshareable.js","webpack:///./lib/sharepoint/types.js","webpack:///./lib/sharepoint/folders.js","webpack:///./lib/odata/queryable.js","webpack:///./lib/request/pipeline.js","webpack:///./lib/net/httpclient.js","webpack:///./lib/sharepoint/roles.js","webpack:///./lib/sharepoint/sitegroups.js","webpack:///./lib/sharepoint/contenttypes.js","webpack:///./lib/sharepoint/usercustomactions.js","webpack:///./lib/sharepoint/navigation.js","webpack:///./lib/sharepoint/batch.js","webpack:///(webpack)/buildin/global.js","webpack:///./lib/net/fetchclient.js","webpack:///./lib/sharepoint/search.js","webpack:///./lib/odata/caching.js","webpack:///./lib/sharepoint/searchsuggest.js","webpack:///./lib/sharepoint/site.js","webpack:///./lib/sharepoint/sharepointqueryablesecurable.js","webpack:///./lib/sharepoint/siteusers.js","webpack:///./lib/sharepoint/webparts.js","webpack:///./lib/sharepoint/fields.js","webpack:///./lib/sharepoint/features.js","webpack:///./lib/sharepoint/appcatalog.js","webpack:///./lib/sharepoint/utilities.js","webpack:///./lib/net/graphclient.js","webpack:///./lib/configuration/providers/cachingConfigurationProvider.js","webpack:///./lib/pnp.js","webpack:///./lib/configuration/configuration.js","webpack:///./lib/sharepoint/rest.js","webpack:///./lib/net/digestcache.js","webpack:///./lib/sharepoint/attachmentfiles.js","webpack:///./lib/sharepoint/views.js","webpack:///./lib/sharepoint/forms.js","webpack:///./lib/sharepoint/subscriptions.js","webpack:///./lib/sharepoint/regionalsettings.js","webpack:///./lib/sharepoint/relateditems.js","webpack:///./lib/sharepoint/userprofiles.js","webpack:///./lib/utils/files.js","webpack:///./lib/graph/rest.js","webpack:///./lib/graph/v1.js","webpack:///./lib/graph/groups.js","webpack:///./lib/graph/members.js","webpack:///./lib/graph/calendars.js","webpack:///./lib/graph/conversations.js","webpack:///./lib/graph/attachments.js","webpack:///./lib/graph/plans.js","webpack:///./lib/graph/photos.js","webpack:///./lib/exports/core.js","webpack:///./lib/configuration/providers/index.js","webpack:///./lib/configuration/providers/spListConfigurationProvider.js","webpack:///./lib/exports/graph.js","webpack:///./lib/graph/index.js","webpack:///./lib/exports/net.js","webpack:///./lib/net/sprequestexecutorclient.js","webpack:///./lib/net/nodefetchclientbrowser.js","webpack:///./lib/exports/odata.js","webpack:///./lib/exports/sp.js","webpack:///./lib/sharepoint/index.js"],"names":[],"mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;ACVA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;8CC7DA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA,qCAAqC,wCAAwC,EAAE;AAC/E,kCAAkC,6DAA6D,EAAE;AACjG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,WAAW;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,qBAAqB;AAC1D;AACA;AACA;AACA;AACA,mDAAmD,kBAAkB,EAAE,gBAAgB,aAAa;AACpG;AACA,kCAAkC,yBAAyB,EAAE;AAC7D;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;;ACxRA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,aAAa;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,qEAAqE,2CAA2C,EAAE;AAClH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,0BAA0B;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,qBAAqB;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,kCAAkC,+CAA+C;AACjF,yFAAyF,QAAQ;AACjG;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,sCAAsC,EAAE;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;AACrD;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC/VA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA,0BAA0B,SAAS,sFAAsF;AACzH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,4EAA4E;AAC1G;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,6BAA6B,sFAAsF;AACnH;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,6BAA6B,sCAAsC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,6BAA6B,2EAA2E;AACxG;AACA;AACA,8BAA8B,sEAAsE;AACpG;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,6BAA6B,gEAAgE;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,6BAA6B,wDAAwD;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,mCAAmC,8BAA8B;AACjE;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,6BAA6B,0GAA0G;AACvI;AACA;AACA,8BAA8B,sEAAsE;AACpG;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,6BAA6B,gDAAgD;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,6BAA6B,gDAAgD;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACnLA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChGA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD,wCAAwC;AAC1F;AACA;AACA;AACA;AACA,qDAAqD,aAAa;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6DAA6D,2CAA2C;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7JA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,uDAAuD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,2CAA2C,4CAA4C,EAAE;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,0BAA0B;AACzD,6BAA6B,iCAAiC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,0BAA0B;AACzD,6BAA6B,8CAA8C;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,wCAAwC,mCAAmC;AAC3E,qCAAqC,kBAAkB;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,+BAA+B,0BAA0B;AACzD,kBAAkB,iCAAiC;AACnD;AACA;AACA;AACA;AACA;AACA,oDAAoD,8BAA8B,EAAE;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC3NA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,0CAA0C,EAAE;AAC3H;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,0BAA0B;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,qBAAqB;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,kCAAkC,+CAA+C;AACjF;AACA;AACA;AACA,0CAA0C,iBAAiB,EAAE;AAC7D;AACA,wCAAwC,4CAA4C,EAAE;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;AACrD;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACtRA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uEAAuE,UAAU,EAAE;AACnF;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACpFA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,WAAW;AACzC,gCAAgC,aAAa;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC3GA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE,mCAAmC,sBAAsB;AACzD;AACA,kDAAkD,6BAA6B,EAAE,wBAAwB,6DAA6D,EAAE;AACxK;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,qCAAqC,iCAAiC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,6CAA6C;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC,2CAA2C;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sFAAsF,WAAW,qCAAqC,EAAE;AACxI;AACA;AACA;AACA;AACA;AACA;AACA,sFAAsF,WAAW,qCAAqC,EAAE;AACxI;AACA;AACA;AACA;AACA;AACA,wFAAwF,WAAW,qCAAqC,EAAE;AAC1I;AACA;AACA;AACA;AACA;AACA,sFAAsF,WAAW,qCAAqC,EAAE;AACxI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS,qBAAqB,wBAAwB,EAAE;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,sBAAsB;AACzD;AACA,oCAAoC,aAAa;AACjD;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,0HAA0H;AAC5I;AACA;AACA;AACA,0BAA0B,gIAAgI;AAC1J;AACA,aAAa;AACb;AACA;AACA,uBAAuB,gBAAgB;AACvC;AACA;AACA;AACA,sBAAsB,0IAA0I;AAChK;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mGAAmG,iBAAiB,qBAAqB,sBAAsB,EAAE;AACjK;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oIAAoI,iBAAiB,qBAAqB,sBAAsB,EAAE;AAClM;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,iBAAiB;AAC1C;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,mBAAmB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,gEAAgE;AACjE;AACA;AACA;AACA;AACA,CAAC,mHAAmH;AACpH;AACA;AACA;AACA;AACA,CAAC,yEAAyE;AAC1E;AACA;AACA;AACA;AACA;AACA,CAAC,+EAA+E;;;;;;;;ACpiBhF;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,kBAAkB;AACtD;AACA;AACA,SAAS;AACT;AACA;AACA;;;;;;;;AClBA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,kBAAkB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,kBAAkB;AACvD,kCAAkC,kBAAkB;AACpD,kCAAkC,iBAAiB;AACnD,4CAA4C,2BAA2B;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,sCAAsC;AACrE,aAAa;AACb,SAAS;AACT,iDAAiD,iBAAiB;AAClE;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,sBAAsB;AACvD;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,mBAAmB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,yBAAyB;AACrE,8CAA8C,2BAA2B;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,mBAAmB;AAC9C,SAAS;AACT;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,uDAAuD,iBAAiB;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,uDAAuD,iBAAiB;AACxE;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,uFAAuF;AACvF;AACA;AACA,kCAAkC,iBAAiB;AACnD,8CAA8C,6BAA6B;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,8BAA8B,gBAAgB,2BAA2B,EAAE,UAAU;AAC5H,uDAAuD,iBAAiB;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,UAAU;AACxC,gCAAgC,aAAa;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC9jBA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,wBAAwB;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,uCAAuC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,yCAAyC;AACzE;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,eAAe;AAC/C,kCAAkC,iBAAiB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD;;;;;;;;ACvPA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA,8CAA8C,kEAAkE,EAAE;AAClH,+CAA+C,4CAA4C,EAAE;AAC7F,6CAA6C,kBAAkB,EAAE;AACjE;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACpEA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,kBAAkB;AACvD,kCAAkC,gBAAgB;AAClD,4CAA4C,4BAA4B;AACxE,4CAA4C,yBAAyB;AACrE;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,oBAAoB;AAC/C,SAAS;AACT,8BAA8B,oCAAoC;AAClE,oBAAoB;AACpB,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,kBAAkB;AACvD,kCAAkC,gBAAgB;AAClD,4CAA4C,4BAA4B;AACxE,4CAA4C,yBAAyB;AACrE;AACA;AACA;AACA;AACA,8EAA8E,kFAAkF;AAChK;AACA;AACA;AACA,6BAA6B,6EAA6E;AAC1G,iBAAiB,sBAAsB,kBAAkB,EAAE;AAC3D,aAAa;AACb;AACA,6BAA6B,iFAAiF;AAC9G,iBAAiB,sBAAsB,kBAAkB,EAAE;AAC3D,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C;AACA,2BAA2B,oBAAoB;AAC/C,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,8BAA8B,gBAAgB,2BAA2B,EAAE,UAAU;AACvH,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA,kCAAkC,8BAA8B,gBAAgB,yBAAyB,EAAE,UAAU;AACrH,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,8BAA8B,gBAAgB,kCAAkC,EAAE,UAAU;AAC9H,SAAS,GAAG,sBAAsB,iBAAiB,EAAE,EAAE;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE;AACA;AACA,+BAA+B,gDAAgD;AAC/E,aAAa;AACb;AACA,+BAA+B,wCAAwC;AACvE,aAAa;AACb;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,6GAA6G,qCAAqC,EAAE;AACpJ;AACA;AACA,CAAC;AACD;;;;;;;;ACndA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,iBAAiB;AACrD,oDAAoD,mCAAmC;AACvF;AACA;AACA;AACA,+BAA+B,6BAA6B;AAC5D,aAAa;AACb,+DAA+D,iBAAiB;AAChF;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C,oDAAoD,mCAAmC;AACvF;AACA;AACA;AACA;AACA,mCAAmC,6BAA6B;AAChE,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,iBAAiB;AACjB;AACA;AACA;AACA,qBAAqB;AACrB,iBAAiB;AACjB,aAAa,sBAAsB,kBAAkB,EAAE;AACvD,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,YAAY;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,+FAA+F;AAC/F;AACA;AACA,2CAA2C,2BAA2B;AACtE;AACA,kCAAkC,kEAAkE;AACpG,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,gBAAgB,EAAE;AAC3D;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,mBAAmB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,SAAS;AACT;AACA;AACA,CAAC;;;;;;;;ACxbD;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,mBAAmB;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,uBAAuB;AAC9D,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA,sEAAsE,SAAS,cAAc,EAAE;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,gBAAgB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,kFAAkF,SAAS,cAAc,EAAE;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,gBAAgB;AACjD;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,iBAAiB;AACnD,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,kDAAkD;AACnF;AACA,kCAAkC,mCAAmC;AACrE,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0HAA0H,yBAAyB,EAAE;AACrJ;AACA;AACA,2HAA2H,yBAAyB,EAAE;AACtJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iCAAiC;AAC/D;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D,qDAAqD,qCAAqC;AAC1F,4CAA4C,2BAA2B;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iDAAiD;AAC/E,oCAAoC,mBAAmB;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iCAAiC;AAC/D,uCAAuC,uBAAuB;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,gBAAgB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iDAAiD;AAC/E,oCAAoC,mBAAmB;AACvD;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,gBAAgB;AACjD;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iCAAiC;AAC/D,uCAAuC,uBAAuB;AAC9D;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iCAAiC;AAC/D,uCAAuC,uBAAuB;AAC9D,yCAAyC,yBAAyB;AAClE;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;ACnjBA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,gEAAgE;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,6DAA6D;AAC9D;AACA;AACA;AACA;AACA,CAAC,oGAAoG;AACrG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,4EAA4E;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,mEAAmE;AACpE;AACA;AACA;AACA;AACA,CAAC,qFAAqF;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,yEAAyE;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,sEAAsE;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,4EAA4E;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,uDAAuD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,uDAAuD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,4EAA4E;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,gEAAgE;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,6GAA6G;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,qFAAqF;AACtF;AACA;AACA;AACA;AACA;AACA,CAAC,mHAAmH;AACpH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,8FAA8F;;;;;;;;AC7a/F;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,kBAAkB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,2BAA2B,sBAAsB;AACjD,SAAS;AACT;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;ACjNA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,6CAA6C;AAC7E,iCAAiC,cAAc;AAC/C,0HAA0H,iCAAiC,EAAE;AAC7J;AACA;AACA,gCAAgC,6CAA6C;AAC7E,iCAAiC,cAAc;AAC/C,0HAA0H,iCAAiC,EAAE;AAC7J;AACA;AACA,iCAAiC,cAAc;AAC/C,gCAAgC,6CAA6C;AAC7E,2HAA2H,iCAAiC,EAAE;AAC9J;AACA;AACA,iCAAiC,cAAc;AAC/C,gCAAgC,6CAA6C;AAC7E,2HAA2H,iCAAiC,EAAE;AAC9J;AACA;AACA,iCAAiC,cAAc;AAC/C,gCAAgC,6CAA6C;AAC7E,4HAA4H,iCAAiC,EAAE;AAC/J;AACA;AACA,iCAAiC,cAAc;AAC/C,gCAAgC,6CAA6C;AAC7E,6HAA6H,iCAAiC,EAAE;AAChK;AACA;AACA,CAAC;AACD;;;;;;;;ACnHA;AACA;AACA;AACA;AACA,4CAA4C,QAAQ;AACpD;AACA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,0BAA0B,EAAE;AAC1D;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,mBAAmB;AAClD;AACA;AACA;AACA;AACA,4BAA4B,uBAAuB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mEAAmE,kBAAkB,EAAE;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sFAAsF;AACtF;AACA;AACA,aAAa;AACb;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kGAAkG;AAClG;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA,6EAA6E,qBAAqB,EAAE;AACpG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mEAAmE,GAAG,uBAAuB;AAC7F;AACA,+CAA+C,uCAAuC,EAAE;AACxF,6CAA6C,mCAAmC,EAAE;AAClF,0CAA0C,qBAAqB,EAAE;AACjE,yCAAyC,kBAAkB,EAAE;AAC7D;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0FAA0F;AAC1F;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,0FAA0F;AAC1F;AACA;AACA,iBAAiB;AACjB;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC/NA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,gDAAgD,gDAAgD;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6DAA6D,cAAc;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,mBAAmB;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA,+CAA+C,sBAAsB;AACrE;AACA,sEAAsE,8BAA8B,EAAE;AACtG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,MAAM;AACpD;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,iCAAiC,cAAc;AAC/C,gDAAgD,gBAAgB;AAChE;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,gDAAgD,iBAAiB;AACjE;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,gDAAgD,kBAAkB;AAClE;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,gDAAgD,mBAAmB;AACnE;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACjHA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,0BAA0B;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,0BAA0B;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,cAAc,6BAA6B,EAAE;AAC9F;AACA;AACA;AACA,yBAAyB,8BAA8B;AACvD,SAAS;AACT,8BAA8B,iBAAiB;AAC/C;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gEAAgE,cAAc,6BAA6B,EAAE;AAC7G;AACA;AACA,2BAA2B,8BAA8B;AACzD,SAAS;AACT;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iCAAiC;AAC/D;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC3PA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,sEAAsE;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,qBAAqB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D,gBAAgB,qBAAqB,EAAE;AACjG,8BAA8B,iBAAiB;AAC/C;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,gBAAgB,qBAAqB,EAAE;AAClF;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;AC9IA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,uBAAuB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,+EAA+E,iBAAiB;AAChG;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,kBAAkB;AACvD,+BAA+B,gCAAgC;AAC/D,4CAA4C,yBAAyB;AACrE;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA,2BAA2B,2BAA2B;AACtD,SAAS;AACT,8BAA8B,iBAAiB;AAC/C,oBAAoB;AACpB,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,qBAAqB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACtLA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,4BAA4B;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D,cAAc,gCAAgC,EAAE;AAC1G,8BAA8B,iBAAiB;AAC/C;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,gCAAgC;AAC3D,SAAS;AACT;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACzGA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,gBAAgB;AACjD;AACA;AACA;AACA;AACA,2BAA2B,8BAA8B;AACzD,SAAS;AACT,2DAA2D,iBAAiB;AAC5E;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,kEAAkE,iBAAiB;AACnF;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,qBAAqB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,oBAAoB;AACzD,+BAA+B,YAAY;AAC3C,yCAAyC,wBAAwB;AACjE,0CAA0C,yBAAyB;AACnE;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;AC3LA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,kCAAkC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,kBAAkB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,yCAAyC;AACxI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iEAAiE,yCAAyC,EAAE,oBAAoB,4BAA4B,EAAE;AAC9J;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,4BAA4B;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sEAAsE;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kEAAkE,cAAc;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qEAAqE,cAAc;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,iBAAiB,EAAE;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,mFAAmF,EAAE;AACzI,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;ACvPA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;;8CCpBA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;ACbA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,gBAAgB;AACnD,gCAAgC,aAAa;AAC7C;AACA;AACA,8BAA8B,uBAAuB;AACrD;AACA;AACA;AACA,mCAAmC,gBAAgB;AACnD,uCAAuC,oBAAoB;AAC3D;AACA;AACA;AACA,iCAAiC,uBAAuB;AACxD;AACA;AACA,iCAAiC,0BAA0B;AAC3D;AACA;AACA,iCAAiC,eAAe;AAChD;AACA;AACA;AACA,qCAAqC,2BAA2B;AAChE,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,qCAAqC,uBAAuB;AAC5D,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,qCAAqC,uBAAuB;AAC5D,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,iCAAiC,6BAA6B;AAC9D;AACA;AACA;AACA,qCAAqC,wBAAwB;AAC7D,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,qCAAqC,kBAAkB;AACvD,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,qCAAqC,uBAAuB;AAC5D,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,qCAAqC,0BAA0B;AAC/D,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,qCAAqC,wBAAwB;AAC7D,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,qCAAqC,yBAAyB;AAC9D,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,qCAAqC,sBAAsB;AAC3D,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,qCAAqC,6BAA6B;AAClE,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,iCAAiC,qBAAqB;AACtD;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA,iCAAiC,iBAAiB;AAClD;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,iCAAiC,+BAA+B;AAChE;AACA;AACA,iCAAiC,mBAAmB;AACpD;AACA;AACA,iCAAiC,iBAAiB;AAClD;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,iCAAiC,6BAA6B;AAC9D;AACA;AACA,iCAAiC,qBAAqB;AACtD;AACA;AACA,iCAAiC,iCAAiC;AAClE;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,iCAAiC,kBAAkB;AACnD;AACA;AACA,iCAAiC,wBAAwB;AACzD;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,iCAAiC,uCAAuC;AACxE;AACA;AACA,iCAAiC,yBAAyB;AAC1D;AACA;AACA,iCAAiC,4BAA4B;AAC7D;AACA;AACA,iCAAiC,kBAAkB;AACnD;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,iCAAiC,iBAAiB;AAClD;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,iCAAiC,yBAAyB;AAC1D;AACA;AACA;AACA,qCAAqC,iCAAiC;AACtE,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,iCAAiC,kCAAkC;AACnE;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,iCAAiC,yBAAyB;AAC1D;AACA;AACA,iCAAiC,+CAA+C;AAChF;AACA;AACA;AACA,qCAAqC,6CAA6C;AAClF,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,iCAAiC,8BAA8B;AAC/D;AACA;AACA,iCAAiC,mBAAmB;AACpD;AACA;AACA,iCAAiC,4BAA4B;AAC7D;AACA;AACA,iCAAiC,wBAAwB;AACzD;AACA;AACA,iCAAiC,qBAAqB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,gCAAgC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,8DAA8D;AAC7F,aAAa;AACb,SAAS;AACT,8BAA8B,iBAAiB,wBAAwB,sDAAsD,EAAE;AAC/H;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C,kCAAkC,iBAAiB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD,2BAA2B;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,aAAa,IAAI;AACjB;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,sEAAsE;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,oGAAoG;AACrG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,iGAAiG;AAClG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACleA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;AC5CA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA,8BAA8B,8BAA8B;AAC5D;AACA;AACA;AACA;AACA,oDAAoD,0CAA0C,EAAE;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC3EA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,oBAAoB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;AC1IA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,6BAA6B;AAC1E,wCAAwC,wBAAwB;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACzIA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,oBAAoB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,gBAAgB,oBAAoB,wBAAwB;AAC9F,SAAS,oBAAoB,wCAAwC,EAAE;AACvE;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,gBAAgB,oBAAoB,EAAE;AACjF;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,sBAAsB;AACpD;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC1JA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,gBAAgB;AAClD,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,kBAAkB;AACpD,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,kBAAkB;AAChD;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC7IA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iBAAiB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,kEAAkE,iBAAiB;AACnF;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,iBAAiB;AACrD;AACA;AACA,2BAA2B,oBAAoB;AAC/C,SAAS;AACT,oDAAoD,iBAAiB;AACrE;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,iBAAiB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,sCAAsC;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,0DAA0D;AACjG,sCAAsC,+CAA+C;AACrF,+CAA+C,2BAA2B;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,wCAAwC,yBAAyB;AACjE;AACA;AACA,wCAAwC,yBAAyB;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA;AACA;AACA;AACA;AACA,wCAAwC,yBAAyB;AACjE;AACA;AACA,wCAAwC,yBAAyB;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,mBAAmB;AAC1D,kCAAkC,iBAAiB;AACnD,wCAAwC,wBAAwB;AAChE,oCAAoC,oBAAoB;AACxD,wCAAwC,uBAAuB;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,sDAAsD;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,wBAAwB;AAC3D;AACA,2BAA2B,oBAAoB;AAC/C,SAAS;AACT;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AClTA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,mBAAmB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,eAAe;AAC9C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,eAAe;AAC9C;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,eAAe;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;ACrGA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,kDAAkD;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACnHA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,yCAAyC;AACxE,aAAa;AACb;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC,aAAa;AACb;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC,aAAa;AACb;AACA;AACA;AACA,sBAAsB,qBAAqB;AAC3C,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,wFAAwF;AACxF;AACA;AACA,2CAA2C,2BAA2B;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,eAAe;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;ACtIA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA,WAAW,kBAAkB;AAC7B;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA;AACA;AACA,gDAAgD,mBAAmB;AACnE;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA,+CAA+C,sBAAsB;AACrE;AACA,qCAAqC,qCAAqC,8BAA8B,EAAE;AAC1G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,MAAM;AACpD;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,iCAAiC,cAAc;AAC/C,gDAAgD,gBAAgB;AAChE;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,gDAAgD,iBAAiB;AACjE;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,gDAAgD,kBAAkB;AAClE;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,gDAAgD,mBAAmB;AACnE;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACjFA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,uBAAuB;AACtC,eAAe,OAAO;AACtB,eAAe,gBAAgB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,uBAAuB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,2BAA2B;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AClEA;AACA;AACA;AACA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxFA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,OAAO;AACtB,eAAe,IAAI;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,eAAe;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,eAAe,uBAAuB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,OAAO;AACtB,gBAAgB,IAAI;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC3FA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC1KA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,kCAAkC,oBAAoB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC;AACxC,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,6DAA6D,mCAAmC,EAAE;AAClG,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC1DA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,0BAA0B;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,gCAAgC;AACpF;AACA,SAAS,EAAE,EAAE,EAAE,EAAE;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,oDAAoD,gCAAgC,uCAAuC,EAAE,EAAE,EAAE;AACjI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA,oDAAoD,gCAAgC,wCAAwC,EAAE,EAAE,EAAE;AAClI;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS,qBAAqB,kCAAkC,EAAE;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;AChLA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D,4CAA4C,yBAAyB;AACrE;AACA;AACA;AACA,2BAA2B,oBAAoB;AAC/C,SAAS;AACT,mDAAmD,iBAAiB;AACpE;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,oBAAoB;AAC/C,SAAS;AACT;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,8BAA8B,qBAAqB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,6CAA6C;AAC/E,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACnLA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACpDA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,wBAAwB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,8BAA8B,2BAA2B,qCAAqC,EAAE;AAChG,oBAAoB;AACpB,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,+BAA+B,2BAA2B,qCAAqC,EAAE;AACjG,oBAAoB;AACpB,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC5FA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,2BAA2B;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,6BAA6B;AAC3D;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,mBAAmB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,wEAAwE,EAAE;AAC5G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,wEAAwE,EAAE;AAC5G;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,oBAAoB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yEAAyE;AACzE;AACA;AACA,CAAC;AACD;;;;;;;;ACvJA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA,8BAA8B,qCAAqC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,2CAA2C,2BAA2B;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,2BAA2B;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,2BAA2B;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,8CAA8C,8BAA8B;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;AC7HA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,6CAA6C;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,eAAe;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,qBAAqB,kBAAkB,EAAE;AAC1D,aAAa,sBAAsB,kBAAkB,EAAE;AACvD,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,4BAA4B;AACxE;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,8DAA8D;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,qBAAqB;AACvD,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,4BAA4B;AACxE;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACtTD;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;AC9CA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD;;;;;;;;ACfA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,eAAe;AAC7C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD;;;;;;;;ACxCA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,0DAA0D;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iBAAiB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,2BAA2B;AACzE;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,6BAA6B;AAC1E;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACpQA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA,8BAA8B,kBAAkB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uJAAuJ,GAAG;AAC1J;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,8BAA8B,iBAAiB;AAC/C;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC5DA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA,WAAW,cAAc;AACzB;AACA;AACA;AACA,8BAA8B,oBAAoB;AAClD;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,8BAA8B,iBAAiB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AChGA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA,8BAA8B,wBAAwB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,8BAA8B,kBAAkB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,8BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AC1OA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA,8BAA8B,sBAAsB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACpDA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA,8BAA8B,wBAAwB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACrCA;AACA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA,8BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;AC5CA;AACA;AACA;AACA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;;;;;;;;ACLA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB;AACA;AACA,yCAAyC,4BAA4B;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,OAAO;AAC3B;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,oBAAoB,OAAO;AAC3B;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,gBAAgB,2BAA2B;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa,IAAI;AACjB,SAAS;AACT;AACA;AACA;AACA;AACA,gBAAgB,6BAA6B;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;ACxEA;AACA;AACA;AACA;AACA,8CAA8C,cAAc;AAC5D;;;;;;;;ACLA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;;;;;;;;ACNA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACXA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,qEAAqE,qBAAqB;AAC1F;AACA,yEAAyE,gCAAgC;AACzG;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;;;;;;;;ACnFA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;AClBA;AACA;AACA;AACA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;;;;;;;;ACRA;AACA;AACA;AACA;AACA,8CAA8C,cAAc;AAC5D;;;;;;;;ACLA;AACA;AACA;AACA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"pnp.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"$pnp\"] = factory();\n\telse\n\t\troot[\"$pnp\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/assets/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 43);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 5eba713539a3e64af7c8","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar pnplibconfig_1 = require(\"../configuration/pnplibconfig\");\nfunction extractWebUrl(candidateUrl) {\n if (candidateUrl === null) {\n return \"\";\n }\n var index = candidateUrl.indexOf(\"_api/\");\n if (index > -1) {\n return candidateUrl.substr(0, index);\n }\n // if all else fails just give them what they gave us back\n return candidateUrl;\n}\nexports.extractWebUrl = extractWebUrl;\nvar Util = /** @class */ (function () {\n function Util() {\n }\n /**\n * Gets a callback function which will maintain context across async calls.\n * Allows for the calling pattern getCtxCallback(thisobj, method, methodarg1, methodarg2, ...)\n *\n * @param context The object that will be the 'this' value in the callback\n * @param method The method to which we will apply the context and parameters\n * @param params Optional, additional arguments to supply to the wrapped method when it is invoked\n */\n Util.getCtxCallback = function (context, method) {\n var params = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n params[_i - 2] = arguments[_i];\n }\n return function () {\n method.apply(context, params);\n };\n };\n /**\n * Tests if a url param exists\n *\n * @param name The name of the url paramter to check\n */\n Util.urlParamExists = function (name) {\n name = name.replace(/[\\[]/, \"\\\\[\").replace(/[\\]]/, \"\\\\]\");\n var regex = new RegExp(\"[\\\\?&]\" + name + \"=([^&#]*)\");\n return regex.test(location.search);\n };\n /**\n * Gets a url param value by name\n *\n * @param name The name of the paramter for which we want the value\n */\n Util.getUrlParamByName = function (name) {\n name = name.replace(/[\\[]/, \"\\\\[\").replace(/[\\]]/, \"\\\\]\");\n var regex = new RegExp(\"[\\\\?&]\" + name + \"=([^&#]*)\");\n var results = regex.exec(location.search);\n return results == null ? \"\" : decodeURIComponent(results[1].replace(/\\+/g, \" \"));\n };\n /**\n * Gets a url param by name and attempts to parse a bool value\n *\n * @param name The name of the paramter for which we want the boolean value\n */\n Util.getUrlParamBoolByName = function (name) {\n var p = this.getUrlParamByName(name);\n var isFalse = (p === \"\" || /false|0/i.test(p));\n return !isFalse;\n };\n /**\n * Inserts the string s into the string target as the index specified by index\n *\n * @param target The string into which we will insert s\n * @param index The location in target to insert s (zero based)\n * @param s The string to insert into target at position index\n */\n Util.stringInsert = function (target, index, s) {\n if (index > 0) {\n return target.substring(0, index) + s + target.substring(index, target.length);\n }\n return s + target;\n };\n /**\n * Adds a value to a date\n *\n * @param date The date to which we will add units, done in local time\n * @param interval The name of the interval to add, one of: ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second']\n * @param units The amount to add to date of the given interval\n *\n * http://stackoverflow.com/questions/1197928/how-to-add-30-minutes-to-a-javascript-date-object\n */\n Util.dateAdd = function (date, interval, units) {\n var ret = new Date(date); // don't change original date\n switch (interval.toLowerCase()) {\n case \"year\":\n ret.setFullYear(ret.getFullYear() + units);\n break;\n case \"quarter\":\n ret.setMonth(ret.getMonth() + 3 * units);\n break;\n case \"month\":\n ret.setMonth(ret.getMonth() + units);\n break;\n case \"week\":\n ret.setDate(ret.getDate() + 7 * units);\n break;\n case \"day\":\n ret.setDate(ret.getDate() + units);\n break;\n case \"hour\":\n ret.setTime(ret.getTime() + units * 3600000);\n break;\n case \"minute\":\n ret.setTime(ret.getTime() + units * 60000);\n break;\n case \"second\":\n ret.setTime(ret.getTime() + units * 1000);\n break;\n default:\n ret = undefined;\n break;\n }\n return ret;\n };\n /**\n * Loads a stylesheet into the current page\n *\n * @param path The url to the stylesheet\n * @param avoidCache If true a value will be appended as a query string to avoid browser caching issues\n */\n Util.loadStylesheet = function (path, avoidCache) {\n if (avoidCache) {\n path += \"?\" + encodeURIComponent((new Date()).getTime().toString());\n }\n var head = document.getElementsByTagName(\"head\");\n if (head.length > 0) {\n var e = document.createElement(\"link\");\n head[0].appendChild(e);\n e.setAttribute(\"type\", \"text/css\");\n e.setAttribute(\"rel\", \"stylesheet\");\n e.setAttribute(\"href\", path);\n }\n };\n /**\n * Combines an arbitrary set of paths ensuring that the slashes are normalized\n *\n * @param paths 0 to n path parts to combine\n */\n Util.combinePaths = function () {\n var paths = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n paths[_i] = arguments[_i];\n }\n return paths\n .filter(function (path) { return !Util.stringIsNullOrEmpty(path); })\n .map(function (path) { return path.replace(/^[\\\\|\\/]/, \"\").replace(/[\\\\|\\/]$/, \"\"); })\n .join(\"/\")\n .replace(/\\\\/g, \"/\");\n };\n /**\n * Gets a random string of chars length\n *\n * @param chars The length of the random string to generate\n */\n Util.getRandomString = function (chars) {\n var text = new Array(chars);\n var possible = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n for (var i = 0; i < chars; i++) {\n text[i] = possible.charAt(Math.floor(Math.random() * possible.length));\n }\n return text.join(\"\");\n };\n /**\n * Gets a random GUID value\n *\n * http://stackoverflow.com/questions/105034/create-guid-uuid-in-javascript\n */\n /* tslint:disable no-bitwise */\n Util.getGUID = function () {\n var d = new Date().getTime();\n var guid = \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, function (c) {\n var r = (d + Math.random() * 16) % 16 | 0;\n d = Math.floor(d / 16);\n return (c === \"x\" ? r : (r & 0x3 | 0x8)).toString(16);\n });\n return guid;\n };\n /* tslint:enable */\n /**\n * Determines if a given value is a function\n *\n * @param candidateFunction The thing to test for being a function\n */\n Util.isFunction = function (candidateFunction) {\n return typeof candidateFunction === \"function\";\n };\n /**\n * @returns whether the provided parameter is a JavaScript Array or not.\n */\n Util.isArray = function (array) {\n if (Array.isArray) {\n return Array.isArray(array);\n }\n return array && typeof array.length === \"number\" && array.constructor === Array;\n };\n /**\n * Determines if a string is null or empty or undefined\n *\n * @param s The string to test\n */\n Util.stringIsNullOrEmpty = function (s) {\n return typeof s === \"undefined\" || s === null || s.length < 1;\n };\n /**\n * Provides functionality to extend the given object by doing a shallow copy\n *\n * @param target The object to which properties will be copied\n * @param source The source object from which properties will be copied\n * @param noOverwrite If true existing properties on the target are not overwritten from the source\n *\n */\n Util.extend = function (target, source, noOverwrite) {\n if (noOverwrite === void 0) { noOverwrite = false; }\n if (source === null || typeof source === \"undefined\") {\n return target;\n }\n // ensure we don't overwrite things we don't want overwritten\n var check = noOverwrite ? function (o, i) { return !(i in o); } : function () { return true; };\n return Object.getOwnPropertyNames(source)\n .filter(function (v) { return check(target, v); })\n .reduce(function (t, v) {\n t[v] = source[v];\n return t;\n }, target);\n };\n /**\n * Determines if a given url is absolute\n *\n * @param url The url to check to see if it is absolute\n */\n Util.isUrlAbsolute = function (url) {\n return /^https?:\\/\\/|^\\/\\//i.test(url);\n };\n /**\n * Ensures that a given url is absolute for the current web based on context\n *\n * @param candidateUrl The url to make absolute\n *\n */\n Util.toAbsoluteUrl = function (candidateUrl) {\n return new Promise(function (resolve) {\n if (Util.isUrlAbsolute(candidateUrl)) {\n // if we are already absolute, then just return the url\n return resolve(candidateUrl);\n }\n if (pnplibconfig_1.RuntimeConfig.spBaseUrl !== null) {\n // base url specified either with baseUrl of spfxContext config property\n return resolve(Util.combinePaths(pnplibconfig_1.RuntimeConfig.spBaseUrl, candidateUrl));\n }\n if (typeof global._spPageContextInfo !== \"undefined\") {\n // operating in classic pages\n if (global._spPageContextInfo.hasOwnProperty(\"webAbsoluteUrl\")) {\n return resolve(Util.combinePaths(global._spPageContextInfo.webAbsoluteUrl, candidateUrl));\n }\n else if (global._spPageContextInfo.hasOwnProperty(\"webServerRelativeUrl\")) {\n return resolve(Util.combinePaths(global._spPageContextInfo.webServerRelativeUrl, candidateUrl));\n }\n }\n // does window.location exist and have a certain path part in it?\n if (typeof global.location !== \"undefined\") {\n var baseUrl_1 = global.location.toString().toLowerCase();\n [\"/_layouts/\", \"/siteassets/\"].forEach(function (s) {\n var index = baseUrl_1.indexOf(s);\n if (index > 0) {\n return resolve(Util.combinePaths(baseUrl_1.substr(0, index), candidateUrl));\n }\n });\n }\n return resolve(candidateUrl);\n });\n };\n return Util;\n}());\nexports.Util = Util;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/utils/util.js\n// module id = 0\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nvar collections_1 = require(\"../collections/collections\");\nvar utils_1 = require(\"../net/utils\");\nvar exceptions_1 = require(\"../utils/exceptions\");\nvar logging_1 = require(\"../utils/logging\");\nvar queryable_1 = require(\"../odata/queryable\");\nvar pipeline_1 = require(\"../request/pipeline\");\nvar httpclient_1 = require(\"../net/httpclient\");\n/**\n * SharePointQueryable Base Class\n *\n */\nvar SharePointQueryable = /** @class */ (function (_super) {\n __extends(SharePointQueryable, _super);\n /**\n * Creates a new instance of the SharePointQueryable class\n *\n * @constructor\n * @param baseUrl A string or SharePointQueryable that should form the base part of the url\n *\n */\n function SharePointQueryable(baseUrl, path) {\n var _this = _super.call(this) || this;\n _this._options = {};\n _this._query = new collections_1.Dictionary();\n _this._batch = null;\n if (typeof baseUrl === \"string\") {\n // we need to do some extra parsing to get the parent url correct if we are\n // being created from just a string.\n var urlStr = baseUrl;\n if (util_1.Util.isUrlAbsolute(urlStr) || urlStr.lastIndexOf(\"/\") < 0) {\n _this._parentUrl = urlStr;\n _this._url = util_1.Util.combinePaths(urlStr, path);\n }\n else if (urlStr.lastIndexOf(\"/\") > urlStr.lastIndexOf(\"(\")) {\n // .../items(19)/fields\n var index = urlStr.lastIndexOf(\"/\");\n _this._parentUrl = urlStr.slice(0, index);\n path = util_1.Util.combinePaths(urlStr.slice(index), path);\n _this._url = util_1.Util.combinePaths(_this._parentUrl, path);\n }\n else {\n // .../items(19)\n var index = urlStr.lastIndexOf(\"(\");\n _this._parentUrl = urlStr.slice(0, index);\n _this._url = util_1.Util.combinePaths(urlStr, path);\n }\n }\n else {\n var q = baseUrl;\n _this._parentUrl = q._url;\n _this._options = q._options;\n var target = q._query.get(\"@target\");\n if (target !== null) {\n _this._query.add(\"@target\", target);\n }\n _this._url = util_1.Util.combinePaths(_this._parentUrl, path);\n }\n return _this;\n }\n /**\n * Blocks a batch call from occuring, MUST be cleared by calling the returned function\n */\n SharePointQueryable.prototype.addBatchDependency = function () {\n if (this.hasBatch) {\n return this._batch.addDependency();\n }\n return function () { return null; };\n };\n Object.defineProperty(SharePointQueryable.prototype, \"hasBatch\", {\n /**\n * Indicates if the current query has a batch associated\n *\n */\n get: function () {\n return this._batch !== null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SharePointQueryable.prototype, \"batch\", {\n /**\n * The batch currently associated with this query or null\n *\n */\n get: function () {\n return this.hasBatch ? this._batch : null;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new instance of the supplied factory and extends this into that new instance\n *\n * @param factory constructor for the new SharePointQueryable\n */\n SharePointQueryable.prototype.as = function (factory) {\n var o = new factory(this._url, null);\n return util_1.Util.extend(o, this, true);\n };\n /**\n * Adds this query to the supplied batch\n *\n * @example\n * ```\n *\n * let b = pnp.sp.createBatch();\n * pnp.sp.web.inBatch(b).get().then(...);\n * b.execute().then(...)\n * ```\n */\n SharePointQueryable.prototype.inBatch = function (batch) {\n if (this._batch !== null) {\n throw new exceptions_1.AlreadyInBatchException();\n }\n this._batch = batch;\n return this;\n };\n /**\n * Gets the full url with query information\n *\n */\n SharePointQueryable.prototype.toUrlAndQuery = function () {\n var aliasedParams = new collections_1.Dictionary();\n var url = this.toUrl().replace(/'!(@.*?)::(.*?)'/ig, function (match, labelName, value) {\n logging_1.Logger.write(\"Rewriting aliased parameter from match \" + match + \" to label: \" + labelName + \" value: \" + value, logging_1.LogLevel.Verbose);\n aliasedParams.add(labelName, \"'\" + value + \"'\");\n return labelName;\n });\n // inlude our explicitly set query string params\n aliasedParams.merge(this._query);\n if (aliasedParams.count() > 0) {\n url += \"?\" + aliasedParams.getKeys().map(function (key) { return key + \"=\" + aliasedParams.get(key); }).join(\"&\");\n }\n return url;\n };\n /**\n * Gets a parent for this instance as specified\n *\n * @param factory The contructor for the class to create\n */\n SharePointQueryable.prototype.getParent = function (factory, baseUrl, path, batch) {\n if (baseUrl === void 0) { baseUrl = this.parentUrl; }\n var parent = new factory(baseUrl, path);\n parent.configure(this._options);\n var target = this.query.get(\"@target\");\n if (target !== null) {\n parent.query.add(\"@target\", target);\n }\n if (typeof batch !== \"undefined\") {\n parent = parent.inBatch(batch);\n }\n return parent;\n };\n /**\n * Clones this SharePointQueryable into a new SharePointQueryable instance of T\n * @param factory Constructor used to create the new instance\n * @param additionalPath Any additional path to include in the clone\n * @param includeBatch If true this instance's batch will be added to the cloned instance\n */\n SharePointQueryable.prototype.clone = function (factory, additionalPath, includeBatch) {\n if (includeBatch === void 0) { includeBatch = true; }\n var clone = new factory(this, additionalPath);\n var target = this.query.get(\"@target\");\n if (target !== null) {\n clone.query.add(\"@target\", target);\n }\n if (includeBatch && this.hasBatch) {\n clone = clone.inBatch(this.batch);\n }\n return clone;\n };\n /**\n * Converts the current instance to a request context\n *\n * @param verb The request verb\n * @param options The set of supplied request options\n * @param parser The supplied ODataParser instance\n * @param pipeline Optional request processing pipeline\n */\n SharePointQueryable.prototype.toRequestContext = function (verb, options, parser, pipeline) {\n var _this = this;\n if (options === void 0) { options = {}; }\n if (pipeline === void 0) { pipeline = pipeline_1.PipelineMethods.default; }\n var dependencyDispose = this.hasBatch ? this.addBatchDependency() : function () { return; };\n return util_1.Util.toAbsoluteUrl(this.toUrlAndQuery()).then(function (url) {\n utils_1.mergeOptions(options, _this._options);\n // build our request context\n var context = {\n batch: _this._batch,\n batchDependency: dependencyDispose,\n cachingOptions: _this._cachingOptions,\n clientFactory: function () { return new httpclient_1.HttpClient(); },\n isBatched: _this.hasBatch,\n isCached: _this._useCaching,\n options: options,\n parser: parser,\n pipeline: pipeline,\n requestAbsoluteUrl: url,\n requestId: util_1.Util.getGUID(),\n verb: verb,\n };\n return context;\n });\n };\n return SharePointQueryable;\n}(queryable_1.ODataQueryable));\nexports.SharePointQueryable = SharePointQueryable;\n/**\n * Represents a REST collection which can be filtered, paged, and selected\n *\n */\nvar SharePointQueryableCollection = /** @class */ (function (_super) {\n __extends(SharePointQueryableCollection, _super);\n function SharePointQueryableCollection() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Filters the returned collection (https://msdn.microsoft.com/en-us/library/office/fp142385.aspx#bk_supported)\n *\n * @param filter The string representing the filter query\n */\n SharePointQueryableCollection.prototype.filter = function (filter) {\n this._query.add(\"$filter\", filter);\n return this;\n };\n /**\n * Choose which fields to return\n *\n * @param selects One or more fields to return\n */\n SharePointQueryableCollection.prototype.select = function () {\n var selects = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n selects[_i] = arguments[_i];\n }\n if (selects.length > 0) {\n this._query.add(\"$select\", selects.join(\",\"));\n }\n return this;\n };\n /**\n * Expands fields such as lookups to get additional data\n *\n * @param expands The Fields for which to expand the values\n */\n SharePointQueryableCollection.prototype.expand = function () {\n var expands = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n expands[_i] = arguments[_i];\n }\n if (expands.length > 0) {\n this._query.add(\"$expand\", expands.join(\",\"));\n }\n return this;\n };\n /**\n * Orders based on the supplied fields ascending\n *\n * @param orderby The name of the field to sort on\n * @param ascending If false DESC is appended, otherwise ASC (default)\n */\n SharePointQueryableCollection.prototype.orderBy = function (orderBy, ascending) {\n if (ascending === void 0) { ascending = true; }\n var keys = this._query.getKeys();\n var query = [];\n var asc = ascending ? \" asc\" : \" desc\";\n for (var i = 0; i < keys.length; i++) {\n if (keys[i] === \"$orderby\") {\n query.push(this._query.get(\"$orderby\"));\n break;\n }\n }\n query.push(\"\" + orderBy + asc);\n this._query.add(\"$orderby\", query.join(\",\"));\n return this;\n };\n /**\n * Skips the specified number of items\n *\n * @param skip The number of items to skip\n */\n SharePointQueryableCollection.prototype.skip = function (skip) {\n this._query.add(\"$skip\", skip.toString());\n return this;\n };\n /**\n * Limits the query to only return the specified number of items\n *\n * @param top The query row limit\n */\n SharePointQueryableCollection.prototype.top = function (top) {\n this._query.add(\"$top\", top.toString());\n return this;\n };\n return SharePointQueryableCollection;\n}(SharePointQueryable));\nexports.SharePointQueryableCollection = SharePointQueryableCollection;\n/**\n * Represents an instance that can be selected\n *\n */\nvar SharePointQueryableInstance = /** @class */ (function (_super) {\n __extends(SharePointQueryableInstance, _super);\n function SharePointQueryableInstance() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Choose which fields to return\n *\n * @param selects One or more fields to return\n */\n SharePointQueryableInstance.prototype.select = function () {\n var selects = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n selects[_i] = arguments[_i];\n }\n if (selects.length > 0) {\n this._query.add(\"$select\", selects.join(\",\"));\n }\n return this;\n };\n /**\n * Expands fields such as lookups to get additional data\n *\n * @param expands The Fields for which to expand the values\n */\n SharePointQueryableInstance.prototype.expand = function () {\n var expands = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n expands[_i] = arguments[_i];\n }\n if (expands.length > 0) {\n this._query.add(\"$expand\", expands.join(\",\"));\n }\n return this;\n };\n return SharePointQueryableInstance;\n}(SharePointQueryable));\nexports.SharePointQueryableInstance = SharePointQueryableInstance;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/sharepointqueryable.js\n// module id = 1\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logging_1 = require(\"../utils/logging\");\nfunction defaultLog(error) {\n logging_1.Logger.log({ data: {}, level: logging_1.LogLevel.Error, message: \"[\" + error.name + \"]::\" + error.message });\n}\n/**\n * Represents an exception with an HttpClient request\n *\n */\nvar ProcessHttpClientResponseException = /** @class */ (function (_super) {\n __extends(ProcessHttpClientResponseException, _super);\n function ProcessHttpClientResponseException(status, statusText, data) {\n var _this = _super.call(this, \"Error making HttpClient request in queryable: [\" + status + \"] \" + statusText) || this;\n _this.status = status;\n _this.statusText = statusText;\n _this.data = data;\n _this.name = \"ProcessHttpClientResponseException\";\n logging_1.Logger.log({ data: _this.data, level: logging_1.LogLevel.Error, message: _this.message });\n return _this;\n }\n return ProcessHttpClientResponseException;\n}(Error));\nexports.ProcessHttpClientResponseException = ProcessHttpClientResponseException;\nvar NoCacheAvailableException = /** @class */ (function (_super) {\n __extends(NoCacheAvailableException, _super);\n function NoCacheAvailableException(msg) {\n if (msg === void 0) { msg = \"Cannot create a caching configuration provider since cache is not available.\"; }\n var _this = _super.call(this, msg) || this;\n _this.name = \"NoCacheAvailableException\";\n defaultLog(_this);\n return _this;\n }\n return NoCacheAvailableException;\n}(Error));\nexports.NoCacheAvailableException = NoCacheAvailableException;\nvar APIUrlException = /** @class */ (function (_super) {\n __extends(APIUrlException, _super);\n function APIUrlException(msg) {\n if (msg === void 0) { msg = \"Unable to determine API url.\"; }\n var _this = _super.call(this, msg) || this;\n _this.name = \"APIUrlException\";\n defaultLog(_this);\n return _this;\n }\n return APIUrlException;\n}(Error));\nexports.APIUrlException = APIUrlException;\nvar AuthUrlException = /** @class */ (function (_super) {\n __extends(AuthUrlException, _super);\n function AuthUrlException(data, msg) {\n if (msg === void 0) { msg = \"Auth URL Endpoint could not be determined from data. Data logged.\"; }\n var _this = _super.call(this, msg) || this;\n _this.name = \"APIUrlException\";\n logging_1.Logger.log({ data: data, level: logging_1.LogLevel.Error, message: _this.message });\n return _this;\n }\n return AuthUrlException;\n}(Error));\nexports.AuthUrlException = AuthUrlException;\nvar NodeFetchClientUnsupportedException = /** @class */ (function (_super) {\n __extends(NodeFetchClientUnsupportedException, _super);\n function NodeFetchClientUnsupportedException(msg) {\n if (msg === void 0) { msg = \"Using NodeFetchClient in the browser is not supported.\"; }\n var _this = _super.call(this, msg) || this;\n _this.name = \"NodeFetchClientUnsupportedException\";\n defaultLog(_this);\n return _this;\n }\n return NodeFetchClientUnsupportedException;\n}(Error));\nexports.NodeFetchClientUnsupportedException = NodeFetchClientUnsupportedException;\nvar SPRequestExecutorUndefinedException = /** @class */ (function (_super) {\n __extends(SPRequestExecutorUndefinedException, _super);\n function SPRequestExecutorUndefinedException() {\n var _this = this;\n var msg = [\n \"SP.RequestExecutor is undefined. \",\n \"Load the SP.RequestExecutor.js library (/_layouts/15/SP.RequestExecutor.js) before loading the PnP JS Core library.\",\n ].join(\" \");\n _this = _super.call(this, msg) || this;\n _this.name = \"SPRequestExecutorUndefinedException\";\n defaultLog(_this);\n return _this;\n }\n return SPRequestExecutorUndefinedException;\n}(Error));\nexports.SPRequestExecutorUndefinedException = SPRequestExecutorUndefinedException;\nvar MaxCommentLengthException = /** @class */ (function (_super) {\n __extends(MaxCommentLengthException, _super);\n function MaxCommentLengthException(msg) {\n if (msg === void 0) { msg = \"The maximum comment length is 1023 characters.\"; }\n var _this = _super.call(this, msg) || this;\n _this.name = \"MaxCommentLengthException\";\n defaultLog(_this);\n return _this;\n }\n return MaxCommentLengthException;\n}(Error));\nexports.MaxCommentLengthException = MaxCommentLengthException;\nvar NotSupportedInBatchException = /** @class */ (function (_super) {\n __extends(NotSupportedInBatchException, _super);\n function NotSupportedInBatchException(operation) {\n if (operation === void 0) { operation = \"This operation\"; }\n var _this = _super.call(this, operation + \" is not supported as part of a batch.\") || this;\n _this.name = \"NotSupportedInBatchException\";\n defaultLog(_this);\n return _this;\n }\n return NotSupportedInBatchException;\n}(Error));\nexports.NotSupportedInBatchException = NotSupportedInBatchException;\nvar ODataIdException = /** @class */ (function (_super) {\n __extends(ODataIdException, _super);\n function ODataIdException(data, msg) {\n if (msg === void 0) { msg = \"Could not extract odata id in object, you may be using nometadata. Object data logged to logger.\"; }\n var _this = _super.call(this, msg) || this;\n _this.name = \"ODataIdException\";\n logging_1.Logger.log({ data: data, level: logging_1.LogLevel.Error, message: _this.message });\n return _this;\n }\n return ODataIdException;\n}(Error));\nexports.ODataIdException = ODataIdException;\nvar BatchParseException = /** @class */ (function (_super) {\n __extends(BatchParseException, _super);\n function BatchParseException(msg) {\n var _this = _super.call(this, msg) || this;\n _this.name = \"BatchParseException\";\n defaultLog(_this);\n return _this;\n }\n return BatchParseException;\n}(Error));\nexports.BatchParseException = BatchParseException;\nvar AlreadyInBatchException = /** @class */ (function (_super) {\n __extends(AlreadyInBatchException, _super);\n function AlreadyInBatchException(msg) {\n if (msg === void 0) { msg = \"This query is already part of a batch.\"; }\n var _this = _super.call(this, msg) || this;\n _this.name = \"AlreadyInBatchException\";\n defaultLog(_this);\n return _this;\n }\n return AlreadyInBatchException;\n}(Error));\nexports.AlreadyInBatchException = AlreadyInBatchException;\nvar FunctionExpectedException = /** @class */ (function (_super) {\n __extends(FunctionExpectedException, _super);\n function FunctionExpectedException(msg) {\n if (msg === void 0) { msg = \"This query is already part of a batch.\"; }\n var _this = _super.call(this, msg) || this;\n _this.name = \"FunctionExpectedException\";\n defaultLog(_this);\n return _this;\n }\n return FunctionExpectedException;\n}(Error));\nexports.FunctionExpectedException = FunctionExpectedException;\nvar UrlException = /** @class */ (function (_super) {\n __extends(UrlException, _super);\n function UrlException(msg) {\n var _this = _super.call(this, msg) || this;\n _this.name = \"UrlException\";\n defaultLog(_this);\n return _this;\n }\n return UrlException;\n}(Error));\nexports.UrlException = UrlException;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/utils/exceptions.js\n// module id = 2\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nvar logging_1 = require(\"../utils/logging\");\nvar exceptions_1 = require(\"../utils/exceptions\");\nvar core_1 = require(\"../odata/core\");\nfunction spExtractODataId(candidate) {\n if (candidate.hasOwnProperty(\"odata.id\")) {\n return candidate[\"odata.id\"];\n }\n else if (candidate.hasOwnProperty(\"__metadata\") && candidate.__metadata.hasOwnProperty(\"id\")) {\n return candidate.__metadata.id;\n }\n else {\n throw new exceptions_1.ODataIdException(candidate);\n }\n}\nexports.spExtractODataId = spExtractODataId;\nvar SPODataEntityParserImpl = /** @class */ (function (_super) {\n __extends(SPODataEntityParserImpl, _super);\n function SPODataEntityParserImpl(factory) {\n var _this = _super.call(this) || this;\n _this.factory = factory;\n _this.hydrate = function (d) {\n var o = new _this.factory(spGetEntityUrl(d), null);\n return util_1.Util.extend(o, d);\n };\n return _this;\n }\n SPODataEntityParserImpl.prototype.parse = function (r) {\n var _this = this;\n return _super.prototype.parse.call(this, r).then(function (d) {\n var o = new _this.factory(spGetEntityUrl(d), null);\n return util_1.Util.extend(o, d);\n });\n };\n return SPODataEntityParserImpl;\n}(core_1.ODataParserBase));\nvar SPODataEntityArrayParserImpl = /** @class */ (function (_super) {\n __extends(SPODataEntityArrayParserImpl, _super);\n function SPODataEntityArrayParserImpl(factory) {\n var _this = _super.call(this) || this;\n _this.factory = factory;\n _this.hydrate = function (d) {\n return d.map(function (v) {\n var o = new _this.factory(spGetEntityUrl(v), null);\n return util_1.Util.extend(o, v);\n });\n };\n return _this;\n }\n SPODataEntityArrayParserImpl.prototype.parse = function (r) {\n var _this = this;\n return _super.prototype.parse.call(this, r).then(function (d) {\n return d.map(function (v) {\n var o = new _this.factory(spGetEntityUrl(v), null);\n return util_1.Util.extend(o, v);\n });\n });\n };\n return SPODataEntityArrayParserImpl;\n}(core_1.ODataParserBase));\nfunction spGetEntityUrl(entity) {\n if (entity.hasOwnProperty(\"odata.metadata\") && entity.hasOwnProperty(\"odata.editLink\")) {\n // we are dealign with minimal metadata (default)\n return util_1.Util.combinePaths(util_1.extractWebUrl(entity[\"odata.metadata\"]), \"_api\", entity[\"odata.editLink\"]);\n }\n else if (entity.hasOwnProperty(\"__metadata\")) {\n // we are dealing with verbose, which has an absolute uri\n return entity.__metadata.uri;\n }\n else {\n // we are likely dealing with nometadata, so don't error but we won't be able to\n // chain off these objects\n logging_1.Logger.write(\"No uri information found in ODataEntity parsing, chaining will fail for this object.\", logging_1.LogLevel.Warning);\n return \"\";\n }\n}\nexports.spGetEntityUrl = spGetEntityUrl;\nfunction spODataEntity(factory) {\n return new SPODataEntityParserImpl(factory);\n}\nexports.spODataEntity = spODataEntity;\nfunction spODataEntityArray(factory) {\n return new SPODataEntityArrayParserImpl(factory);\n}\nexports.spODataEntityArray = spODataEntityArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/odata.js\n// module id = 3\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fetchclient_1 = require(\"../net/fetchclient\");\nvar RuntimeConfigImpl = /** @class */ (function () {\n function RuntimeConfigImpl() {\n // these are our default values for the library\n this._defaultCachingStore = \"session\";\n this._defaultCachingTimeoutSeconds = 60;\n this._globalCacheDisable = false;\n this._enableCacheExpiration = false;\n this._cacheExpirationIntervalMilliseconds = 750;\n this._spfxContext = null;\n // sharepoint settings\n this._spFetchClientFactory = function () { return new fetchclient_1.FetchClient(); };\n this._spBaseUrl = null;\n this._spHeaders = null;\n // ms graph settings\n this._graphHeaders = null;\n this._graphFetchClientFactory = function () { return null; };\n }\n RuntimeConfigImpl.prototype.set = function (config) {\n var _this = this;\n if (config.hasOwnProperty(\"globalCacheDisable\")) {\n this._globalCacheDisable = config.globalCacheDisable;\n }\n if (config.hasOwnProperty(\"defaultCachingStore\")) {\n this._defaultCachingStore = config.defaultCachingStore;\n }\n if (config.hasOwnProperty(\"defaultCachingTimeoutSeconds\")) {\n this._defaultCachingTimeoutSeconds = config.defaultCachingTimeoutSeconds;\n }\n if (config.hasOwnProperty(\"sp\")) {\n if (config.sp.hasOwnProperty(\"fetchClientFactory\")) {\n this._spFetchClientFactory = config.sp.fetchClientFactory;\n }\n if (config.sp.hasOwnProperty(\"baseUrl\")) {\n this._spBaseUrl = config.sp.baseUrl;\n }\n if (config.sp.hasOwnProperty(\"headers\")) {\n this._spHeaders = config.sp.headers;\n }\n }\n if (config.hasOwnProperty(\"spfxContext\")) {\n this._spfxContext = config.spfxContext;\n if (typeof this._spfxContext.graphHttpClient !== \"undefined\") {\n this._graphFetchClientFactory = function () { return _this._spfxContext.graphHttpClient; };\n }\n }\n if (config.hasOwnProperty(\"graph\")) {\n if (config.graph.hasOwnProperty(\"headers\")) {\n this._graphHeaders = config.graph.headers;\n }\n // this comes after the default setting of the _graphFetchClientFactory client so it can be overwritten\n if (config.graph.hasOwnProperty(\"fetchClientFactory\")) {\n this._graphFetchClientFactory = config.graph.fetchClientFactory;\n }\n }\n if (config.hasOwnProperty(\"enableCacheExpiration\")) {\n this._enableCacheExpiration = config.enableCacheExpiration;\n }\n if (config.hasOwnProperty(\"cacheExpirationIntervalMilliseconds\")) {\n // we don't let the interval be less than 300 milliseconds\n var interval = config.cacheExpirationIntervalMilliseconds < 300 ? 300 : config.cacheExpirationIntervalMilliseconds;\n this._cacheExpirationIntervalMilliseconds = interval;\n }\n };\n Object.defineProperty(RuntimeConfigImpl.prototype, \"defaultCachingStore\", {\n get: function () {\n return this._defaultCachingStore;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"defaultCachingTimeoutSeconds\", {\n get: function () {\n return this._defaultCachingTimeoutSeconds;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"globalCacheDisable\", {\n get: function () {\n return this._globalCacheDisable;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"spFetchClientFactory\", {\n get: function () {\n return this._spFetchClientFactory;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"spBaseUrl\", {\n get: function () {\n if (this._spBaseUrl !== null) {\n return this._spBaseUrl;\n }\n else if (this._spfxContext !== null) {\n return this._spfxContext.pageContext.web.absoluteUrl;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"spHeaders\", {\n get: function () {\n return this._spHeaders;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"enableCacheExpiration\", {\n get: function () {\n return this._enableCacheExpiration;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"cacheExpirationIntervalMilliseconds\", {\n get: function () {\n return this._cacheExpirationIntervalMilliseconds;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"spfxContext\", {\n get: function () {\n return this._spfxContext;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"graphFetchClientFactory\", {\n get: function () {\n return this._graphFetchClientFactory;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RuntimeConfigImpl.prototype, \"graphHeaders\", {\n get: function () {\n return this._graphHeaders;\n },\n enumerable: true,\n configurable: true\n });\n return RuntimeConfigImpl;\n}());\nexports.RuntimeConfigImpl = RuntimeConfigImpl;\nvar _runtimeConfig = new RuntimeConfigImpl();\nexports.RuntimeConfig = _runtimeConfig;\nfunction setRuntimeConfig(config) {\n _runtimeConfig.set(config);\n}\nexports.setRuntimeConfig = setRuntimeConfig;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/configuration/pnplibconfig.js\n// module id = 4\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * A set of logging levels\n *\n */\nvar LogLevel;\n(function (LogLevel) {\n LogLevel[LogLevel[\"Verbose\"] = 0] = \"Verbose\";\n LogLevel[LogLevel[\"Info\"] = 1] = \"Info\";\n LogLevel[LogLevel[\"Warning\"] = 2] = \"Warning\";\n LogLevel[LogLevel[\"Error\"] = 3] = \"Error\";\n LogLevel[LogLevel[\"Off\"] = 99] = \"Off\";\n})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));\n/**\n * Class used to subscribe ILogListener and log messages throughout an application\n *\n */\nvar Logger = /** @class */ (function () {\n function Logger() {\n }\n Object.defineProperty(Logger, \"activeLogLevel\", {\n get: function () {\n return Logger.instance.activeLogLevel;\n },\n set: function (value) {\n Logger.instance.activeLogLevel = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Logger, \"instance\", {\n get: function () {\n if (typeof Logger._instance === \"undefined\" || Logger._instance === null) {\n Logger._instance = new LoggerImpl();\n }\n return Logger._instance;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Adds ILogListener instances to the set of subscribed listeners\n *\n * @param listeners One or more listeners to subscribe to this log\n */\n Logger.subscribe = function () {\n var listeners = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n listeners[_i] = arguments[_i];\n }\n listeners.map(function (listener) { return Logger.instance.subscribe(listener); });\n };\n /**\n * Clears the subscribers collection, returning the collection before modifiction\n */\n Logger.clearSubscribers = function () {\n return Logger.instance.clearSubscribers();\n };\n Object.defineProperty(Logger, \"count\", {\n /**\n * Gets the current subscriber count\n */\n get: function () {\n return Logger.instance.count;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Writes the supplied string to the subscribed listeners\n *\n * @param message The message to write\n * @param level [Optional] if supplied will be used as the level of the entry (Default: LogLevel.Verbose)\n */\n Logger.write = function (message, level) {\n if (level === void 0) { level = LogLevel.Verbose; }\n Logger.instance.log({ level: level, message: message });\n };\n /**\n * Writes the supplied string to the subscribed listeners\n *\n * @param json The json object to stringify and write\n * @param level [Optional] if supplied will be used as the level of the entry (Default: LogLevel.Verbose)\n */\n Logger.writeJSON = function (json, level) {\n if (level === void 0) { level = LogLevel.Verbose; }\n Logger.instance.log({ level: level, message: JSON.stringify(json) });\n };\n /**\n * Logs the supplied entry to the subscribed listeners\n *\n * @param entry The message to log\n */\n Logger.log = function (entry) {\n Logger.instance.log(entry);\n };\n /**\n * Logs performance tracking data for the the execution duration of the supplied function using console.profile\n *\n * @param name The name of this profile boundary\n * @param f The function to execute and track within this performance boundary\n */\n Logger.measure = function (name, f) {\n return Logger.instance.measure(name, f);\n };\n return Logger;\n}());\nexports.Logger = Logger;\nvar LoggerImpl = /** @class */ (function () {\n function LoggerImpl(activeLogLevel, subscribers) {\n if (activeLogLevel === void 0) { activeLogLevel = LogLevel.Warning; }\n if (subscribers === void 0) { subscribers = []; }\n this.activeLogLevel = activeLogLevel;\n this.subscribers = subscribers;\n }\n LoggerImpl.prototype.subscribe = function (listener) {\n this.subscribers.push(listener);\n };\n LoggerImpl.prototype.clearSubscribers = function () {\n var s = this.subscribers.slice(0);\n this.subscribers.length = 0;\n return s;\n };\n Object.defineProperty(LoggerImpl.prototype, \"count\", {\n get: function () {\n return this.subscribers.length;\n },\n enumerable: true,\n configurable: true\n });\n LoggerImpl.prototype.write = function (message, level) {\n if (level === void 0) { level = LogLevel.Verbose; }\n this.log({ level: level, message: message });\n };\n LoggerImpl.prototype.log = function (entry) {\n if (typeof entry === \"undefined\" || entry.level < this.activeLogLevel) {\n return;\n }\n this.subscribers.map(function (subscriber) { return subscriber.log(entry); });\n };\n LoggerImpl.prototype.measure = function (name, f) {\n console.profile(name);\n try {\n return f();\n }\n finally {\n console.profileEnd();\n }\n };\n return LoggerImpl;\n}());\n/**\n * Implementation of ILogListener which logs to the browser console\n *\n */\nvar ConsoleListener = /** @class */ (function () {\n function ConsoleListener() {\n }\n /**\n * Any associated data that a given logging listener may choose to log or ignore\n *\n * @param entry The information to be logged\n */\n ConsoleListener.prototype.log = function (entry) {\n var msg = this.format(entry);\n switch (entry.level) {\n case LogLevel.Verbose:\n case LogLevel.Info:\n console.log(msg);\n break;\n case LogLevel.Warning:\n console.warn(msg);\n break;\n case LogLevel.Error:\n console.error(msg);\n break;\n }\n };\n /**\n * Formats the message\n *\n * @param entry The information to format into a string\n */\n ConsoleListener.prototype.format = function (entry) {\n var msg = [];\n msg.push(\"Message: \" + entry.message);\n if (typeof entry.data !== \"undefined\") {\n msg.push(\" Data: \" + JSON.stringify(entry.data));\n }\n return msg.join(\"\");\n };\n return ConsoleListener;\n}());\nexports.ConsoleListener = ConsoleListener;\n/**\n * Implementation of ILogListener which logs to the supplied function\n *\n */\nvar FunctionListener = /** @class */ (function () {\n /**\n * Creates a new instance of the FunctionListener class\n *\n * @constructor\n * @param method The method to which any logging data will be passed\n */\n function FunctionListener(method) {\n this.method = method;\n }\n /**\n * Any associated data that a given logging listener may choose to log or ignore\n *\n * @param entry The information to be logged\n */\n FunctionListener.prototype.log = function (entry) {\n this.method(entry);\n };\n return FunctionListener;\n}());\nexports.FunctionListener = FunctionListener;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/utils/logging.js\n// module id = 5\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nvar collections_1 = require(\"../collections/collections\");\nvar graphclient_1 = require(\"../net/graphclient\");\nvar queryable_1 = require(\"../odata/queryable\");\nvar pipeline_1 = require(\"../request/pipeline\");\n/**\n * Queryable Base Class\n *\n */\nvar GraphQueryable = /** @class */ (function (_super) {\n __extends(GraphQueryable, _super);\n /**\n * Creates a new instance of the Queryable class\n *\n * @constructor\n * @param baseUrl A string or Queryable that should form the base part of the url\n *\n */\n function GraphQueryable(baseUrl, path) {\n var _this = _super.call(this) || this;\n _this._query = new collections_1.Dictionary();\n if (typeof baseUrl === \"string\") {\n var urlStr = baseUrl;\n _this._parentUrl = urlStr;\n _this._url = util_1.Util.combinePaths(urlStr, path);\n }\n else {\n var q = baseUrl;\n _this._parentUrl = q._url;\n _this._url = util_1.Util.combinePaths(_this._parentUrl, path);\n }\n return _this;\n }\n /**\n * Creates a new instance of the supplied factory and extends this into that new instance\n *\n * @param factory constructor for the new queryable\n */\n GraphQueryable.prototype.as = function (factory) {\n var o = new factory(this._url, null);\n return util_1.Util.extend(o, this, true);\n };\n /**\n * Gets the full url with query information\n *\n */\n GraphQueryable.prototype.toUrlAndQuery = function () {\n var _this = this;\n return this.toUrl() + (\"?\" + this._query.getKeys().map(function (key) { return key + \"=\" + _this._query.get(key); }).join(\"&\"));\n };\n /**\n * Gets a parent for this instance as specified\n *\n * @param factory The contructor for the class to create\n */\n GraphQueryable.prototype.getParent = function (factory, baseUrl, path) {\n if (baseUrl === void 0) { baseUrl = this.parentUrl; }\n return new factory(baseUrl, path);\n };\n /**\n * Clones this queryable into a new queryable instance of T\n * @param factory Constructor used to create the new instance\n * @param additionalPath Any additional path to include in the clone\n * @param includeBatch If true this instance's batch will be added to the cloned instance\n */\n GraphQueryable.prototype.clone = function (factory, additionalPath, includeBatch) {\n if (includeBatch === void 0) { includeBatch = true; }\n // TODO:: include batching info in clone\n if (includeBatch) {\n return new factory(this, additionalPath);\n }\n return new factory(this, additionalPath);\n };\n /**\n * Converts the current instance to a request context\n *\n * @param verb The request verb\n * @param options The set of supplied request options\n * @param parser The supplied ODataParser instance\n * @param pipeline Optional request processing pipeline\n */\n GraphQueryable.prototype.toRequestContext = function (verb, options, parser, pipeline) {\n if (options === void 0) { options = {}; }\n if (pipeline === void 0) { pipeline = pipeline_1.PipelineMethods.default; }\n // TODO:: add batch support\n return Promise.resolve({\n batch: null,\n batchDependency: function () { return void (0); },\n cachingOptions: this._cachingOptions,\n clientFactory: function () { return new graphclient_1.GraphHttpClient(); },\n isBatched: false,\n isCached: this._useCaching,\n options: options,\n parser: parser,\n pipeline: pipeline,\n requestAbsoluteUrl: this.toUrlAndQuery(),\n requestId: util_1.Util.getGUID(),\n verb: verb,\n });\n };\n return GraphQueryable;\n}(queryable_1.ODataQueryable));\nexports.GraphQueryable = GraphQueryable;\n/**\n * Represents a REST collection which can be filtered, paged, and selected\n *\n */\nvar GraphQueryableCollection = /** @class */ (function (_super) {\n __extends(GraphQueryableCollection, _super);\n function GraphQueryableCollection() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n *\n * @param filter The string representing the filter query\n */\n GraphQueryableCollection.prototype.filter = function (filter) {\n this._query.add(\"$filter\", filter);\n return this;\n };\n /**\n * Choose which fields to return\n *\n * @param selects One or more fields to return\n */\n GraphQueryableCollection.prototype.select = function () {\n var selects = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n selects[_i] = arguments[_i];\n }\n if (selects.length > 0) {\n this._query.add(\"$select\", selects.join(\",\"));\n }\n return this;\n };\n /**\n * Expands fields such as lookups to get additional data\n *\n * @param expands The Fields for which to expand the values\n */\n GraphQueryableCollection.prototype.expand = function () {\n var expands = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n expands[_i] = arguments[_i];\n }\n if (expands.length > 0) {\n this._query.add(\"$expand\", expands.join(\",\"));\n }\n return this;\n };\n /**\n * Orders based on the supplied fields ascending\n *\n * @param orderby The name of the field to sort on\n * @param ascending If false DESC is appended, otherwise ASC (default)\n */\n GraphQueryableCollection.prototype.orderBy = function (orderBy, ascending) {\n if (ascending === void 0) { ascending = true; }\n var keys = this._query.getKeys();\n var query = [];\n var asc = ascending ? \" asc\" : \" desc\";\n for (var i = 0; i < keys.length; i++) {\n if (keys[i] === \"$orderby\") {\n query.push(this._query.get(\"$orderby\"));\n break;\n }\n }\n query.push(\"\" + orderBy + asc);\n this._query.add(\"$orderby\", query.join(\",\"));\n return this;\n };\n /**\n * Limits the query to only return the specified number of items\n *\n * @param top The query row limit\n */\n GraphQueryableCollection.prototype.top = function (top) {\n this._query.add(\"$top\", top.toString());\n return this;\n };\n /**\n * Skips a set number of items in the return set\n *\n * @param num Number of items to skip\n */\n GraphQueryableCollection.prototype.skip = function (num) {\n this._query.add(\"$top\", num.toString());\n return this;\n };\n /**\n * \tTo request second and subsequent pages of Graph data\n */\n GraphQueryableCollection.prototype.skipToken = function (token) {\n this._query.add(\"$skiptoken\", token);\n return this;\n };\n Object.defineProperty(GraphQueryableCollection.prototype, \"count\", {\n /**\n * \tRetrieves the total count of matching resources\n */\n get: function () {\n this._query.add(\"$count\", \"true\");\n return this;\n },\n enumerable: true,\n configurable: true\n });\n return GraphQueryableCollection;\n}(GraphQueryable));\nexports.GraphQueryableCollection = GraphQueryableCollection;\nvar GraphQueryableSearchableCollection = /** @class */ (function (_super) {\n __extends(GraphQueryableSearchableCollection, _super);\n function GraphQueryableSearchableCollection() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * \tTo request second and subsequent pages of Graph data\n */\n GraphQueryableSearchableCollection.prototype.search = function (query) {\n this._query.add(\"$search\", query);\n return this;\n };\n return GraphQueryableSearchableCollection;\n}(GraphQueryableCollection));\nexports.GraphQueryableSearchableCollection = GraphQueryableSearchableCollection;\n/**\n * Represents an instance that can be selected\n *\n */\nvar GraphQueryableInstance = /** @class */ (function (_super) {\n __extends(GraphQueryableInstance, _super);\n function GraphQueryableInstance() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Choose which fields to return\n *\n * @param selects One or more fields to return\n */\n GraphQueryableInstance.prototype.select = function () {\n var selects = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n selects[_i] = arguments[_i];\n }\n if (selects.length > 0) {\n this._query.add(\"$select\", selects.join(\",\"));\n }\n return this;\n };\n /**\n * Expands fields such as lookups to get additional data\n *\n * @param expands The Fields for which to expand the values\n */\n GraphQueryableInstance.prototype.expand = function () {\n var expands = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n expands[_i] = arguments[_i];\n }\n if (expands.length > 0) {\n this._query.add(\"$expand\", expands.join(\",\"));\n }\n return this;\n };\n return GraphQueryableInstance;\n}(GraphQueryable));\nexports.GraphQueryableInstance = GraphQueryableInstance;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/graphqueryable.js\n// module id = 6\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"./core\");\nvar util_1 = require(\"../utils/util\");\nvar ODataDefaultParser = /** @class */ (function (_super) {\n __extends(ODataDefaultParser, _super);\n function ODataDefaultParser() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return ODataDefaultParser;\n}(core_1.ODataParserBase));\nexports.ODataDefaultParser = ODataDefaultParser;\nvar ODataValueParserImpl = /** @class */ (function (_super) {\n __extends(ODataValueParserImpl, _super);\n function ODataValueParserImpl() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ODataValueParserImpl.prototype.parse = function (r) {\n return _super.prototype.parse.call(this, r).then(function (d) { return d; });\n };\n return ODataValueParserImpl;\n}(core_1.ODataParserBase));\nfunction ODataValue() {\n return new ODataValueParserImpl();\n}\nexports.ODataValue = ODataValue;\nvar ODataRawParserImpl = /** @class */ (function () {\n function ODataRawParserImpl() {\n }\n ODataRawParserImpl.prototype.parse = function (r) {\n return r.json();\n };\n return ODataRawParserImpl;\n}());\nexports.ODataRawParserImpl = ODataRawParserImpl;\nexports.ODataRaw = new ODataRawParserImpl();\nvar TextFileParser = /** @class */ (function () {\n function TextFileParser() {\n }\n TextFileParser.prototype.parse = function (r) {\n return r.text();\n };\n return TextFileParser;\n}());\nexports.TextFileParser = TextFileParser;\nvar BlobFileParser = /** @class */ (function () {\n function BlobFileParser() {\n }\n BlobFileParser.prototype.parse = function (r) {\n return r.blob();\n };\n return BlobFileParser;\n}());\nexports.BlobFileParser = BlobFileParser;\nvar JSONFileParser = /** @class */ (function () {\n function JSONFileParser() {\n }\n JSONFileParser.prototype.parse = function (r) {\n return r.json();\n };\n return JSONFileParser;\n}());\nexports.JSONFileParser = JSONFileParser;\nvar BufferFileParser = /** @class */ (function () {\n function BufferFileParser() {\n }\n BufferFileParser.prototype.parse = function (r) {\n if (util_1.Util.isFunction(r.arrayBuffer)) {\n return r.arrayBuffer();\n }\n return r.buffer();\n };\n return BufferFileParser;\n}());\nexports.BufferFileParser = BufferFileParser;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/odata/parsers.js\n// module id = 7\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Generic dictionary\n */\nvar Dictionary = /** @class */ (function () {\n /**\n * Creates a new instance of the Dictionary class\n *\n * @constructor\n */\n function Dictionary(keys, values) {\n if (keys === void 0) { keys = []; }\n if (values === void 0) { values = []; }\n this.keys = keys;\n this.values = values;\n }\n /**\n * Gets a value from the collection using the specified key\n *\n * @param key The key whose value we want to return, returns null if the key does not exist\n */\n Dictionary.prototype.get = function (key) {\n var index = this.keys.indexOf(key);\n if (index < 0) {\n return null;\n }\n return this.values[index];\n };\n /**\n * Adds the supplied key and value to the dictionary\n *\n * @param key The key to add\n * @param o The value to add\n */\n Dictionary.prototype.add = function (key, o) {\n var index = this.keys.indexOf(key);\n if (index > -1) {\n this.values[index] = o;\n }\n else {\n this.keys.push(key);\n this.values.push(o);\n }\n };\n /**\n * Merges the supplied typed hash into this dictionary instance. Existing values are updated and new ones are created as appropriate.\n */\n Dictionary.prototype.merge = function (source) {\n var _this = this;\n if (\"getKeys\" in source) {\n var sourceAsDictionary_1 = source;\n sourceAsDictionary_1.getKeys().map(function (key) {\n _this.add(key, sourceAsDictionary_1.get(key));\n });\n }\n else {\n var sourceAsHash = source;\n for (var key in sourceAsHash) {\n if (sourceAsHash.hasOwnProperty(key)) {\n this.add(key, sourceAsHash[key]);\n }\n }\n }\n };\n /**\n * Removes a value from the dictionary\n *\n * @param key The key of the key/value pair to remove. Returns null if the key was not found.\n */\n Dictionary.prototype.remove = function (key) {\n var index = this.keys.indexOf(key);\n if (index < 0) {\n return null;\n }\n var val = this.values[index];\n this.keys.splice(index, 1);\n this.values.splice(index, 1);\n return val;\n };\n /**\n * Returns all the keys currently in the dictionary as an array\n */\n Dictionary.prototype.getKeys = function () {\n return this.keys;\n };\n /**\n * Returns all the values currently in the dictionary as an array\n */\n Dictionary.prototype.getValues = function () {\n return this.values;\n };\n /**\n * Clears the current dictionary\n */\n Dictionary.prototype.clear = function () {\n this.keys = [];\n this.values = [];\n };\n /**\n * Gets a count of the items currently in the dictionary\n */\n Dictionary.prototype.count = function () {\n return this.keys.length;\n };\n return Dictionary;\n}());\nexports.Dictionary = Dictionary;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/collections/collections.js\n// module id = 8\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar parsers_1 = require(\"../odata/parsers\");\nvar util_1 = require(\"../utils/util\");\nvar exceptions_1 = require(\"../utils/exceptions\");\nvar webparts_1 = require(\"./webparts\");\nvar items_1 = require(\"./items\");\nvar sharepointqueryableshareable_1 = require(\"./sharepointqueryableshareable\");\nvar odata_1 = require(\"./odata\");\n/**\n * Describes a collection of File objects\n *\n */\nvar Files = /** @class */ (function (_super) {\n __extends(Files, _super);\n /**\n * Creates a new instance of the Files class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function Files(baseUrl, path) {\n if (path === void 0) { path = \"files\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a File by filename\n *\n * @param name The name of the file, including extension.\n */\n Files.prototype.getByName = function (name) {\n var f = new File(this);\n f.concat(\"('\" + name + \"')\");\n return f;\n };\n /**\n * Uploads a file. Not supported for batching\n *\n * @param url The folder-relative url of the file.\n * @param content The file contents blob.\n * @param shouldOverWrite Should a file with the same name in the same location be overwritten? (default: true)\n * @returns The new File and the raw response.\n */\n Files.prototype.add = function (url, content, shouldOverWrite) {\n var _this = this;\n if (shouldOverWrite === void 0) { shouldOverWrite = true; }\n return new Files(this, \"add(overwrite=\" + shouldOverWrite + \",url='\" + url + \"')\")\n .postCore({\n body: content,\n }).then(function (response) {\n return {\n data: response,\n file: _this.getByName(url),\n };\n });\n };\n /**\n * Uploads a file. Not supported for batching\n *\n * @param url The folder-relative url of the file.\n * @param content The Blob file content to add\n * @param progress A callback function which can be used to track the progress of the upload\n * @param shouldOverWrite Should a file with the same name in the same location be overwritten? (default: true)\n * @param chunkSize The size of each file slice, in bytes (default: 10485760)\n * @returns The new File and the raw response.\n */\n Files.prototype.addChunked = function (url, content, progress, shouldOverWrite, chunkSize) {\n var _this = this;\n if (shouldOverWrite === void 0) { shouldOverWrite = true; }\n if (chunkSize === void 0) { chunkSize = 10485760; }\n var adder = this.clone(Files, \"add(overwrite=\" + shouldOverWrite + \",url='\" + url + \"')\", false);\n return adder.postCore().then(function () { return _this.getByName(url); }).then(function (file) { return file.setContentChunked(content, progress, chunkSize); }).then(function (response) {\n return {\n data: response,\n file: _this.getByName(url),\n };\n });\n };\n /**\n * Adds a ghosted file to an existing list or document library. Not supported for batching.\n *\n * @param fileUrl The server-relative url where you want to save the file.\n * @param templateFileType The type of use to create the file.\n * @returns The template file that was added and the raw response.\n */\n Files.prototype.addTemplateFile = function (fileUrl, templateFileType) {\n var _this = this;\n return this.clone(Files, \"addTemplateFile(urloffile='\" + fileUrl + \"',templatefiletype=\" + templateFileType + \")\", false)\n .postCore().then(function (response) {\n return {\n data: response,\n file: _this.getByName(fileUrl),\n };\n });\n };\n return Files;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Files = Files;\n/**\n * Describes a single File instance\n *\n */\nvar File = /** @class */ (function (_super) {\n __extends(File, _super);\n function File() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(File.prototype, \"listItemAllFields\", {\n /**\n * Gets a value that specifies the list item field values for the list item corresponding to the file.\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"listItemAllFields\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(File.prototype, \"versions\", {\n /**\n * Gets a collection of versions\n *\n */\n get: function () {\n return new Versions(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Approves the file submitted for content approval with the specified comment.\n * Only documents in lists that are enabled for content approval can be approved.\n *\n * @param comment The comment for the approval.\n */\n File.prototype.approve = function (comment) {\n if (comment === void 0) { comment = \"\"; }\n return this.clone(File, \"approve(comment='\" + comment + \"')\").postCore();\n };\n /**\n * Stops the chunk upload session without saving the uploaded data. Does not support batching.\n * If the file doesn’t already exist in the library, the partially uploaded file will be deleted.\n * Use this in response to user action (as in a request to cancel an upload) or an error or exception.\n * Use the uploadId value that was passed to the StartUpload method that started the upload session.\n * This method is currently available only on Office 365.\n *\n * @param uploadId The unique identifier of the upload session.\n */\n File.prototype.cancelUpload = function (uploadId) {\n return this.clone(File, \"cancelUpload(uploadId=guid'\" + uploadId + \"')\", false).postCore();\n };\n /**\n * Checks the file in to a document library based on the check-in type.\n *\n * @param comment A comment for the check-in. Its length must be <= 1023.\n * @param checkinType The check-in type for the file.\n */\n File.prototype.checkin = function (comment, checkinType) {\n if (comment === void 0) { comment = \"\"; }\n if (checkinType === void 0) { checkinType = CheckinType.Major; }\n if (comment.length > 1023) {\n throw new exceptions_1.MaxCommentLengthException();\n }\n return this.clone(File, \"checkin(comment='\" + comment + \"',checkintype=\" + checkinType + \")\").postCore();\n };\n /**\n * Checks out the file from a document library.\n */\n File.prototype.checkout = function () {\n return this.clone(File, \"checkout\").postCore();\n };\n /**\n * Copies the file to the destination url.\n *\n * @param url The absolute url or server relative url of the destination file path to copy to.\n * @param shouldOverWrite Should a file with the same name in the same location be overwritten?\n */\n File.prototype.copyTo = function (url, shouldOverWrite) {\n if (shouldOverWrite === void 0) { shouldOverWrite = true; }\n return this.clone(File, \"copyTo(strnewurl='\" + url + \"',boverwrite=\" + shouldOverWrite + \")\").postCore();\n };\n /**\n * Delete this file.\n *\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n File.prototype.delete = function (eTag) {\n if (eTag === void 0) { eTag = \"*\"; }\n return this.clone(File, null).postCore({\n headers: {\n \"IF-Match\": eTag,\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n /**\n * Denies approval for a file that was submitted for content approval.\n * Only documents in lists that are enabled for content approval can be denied.\n *\n * @param comment The comment for the denial.\n */\n File.prototype.deny = function (comment) {\n if (comment === void 0) { comment = \"\"; }\n if (comment.length > 1023) {\n throw new exceptions_1.MaxCommentLengthException();\n }\n return this.clone(File, \"deny(comment='\" + comment + \"')\").postCore();\n };\n /**\n * Specifies the control set used to access, modify, or add Web Parts associated with this Web Part Page and view.\n * An exception is thrown if the file is not an ASPX page.\n *\n * @param scope The WebPartsPersonalizationScope view on the Web Parts page.\n */\n File.prototype.getLimitedWebPartManager = function (scope) {\n if (scope === void 0) { scope = WebPartsPersonalizationScope.Shared; }\n return new webparts_1.LimitedWebPartManager(this, \"getLimitedWebPartManager(scope=\" + scope + \")\");\n };\n /**\n * Moves the file to the specified destination url.\n *\n * @param url The absolute url or server relative url of the destination file path to move to.\n * @param moveOperations The bitwise MoveOperations value for how to move the file.\n */\n File.prototype.moveTo = function (url, moveOperations) {\n if (moveOperations === void 0) { moveOperations = MoveOperations.Overwrite; }\n return this.clone(File, \"moveTo(newurl='\" + url + \"',flags=\" + moveOperations + \")\").postCore();\n };\n /**\n * Submits the file for content approval with the specified comment.\n *\n * @param comment The comment for the published file. Its length must be <= 1023.\n */\n File.prototype.publish = function (comment) {\n if (comment === void 0) { comment = \"\"; }\n if (comment.length > 1023) {\n throw new exceptions_1.MaxCommentLengthException();\n }\n return this.clone(File, \"publish(comment='\" + comment + \"')\").postCore();\n };\n /**\n * Moves the file to the Recycle Bin and returns the identifier of the new Recycle Bin item.\n *\n * @returns The GUID of the recycled file.\n */\n File.prototype.recycle = function () {\n return this.clone(File, \"recycle\").postCore();\n };\n /**\n * Reverts an existing checkout for the file.\n *\n */\n File.prototype.undoCheckout = function () {\n return this.clone(File, \"undoCheckout\").postCore();\n };\n /**\n * Removes the file from content approval or unpublish a major version.\n *\n * @param comment The comment for the unpublish operation. Its length must be <= 1023.\n */\n File.prototype.unpublish = function (comment) {\n if (comment === void 0) { comment = \"\"; }\n if (comment.length > 1023) {\n throw new exceptions_1.MaxCommentLengthException();\n }\n return this.clone(File, \"unpublish(comment='\" + comment + \"')\").postCore();\n };\n /**\n * Gets the contents of the file as text. Not supported in batching.\n *\n */\n File.prototype.getText = function () {\n return this.clone(File, \"$value\", false).get(new parsers_1.TextFileParser(), { headers: { \"binaryStringResponseBody\": \"true\" } });\n };\n /**\n * Gets the contents of the file as a blob, does not work in Node.js. Not supported in batching.\n *\n */\n File.prototype.getBlob = function () {\n return this.clone(File, \"$value\", false).get(new parsers_1.BlobFileParser(), { headers: { \"binaryStringResponseBody\": \"true\" } });\n };\n /**\n * Gets the contents of a file as an ArrayBuffer, works in Node.js. Not supported in batching.\n */\n File.prototype.getBuffer = function () {\n return this.clone(File, \"$value\", false).get(new parsers_1.BufferFileParser(), { headers: { \"binaryStringResponseBody\": \"true\" } });\n };\n /**\n * Gets the contents of a file as an ArrayBuffer, works in Node.js. Not supported in batching.\n */\n File.prototype.getJSON = function () {\n return this.clone(File, \"$value\", false).get(new parsers_1.JSONFileParser(), { headers: { \"binaryStringResponseBody\": \"true\" } });\n };\n /**\n * Sets the content of a file, for large files use setContentChunked. Not supported in batching.\n *\n * @param content The file content\n *\n */\n File.prototype.setContent = function (content) {\n var _this = this;\n return this.clone(File, \"$value\", false).postCore({\n body: content,\n headers: {\n \"X-HTTP-Method\": \"PUT\",\n },\n }).then(function (_) { return new File(_this); });\n };\n /**\n * Gets the associated list item for this folder, loading the default properties\n */\n File.prototype.getItem = function () {\n var selects = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n selects[_i] = arguments[_i];\n }\n var q = this.listItemAllFields;\n return q.select.apply(q, selects).get().then(function (d) {\n return util_1.Util.extend(new items_1.Item(odata_1.spGetEntityUrl(d)), d);\n });\n };\n /**\n * Sets the contents of a file using a chunked upload approach. Not supported in batching.\n *\n * @param file The file to upload\n * @param progress A callback function which can be used to track the progress of the upload\n * @param chunkSize The size of each file slice, in bytes (default: 10485760)\n */\n File.prototype.setContentChunked = function (file, progress, chunkSize) {\n if (chunkSize === void 0) { chunkSize = 10485760; }\n if (typeof progress === \"undefined\") {\n progress = function () { return null; };\n }\n var self = this;\n var fileSize = file.size;\n var blockCount = parseInt((file.size / chunkSize).toString(), 10) + ((file.size % chunkSize === 0) ? 1 : 0);\n var uploadId = util_1.Util.getGUID();\n // start the chain with the first fragment\n progress({ blockNumber: 1, chunkSize: chunkSize, currentPointer: 0, fileSize: fileSize, stage: \"starting\", totalBlocks: blockCount });\n var chain = self.startUpload(uploadId, file.slice(0, chunkSize));\n var _loop_1 = function (i) {\n chain = chain.then(function (pointer) {\n progress({ blockNumber: i, chunkSize: chunkSize, currentPointer: pointer, fileSize: fileSize, stage: \"continue\", totalBlocks: blockCount });\n return self.continueUpload(uploadId, pointer, file.slice(pointer, pointer + chunkSize));\n });\n };\n // skip the first and last blocks\n for (var i = 2; i < blockCount; i++) {\n _loop_1(i);\n }\n return chain.then(function (pointer) {\n progress({ blockNumber: blockCount, chunkSize: chunkSize, currentPointer: pointer, fileSize: fileSize, stage: \"finishing\", totalBlocks: blockCount });\n return self.finishUpload(uploadId, pointer, file.slice(pointer));\n }).then(function (_) {\n return self;\n });\n };\n /**\n * Starts a new chunk upload session and uploads the first fragment.\n * The current file content is not changed when this method completes.\n * The method is idempotent (and therefore does not change the result) as long as you use the same values for uploadId and stream.\n * The upload session ends either when you use the CancelUpload method or when you successfully\n * complete the upload session by passing the rest of the file contents through the ContinueUpload and FinishUpload methods.\n * The StartUpload and ContinueUpload methods return the size of the running total of uploaded data in bytes,\n * so you can pass those return values to subsequent uses of ContinueUpload and FinishUpload.\n * This method is currently available only on Office 365.\n *\n * @param uploadId The unique identifier of the upload session.\n * @param fragment The file contents.\n * @returns The size of the total uploaded data in bytes.\n */\n File.prototype.startUpload = function (uploadId, fragment) {\n return this.clone(File, \"startUpload(uploadId=guid'\" + uploadId + \"')\", false).postAsCore({ body: fragment }).then(function (n) { return parseFloat(n); });\n };\n /**\n * Continues the chunk upload session with an additional fragment.\n * The current file content is not changed.\n * Use the uploadId value that was passed to the StartUpload method that started the upload session.\n * This method is currently available only on Office 365.\n *\n * @param uploadId The unique identifier of the upload session.\n * @param fileOffset The size of the offset into the file where the fragment starts.\n * @param fragment The file contents.\n * @returns The size of the total uploaded data in bytes.\n */\n File.prototype.continueUpload = function (uploadId, fileOffset, fragment) {\n return this.clone(File, \"continueUpload(uploadId=guid'\" + uploadId + \"',fileOffset=\" + fileOffset + \")\", false).postAsCore({ body: fragment }).then(function (n) { return parseFloat(n); });\n };\n /**\n * Uploads the last file fragment and commits the file. The current file content is changed when this method completes.\n * Use the uploadId value that was passed to the StartUpload method that started the upload session.\n * This method is currently available only on Office 365.\n *\n * @param uploadId The unique identifier of the upload session.\n * @param fileOffset The size of the offset into the file where the fragment starts.\n * @param fragment The file contents.\n * @returns The newly uploaded file.\n */\n File.prototype.finishUpload = function (uploadId, fileOffset, fragment) {\n return this.clone(File, \"finishUpload(uploadId=guid'\" + uploadId + \"',fileOffset=\" + fileOffset + \")\", false)\n .postAsCore({ body: fragment }).then(function (response) {\n return {\n data: response,\n file: new File(response.ServerRelativeUrl),\n };\n });\n };\n return File;\n}(sharepointqueryableshareable_1.SharePointQueryableShareableFile));\nexports.File = File;\n/**\n * Describes a collection of Version objects\n *\n */\nvar Versions = /** @class */ (function (_super) {\n __extends(Versions, _super);\n /**\n * Creates a new instance of the File class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function Versions(baseUrl, path) {\n if (path === void 0) { path = \"versions\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a version by id\n *\n * @param versionId The id of the version to retrieve\n */\n Versions.prototype.getById = function (versionId) {\n var v = new Version(this);\n v.concat(\"(\" + versionId + \")\");\n return v;\n };\n /**\n * Deletes all the file version objects in the collection.\n *\n */\n Versions.prototype.deleteAll = function () {\n return new Versions(this, \"deleteAll\").postCore();\n };\n /**\n * Deletes the specified version of the file.\n *\n * @param versionId The ID of the file version to delete.\n */\n Versions.prototype.deleteById = function (versionId) {\n return this.clone(Versions, \"deleteById(vid=\" + versionId + \")\").postCore();\n };\n /**\n * Recycles the specified version of the file.\n *\n * @param versionId The ID of the file version to delete.\n */\n Versions.prototype.recycleByID = function (versionId) {\n return this.clone(Versions, \"recycleByID(vid=\" + versionId + \")\").postCore();\n };\n /**\n * Deletes the file version object with the specified version label.\n *\n * @param label The version label of the file version to delete, for example: 1.2\n */\n Versions.prototype.deleteByLabel = function (label) {\n return this.clone(Versions, \"deleteByLabel(versionlabel='\" + label + \"')\").postCore();\n };\n /**\n * REcycles the file version object with the specified version label.\n *\n * @param label The version label of the file version to delete, for example: 1.2\n */\n Versions.prototype.recycleByLabel = function (label) {\n return this.clone(Versions, \"recycleByLabel(versionlabel='\" + label + \"')\").postCore();\n };\n /**\n * Creates a new file version from the file specified by the version label.\n *\n * @param label The version label of the file version to restore, for example: 1.2\n */\n Versions.prototype.restoreByLabel = function (label) {\n return this.clone(Versions, \"restoreByLabel(versionlabel='\" + label + \"')\").postCore();\n };\n return Versions;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Versions = Versions;\n/**\n * Describes a single Version instance\n *\n */\nvar Version = /** @class */ (function (_super) {\n __extends(Version, _super);\n function Version() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Delete a specific version of a file.\n *\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n Version.prototype.delete = function (eTag) {\n if (eTag === void 0) { eTag = \"*\"; }\n return this.postCore({\n headers: {\n \"IF-Match\": eTag,\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n /**\n * Opens the file as a stream.\n */\n Version.prototype.openBinaryStream = function () {\n return this.clone(Version, \"openBinaryStream\").postCore();\n };\n return Version;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.Version = Version;\nvar CheckinType;\n(function (CheckinType) {\n CheckinType[CheckinType[\"Minor\"] = 0] = \"Minor\";\n CheckinType[CheckinType[\"Major\"] = 1] = \"Major\";\n CheckinType[CheckinType[\"Overwrite\"] = 2] = \"Overwrite\";\n})(CheckinType = exports.CheckinType || (exports.CheckinType = {}));\nvar WebPartsPersonalizationScope;\n(function (WebPartsPersonalizationScope) {\n WebPartsPersonalizationScope[WebPartsPersonalizationScope[\"User\"] = 0] = \"User\";\n WebPartsPersonalizationScope[WebPartsPersonalizationScope[\"Shared\"] = 1] = \"Shared\";\n})(WebPartsPersonalizationScope = exports.WebPartsPersonalizationScope || (exports.WebPartsPersonalizationScope = {}));\nvar MoveOperations;\n(function (MoveOperations) {\n MoveOperations[MoveOperations[\"Overwrite\"] = 1] = \"Overwrite\";\n MoveOperations[MoveOperations[\"AllowBrokenThickets\"] = 8] = \"AllowBrokenThickets\";\n})(MoveOperations = exports.MoveOperations || (exports.MoveOperations = {}));\nvar TemplateFileType;\n(function (TemplateFileType) {\n TemplateFileType[TemplateFileType[\"StandardPage\"] = 0] = \"StandardPage\";\n TemplateFileType[TemplateFileType[\"WikiPage\"] = 1] = \"WikiPage\";\n TemplateFileType[TemplateFileType[\"FormPage\"] = 2] = \"FormPage\";\n})(TemplateFileType = exports.TemplateFileType || (exports.TemplateFileType = {}));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/files.js\n// module id = 9\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nfunction mergeOptions(target, source) {\n target.headers = target.headers || {};\n var headers = util_1.Util.extend(target.headers, source.headers);\n target = util_1.Util.extend(target, source);\n target.headers = headers;\n}\nexports.mergeOptions = mergeOptions;\nfunction mergeHeaders(target, source) {\n if (typeof source !== \"undefined\" && source !== null) {\n var temp = new Request(\"\", { headers: source });\n temp.headers.forEach(function (value, name) {\n target.append(name, value);\n });\n }\n}\nexports.mergeHeaders = mergeHeaders;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/net/utils.js\n// module id = 10\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar lists_1 = require(\"./lists\");\nvar fields_1 = require(\"./fields\");\nvar navigation_1 = require(\"./navigation\");\nvar sitegroups_1 = require(\"./sitegroups\");\nvar contenttypes_1 = require(\"./contenttypes\");\nvar regionalsettings_1 = require(\"./regionalsettings\");\nvar folders_1 = require(\"./folders\");\nvar roles_1 = require(\"./roles\");\nvar files_1 = require(\"./files\");\nvar util_1 = require(\"../utils/util\");\nvar lists_2 = require(\"./lists\");\nvar siteusers_1 = require(\"./siteusers\");\nvar usercustomactions_1 = require(\"./usercustomactions\");\nvar odata_1 = require(\"./odata\");\nvar batch_1 = require(\"./batch\");\nvar features_1 = require(\"./features\");\nvar sharepointqueryableshareable_1 = require(\"./sharepointqueryableshareable\");\nvar relateditems_1 = require(\"./relateditems\");\nvar appcatalog_1 = require(\"./appcatalog\");\n/**\n * Describes a collection of webs\n *\n */\nvar Webs = /** @class */ (function (_super) {\n __extends(Webs, _super);\n /**\n * Creates a new instance of the Webs class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this web collection\n */\n function Webs(baseUrl, webPath) {\n if (webPath === void 0) { webPath = \"webs\"; }\n return _super.call(this, baseUrl, webPath) || this;\n }\n /**\n * Adds a new web to the collection\n *\n * @param title The new web's title\n * @param url The new web's relative url\n * @param description The new web's description\n * @param template The new web's template internal name (default = STS)\n * @param language The locale id that specifies the new web's language (default = 1033 [English, US])\n * @param inheritPermissions When true, permissions will be inherited from the new web's parent (default = true)\n */\n Webs.prototype.add = function (title, url, description, template, language, inheritPermissions) {\n if (description === void 0) { description = \"\"; }\n if (template === void 0) { template = \"STS\"; }\n if (language === void 0) { language = 1033; }\n if (inheritPermissions === void 0) { inheritPermissions = true; }\n var props = {\n Description: description,\n Language: language,\n Title: title,\n Url: url,\n UseSamePermissionsAsParentSite: inheritPermissions,\n WebTemplate: template,\n };\n var postBody = JSON.stringify({\n \"parameters\": util_1.Util.extend({\n \"__metadata\": { \"type\": \"SP.WebCreationInformation\" },\n }, props),\n });\n return this.clone(Webs, \"add\").postCore({ body: postBody }).then(function (data) {\n return {\n data: data,\n web: new Web(odata_1.spExtractODataId(data).replace(/_api\\/web\\/?/i, \"\")),\n };\n });\n };\n return Webs;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Webs = Webs;\n/**\n * Describes a collection of web infos\n *\n */\nvar WebInfos = /** @class */ (function (_super) {\n __extends(WebInfos, _super);\n /**\n * Creates a new instance of the WebInfos class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this web infos collection\n */\n function WebInfos(baseUrl, webPath) {\n if (webPath === void 0) { webPath = \"webinfos\"; }\n return _super.call(this, baseUrl, webPath) || this;\n }\n return WebInfos;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.WebInfos = WebInfos;\n/**\n * Describes a web\n *\n */\nvar Web = /** @class */ (function (_super) {\n __extends(Web, _super);\n /**\n * Creates a new instance of the Web class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this web\n */\n function Web(baseUrl, path) {\n if (path === void 0) { path = \"_api/web\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Creates a new web instance from the given url by indexing the location of the /_api/\n * segment. If this is not found the method creates a new web with the entire string as\n * supplied.\n *\n * @param url\n */\n Web.fromUrl = function (url, path) {\n return new Web(util_1.extractWebUrl(url), path);\n };\n Object.defineProperty(Web.prototype, \"webs\", {\n /**\n * Gets this web's subwebs\n *\n */\n get: function () {\n return new Webs(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a collection of objects that contain metadata about subsites of the current site in which the current user is a member.\n *\n * @param nWebTemplateFilter Specifies the site definition (default = -1)\n * @param nConfigurationFilter A 16-bit integer that specifies the identifier of a configuration (default = -1)\n */\n Web.prototype.getSubwebsFilteredForCurrentUser = function (nWebTemplateFilter, nConfigurationFilter) {\n if (nWebTemplateFilter === void 0) { nWebTemplateFilter = -1; }\n if (nConfigurationFilter === void 0) { nConfigurationFilter = -1; }\n return this.clone(Webs, \"getSubwebsFilteredForCurrentUser(nWebTemplateFilter=\" + nWebTemplateFilter + \",nConfigurationFilter=\" + nConfigurationFilter + \")\");\n };\n Object.defineProperty(Web.prototype, \"allProperties\", {\n /**\n * Gets the set of all web properties from the read-only collection.\n */\n get: function () {\n return this.clone(sharepointqueryable_1.SharePointQueryableCollection, \"allproperties\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"webinfos\", {\n /**\n * Gets a collection of WebInfos for this web's subwebs\n *\n */\n get: function () {\n return new WebInfos(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"contentTypes\", {\n /**\n * Gets the content types available in this web\n *\n */\n get: function () {\n return new contenttypes_1.ContentTypes(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"lists\", {\n /**\n * Gets the lists in this web\n *\n */\n get: function () {\n return new lists_1.Lists(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"fields\", {\n /**\n * Gets the fields in this web\n *\n */\n get: function () {\n return new fields_1.Fields(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"features\", {\n /**\n * Gets the active features for this web\n *\n */\n get: function () {\n return new features_1.Features(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"availablefields\", {\n /**\n * Gets the available fields in this web\n *\n */\n get: function () {\n return new fields_1.Fields(this, \"availablefields\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"navigation\", {\n /**\n * Gets the navigation options in this web\n *\n */\n get: function () {\n return new navigation_1.Navigation(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"siteUsers\", {\n /**\n * Gets the site users\n *\n */\n get: function () {\n return new siteusers_1.SiteUsers(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"siteGroups\", {\n /**\n * Gets the site groups\n *\n */\n get: function () {\n return new sitegroups_1.SiteGroups(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"siteUserInfoList\", {\n /**\n * Gets site user info list\n *\n */\n get: function () {\n return new lists_2.List(this, \"siteuserinfolist\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"regionalSettings\", {\n /**\n * Gets regional settings\n *\n */\n get: function () {\n return new regionalsettings_1.RegionalSettings(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"currentUser\", {\n /**\n * Gets the current user\n */\n get: function () {\n return new siteusers_1.CurrentUser(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"folders\", {\n /**\n * Gets the top-level folders in this web\n *\n */\n get: function () {\n return new folders_1.Folders(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"userCustomActions\", {\n /**\n * Gets all user custom actions for this web\n *\n */\n get: function () {\n return new usercustomactions_1.UserCustomActions(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"effectiveBasePermissions\", {\n /**\n * Gets the effective base permissions of this web\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryable(this, \"effectivebasepermissions\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"roleDefinitions\", {\n /**\n * Gets the collection of RoleDefinition resources\n *\n */\n get: function () {\n return new roles_1.RoleDefinitions(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"relatedItems\", {\n /**\n * Provides an interface to manage related items\n *\n */\n get: function () {\n return relateditems_1.RelatedItemManagerImpl.FromUrl(this.toUrl());\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new batch for requests within the context of this web\n *\n */\n Web.prototype.createBatch = function () {\n return new batch_1.ODataBatch(this.parentUrl);\n };\n Object.defineProperty(Web.prototype, \"rootFolder\", {\n /**\n * Gets the root folder of this web\n *\n */\n get: function () {\n return new folders_1.Folder(this, \"rootFolder\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"associatedOwnerGroup\", {\n /**\n * Gets the associated owner group for this web\n *\n */\n get: function () {\n return new sitegroups_1.SiteGroup(this, \"associatedownergroup\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"associatedMemberGroup\", {\n /**\n * Gets the associated member group for this web\n *\n */\n get: function () {\n return new sitegroups_1.SiteGroup(this, \"associatedmembergroup\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Web.prototype, \"associatedVisitorGroup\", {\n /**\n * Gets the associated visitor group for this web\n *\n */\n get: function () {\n return new sitegroups_1.SiteGroup(this, \"associatedvisitorgroup\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets a folder by server relative url\n *\n * @param folderRelativeUrl The server relative path to the folder (including /sites/ if applicable)\n */\n Web.prototype.getFolderByServerRelativeUrl = function (folderRelativeUrl) {\n return new folders_1.Folder(this, \"getFolderByServerRelativeUrl('\" + folderRelativeUrl + \"')\");\n };\n /**\n * Gets a file by server relative url\n *\n * @param fileRelativeUrl The server relative path to the file (including /sites/ if applicable)\n */\n Web.prototype.getFileByServerRelativeUrl = function (fileRelativeUrl) {\n return new files_1.File(this, \"getFileByServerRelativeUrl('\" + fileRelativeUrl + \"')\");\n };\n /**\n * Gets a list by server relative url (list's root folder)\n *\n * @param listRelativeUrl The server relative path to the list's root folder (including /sites/ if applicable)\n */\n Web.prototype.getList = function (listRelativeUrl) {\n return new lists_2.List(this, \"getList('\" + listRelativeUrl + \"')\");\n };\n /**\n * Updates this web instance with the supplied properties\n *\n * @param properties A plain object hash of values to update for the web\n */\n Web.prototype.update = function (properties) {\n var _this = this;\n var postBody = JSON.stringify(util_1.Util.extend({\n \"__metadata\": { \"type\": \"SP.Web\" },\n }, properties));\n return this.postCore({\n body: postBody,\n headers: {\n \"X-HTTP-Method\": \"MERGE\",\n },\n }).then(function (data) {\n return {\n data: data,\n web: _this,\n };\n });\n };\n /**\n * Deletes this web\n *\n */\n Web.prototype.delete = function () {\n return _super.prototype.deleteCore.call(this);\n };\n /**\n * Applies the theme specified by the contents of each of the files specified in the arguments to the site\n *\n * @param colorPaletteUrl The server-relative URL of the color palette file\n * @param fontSchemeUrl The server-relative URL of the font scheme\n * @param backgroundImageUrl The server-relative URL of the background image\n * @param shareGenerated When true, the generated theme files are stored in the root site. When false, they are stored in this web\n */\n Web.prototype.applyTheme = function (colorPaletteUrl, fontSchemeUrl, backgroundImageUrl, shareGenerated) {\n var postBody = JSON.stringify({\n backgroundImageUrl: backgroundImageUrl,\n colorPaletteUrl: colorPaletteUrl,\n fontSchemeUrl: fontSchemeUrl,\n shareGenerated: shareGenerated,\n });\n return this.clone(Web, \"applytheme\").postCore({ body: postBody });\n };\n /**\n * Applies the specified site definition or site template to the Web site that has no template applied to it\n *\n * @param template Name of the site definition or the name of the site template\n */\n Web.prototype.applyWebTemplate = function (template) {\n var q = this.clone(Web, \"applywebtemplate\");\n q.concat(\"(@t)\");\n q.query.add(\"@t\", template);\n return q.postCore();\n };\n /**\n * Checks whether the specified login name belongs to a valid user in the web. If the user doesn't exist, adds the user to the web.\n *\n * @param loginName The login name of the user (ex: i:0#.f|membership|user@domain.onmicrosoft.com)\n */\n Web.prototype.ensureUser = function (loginName) {\n var postBody = JSON.stringify({\n logonName: loginName,\n });\n return this.clone(Web, \"ensureuser\").postCore({ body: postBody }).then(function (data) {\n return {\n data: data,\n user: new siteusers_1.SiteUser(odata_1.spExtractODataId(data)),\n };\n });\n };\n /**\n * Returns a collection of site templates available for the site\n *\n * @param language The locale id of the site templates to retrieve (default = 1033 [English, US])\n * @param includeCrossLanguage When true, includes language-neutral site templates; otherwise false (default = true)\n */\n Web.prototype.availableWebTemplates = function (language, includeCrossLanugage) {\n if (language === void 0) { language = 1033; }\n if (includeCrossLanugage === void 0) { includeCrossLanugage = true; }\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"getavailablewebtemplates(lcid=\" + language + \", doincludecrosslanguage=\" + includeCrossLanugage + \")\");\n };\n /**\n * Returns the list gallery on the site\n *\n * @param type The gallery type - WebTemplateCatalog = 111, WebPartCatalog = 113 ListTemplateCatalog = 114,\n * MasterPageCatalog = 116, SolutionCatalog = 121, ThemeCatalog = 123, DesignCatalog = 124, AppDataCatalog = 125\n */\n Web.prototype.getCatalog = function (type) {\n return this.clone(Web, \"getcatalog(\" + type + \")\").select(\"Id\").get().then(function (data) {\n return new lists_2.List(odata_1.spExtractODataId(data));\n });\n };\n /**\n * Returns the collection of changes from the change log that have occurred within the list, based on the specified query\n *\n * @param query The change query\n */\n Web.prototype.getChanges = function (query) {\n var postBody = JSON.stringify({ \"query\": util_1.Util.extend({ \"__metadata\": { \"type\": \"SP.ChangeQuery\" } }, query) });\n return this.clone(Web, \"getchanges\").postCore({ body: postBody });\n };\n Object.defineProperty(Web.prototype, \"customListTemplate\", {\n /**\n * Gets the custom list templates for the site\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"getcustomlisttemplates\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the user corresponding to the specified member identifier for the current site\n *\n * @param id The id of the user\n */\n Web.prototype.getUserById = function (id) {\n return new siteusers_1.SiteUser(this, \"getUserById(\" + id + \")\");\n };\n /**\n * Returns the name of the image file for the icon that is used to represent the specified file\n *\n * @param filename The file name. If this parameter is empty, the server returns an empty string\n * @param size The size of the icon: 16x16 pixels = 0, 32x32 pixels = 1 (default = 0)\n * @param progId The ProgID of the application that was used to create the file, in the form OLEServerName.ObjectName\n */\n Web.prototype.mapToIcon = function (filename, size, progId) {\n if (size === void 0) { size = 0; }\n if (progId === void 0) { progId = \"\"; }\n return this.clone(Web, \"maptoicon(filename='\" + filename + \"', progid='\" + progId + \"', size=\" + size + \")\").get();\n };\n /**\n * Returns the tenant property corresponding to the specified key in the app catalog site\n *\n * @param key\n */\n Web.prototype.getStorageEntity = function (key) {\n return this.clone(Web, \"getStorageEntity('\" + key + \"')\").get();\n };\n /**\n * Gets the app catalog for this web\n *\n * @param url Optional url or web containing the app catalog (default: current web)\n */\n Web.prototype.getAppCatalog = function (url) {\n return new appcatalog_1.AppCatalog(url || this);\n };\n return Web;\n}(sharepointqueryableshareable_1.SharePointQueryableShareableWeb));\nexports.Web = Web;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/webs.js\n// module id = 11\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"./util\");\nvar collections_1 = require(\"../collections/collections\");\nvar pnplibconfig_1 = require(\"../configuration/pnplibconfig\");\nvar logging_1 = require(\"./logging\");\n/**\n * A wrapper class to provide a consistent interface to browser based storage\n *\n */\nvar PnPClientStorageWrapper = /** @class */ (function () {\n /**\n * Creates a new instance of the PnPClientStorageWrapper class\n *\n * @constructor\n */\n function PnPClientStorageWrapper(store, defaultTimeoutMinutes) {\n this.store = store;\n this.defaultTimeoutMinutes = defaultTimeoutMinutes;\n this.defaultTimeoutMinutes = (defaultTimeoutMinutes === void 0) ? -1 : defaultTimeoutMinutes;\n this.enabled = this.test();\n // if the cache timeout is enabled call the handler\n // this will clear any expired items and set the timeout function\n if (pnplibconfig_1.RuntimeConfig.enableCacheExpiration) {\n logging_1.Logger.write(\"Enabling cache expiration.\", logging_1.LogLevel.Info);\n this.cacheExpirationHandler();\n }\n }\n /**\n * Get a value from storage, or null if that value does not exist\n *\n * @param key The key whose value we want to retrieve\n */\n PnPClientStorageWrapper.prototype.get = function (key) {\n if (!this.enabled) {\n return null;\n }\n var o = this.store.getItem(key);\n if (o == null) {\n return null;\n }\n var persistable = JSON.parse(o);\n if (new Date(persistable.expiration) <= new Date()) {\n logging_1.Logger.write(\"Removing item with key '\" + key + \"' from cache due to expiration.\", logging_1.LogLevel.Info);\n this.delete(key);\n return null;\n }\n else {\n return persistable.value;\n }\n };\n /**\n * Adds a value to the underlying storage\n *\n * @param key The key to use when storing the provided value\n * @param o The value to store\n * @param expire Optional, if provided the expiration of the item, otherwise the default is used\n */\n PnPClientStorageWrapper.prototype.put = function (key, o, expire) {\n if (this.enabled) {\n this.store.setItem(key, this.createPersistable(o, expire));\n }\n };\n /**\n * Deletes a value from the underlying storage\n *\n * @param key The key of the pair we want to remove from storage\n */\n PnPClientStorageWrapper.prototype.delete = function (key) {\n if (this.enabled) {\n this.store.removeItem(key);\n }\n };\n /**\n * Gets an item from the underlying storage, or adds it if it does not exist using the supplied getter function\n *\n * @param key The key to use when storing the provided value\n * @param getter A function which will upon execution provide the desired value\n * @param expire Optional, if provided the expiration of the item, otherwise the default is used\n */\n PnPClientStorageWrapper.prototype.getOrPut = function (key, getter, expire) {\n var _this = this;\n if (!this.enabled) {\n return getter();\n }\n return new Promise(function (resolve) {\n var o = _this.get(key);\n if (o == null) {\n getter().then(function (d) {\n _this.put(key, d, expire);\n resolve(d);\n });\n }\n else {\n resolve(o);\n }\n });\n };\n /**\n * Deletes any expired items placed in the store by the pnp library, leaves other items untouched\n */\n PnPClientStorageWrapper.prototype.deleteExpired = function () {\n var _this = this;\n return new Promise(function (resolve, reject) {\n if (!_this.enabled) {\n resolve();\n }\n try {\n for (var i = 0; i < _this.store.length; i++) {\n var key = _this.store.key(i);\n // test the stored item to see if we stored it\n if (/[\"|']?pnp[\"|']? ?: ?1/i.test(_this.store.getItem(key))) {\n // get those items as get will delete from cache if they are expired\n _this.get(key);\n }\n }\n resolve();\n }\n catch (e) {\n reject(e);\n }\n });\n };\n /**\n * Used to determine if the wrapped storage is available currently\n */\n PnPClientStorageWrapper.prototype.test = function () {\n var str = \"test\";\n try {\n this.store.setItem(str, str);\n this.store.removeItem(str);\n return true;\n }\n catch (e) {\n return false;\n }\n };\n /**\n * Creates the persistable to store\n */\n PnPClientStorageWrapper.prototype.createPersistable = function (o, expire) {\n if (typeof expire === \"undefined\") {\n // ensure we are by default inline with the global library setting\n var defaultTimeout = pnplibconfig_1.RuntimeConfig.defaultCachingTimeoutSeconds;\n if (this.defaultTimeoutMinutes > 0) {\n defaultTimeout = this.defaultTimeoutMinutes * 60;\n }\n expire = util_1.Util.dateAdd(new Date(), \"second\", defaultTimeout);\n }\n return JSON.stringify({ pnp: 1, expiration: expire, value: o });\n };\n /**\n * Deletes expired items added by this library in this.store and sets a timeout to call itself\n */\n PnPClientStorageWrapper.prototype.cacheExpirationHandler = function () {\n var _this = this;\n logging_1.Logger.write(\"Called cache expiration handler.\", logging_1.LogLevel.Verbose);\n this.deleteExpired().then(function (_) {\n // call ourself in the future\n setTimeout(util_1.Util.getCtxCallback(_this, _this.cacheExpirationHandler), pnplibconfig_1.RuntimeConfig.cacheExpirationIntervalMilliseconds);\n }).catch(function (e) {\n // we've got some error - so just stop the loop and report the error\n logging_1.Logger.log({\n data: e,\n level: logging_1.LogLevel.Error,\n message: \"Error deleting expired cache entries, see data for details. Timeout not reset.\",\n });\n });\n };\n return PnPClientStorageWrapper;\n}());\nexports.PnPClientStorageWrapper = PnPClientStorageWrapper;\n/**\n * A thin implementation of in-memory storage for use in nodejs\n */\nvar MemoryStorage = /** @class */ (function () {\n function MemoryStorage(_store) {\n if (_store === void 0) { _store = new collections_1.Dictionary(); }\n this._store = _store;\n }\n Object.defineProperty(MemoryStorage.prototype, \"length\", {\n get: function () {\n return this._store.count();\n },\n enumerable: true,\n configurable: true\n });\n MemoryStorage.prototype.clear = function () {\n this._store.clear();\n };\n MemoryStorage.prototype.getItem = function (key) {\n return this._store.get(key);\n };\n MemoryStorage.prototype.key = function (index) {\n return this._store.getKeys()[index];\n };\n MemoryStorage.prototype.removeItem = function (key) {\n this._store.remove(key);\n };\n MemoryStorage.prototype.setItem = function (key, data) {\n this._store.add(key, data);\n };\n return MemoryStorage;\n}());\n/**\n * A class that will establish wrappers for both local and session storage\n */\nvar PnPClientStorage = /** @class */ (function () {\n /**\n * Creates a new instance of the PnPClientStorage class\n *\n * @constructor\n */\n function PnPClientStorage(_local, _session) {\n if (_local === void 0) { _local = null; }\n if (_session === void 0) { _session = null; }\n this._local = _local;\n this._session = _session;\n }\n Object.defineProperty(PnPClientStorage.prototype, \"local\", {\n /**\n * Provides access to the local storage of the browser\n */\n get: function () {\n if (this._local === null) {\n this._local = typeof localStorage !== \"undefined\" ? new PnPClientStorageWrapper(localStorage) : new PnPClientStorageWrapper(new MemoryStorage());\n }\n return this._local;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PnPClientStorage.prototype, \"session\", {\n /**\n * Provides access to the session storage of the browser\n */\n get: function () {\n if (this._session === null) {\n this._session = typeof sessionStorage !== \"undefined\" ? new PnPClientStorageWrapper(sessionStorage) : new PnPClientStorageWrapper(new MemoryStorage());\n }\n return this._session;\n },\n enumerable: true,\n configurable: true\n });\n return PnPClientStorage;\n}());\nexports.PnPClientStorage = PnPClientStorage;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/utils/storage.js\n// module id = 12\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar exceptions_1 = require(\"../utils/exceptions\");\nvar logging_1 = require(\"../utils/logging\");\nvar ODataParserBase = /** @class */ (function () {\n function ODataParserBase() {\n }\n ODataParserBase.prototype.parse = function (r) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n if (_this.handleError(r, reject)) {\n if ((r.headers.has(\"Content-Length\") && parseFloat(r.headers.get(\"Content-Length\")) === 0) || r.status === 204) {\n resolve({});\n }\n else {\n // patch to handle cases of 200 response with no or whitespace only bodies (#487 & #545)\n r.text()\n .then(function (txt) { return txt.replace(/\\s/ig, \"\").length > 0 ? JSON.parse(txt) : {}; })\n .then(function (json) { return resolve(_this.parseODataJSON(json)); })\n .catch(function (e) { return reject(e); });\n }\n }\n });\n };\n ODataParserBase.prototype.handleError = function (r, reject) {\n if (!r.ok) {\n r.json().then(function (json) {\n // include the headers as they contain diagnostic information\n var data = {\n responseBody: json,\n responseHeaders: r.headers,\n };\n reject(new exceptions_1.ProcessHttpClientResponseException(r.status, r.statusText, data));\n }).catch(function (e) {\n // we failed to read the body - possibly it is empty. Let's report the original status that caused\n // the request to fail and log the error with parsing the body if anyone needs it for debugging\n logging_1.Logger.log({\n data: e,\n level: logging_1.LogLevel.Warning,\n message: \"There was an error parsing the error response body. See data for details.\",\n });\n // include the headers as they contain diagnostic information\n var data = {\n responseBody: \"[[body not available]]\",\n responseHeaders: r.headers,\n };\n reject(new exceptions_1.ProcessHttpClientResponseException(r.status, r.statusText, data));\n });\n }\n return r.ok;\n };\n ODataParserBase.prototype.parseODataJSON = function (json) {\n var result = json;\n if (json.hasOwnProperty(\"d\")) {\n if (json.d.hasOwnProperty(\"results\")) {\n result = json.d.results;\n }\n else {\n result = json.d;\n }\n }\n else if (json.hasOwnProperty(\"value\")) {\n result = json.value;\n }\n return result;\n };\n return ODataParserBase;\n}());\nexports.ODataParserBase = ODataParserBase;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/odata/core.js\n// module id = 13\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar items_1 = require(\"./items\");\nvar views_1 = require(\"./views\");\nvar contenttypes_1 = require(\"./contenttypes\");\nvar fields_1 = require(\"./fields\");\nvar forms_1 = require(\"./forms\");\nvar subscriptions_1 = require(\"./subscriptions\");\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar sharepointqueryablesecurable_1 = require(\"./sharepointqueryablesecurable\");\nvar util_1 = require(\"../utils/util\");\nvar usercustomactions_1 = require(\"./usercustomactions\");\nvar odata_1 = require(\"./odata\");\nvar exceptions_1 = require(\"../utils/exceptions\");\nvar folders_1 = require(\"./folders\");\n/**\n * Describes a collection of List objects\n *\n */\nvar Lists = /** @class */ (function (_super) {\n __extends(Lists, _super);\n /**\n * Creates a new instance of the Lists class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function Lists(baseUrl, path) {\n if (path === void 0) { path = \"lists\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a list from the collection by title\n *\n * @param title The title of the list\n */\n Lists.prototype.getByTitle = function (title) {\n return new List(this, \"getByTitle('\" + title + \"')\");\n };\n /**\n * Gets a list from the collection by guid id\n *\n * @param id The Id of the list (GUID)\n */\n Lists.prototype.getById = function (id) {\n var list = new List(this);\n list.concat(\"('\" + id + \"')\");\n return list;\n };\n /**\n * Adds a new list to the collection\n *\n * @param title The new list's title\n * @param description The new list's description\n * @param template The list template value\n * @param enableContentTypes If true content types will be allowed and enabled, otherwise they will be disallowed and not enabled\n * @param additionalSettings Will be passed as part of the list creation body\n */\n Lists.prototype.add = function (title, description, template, enableContentTypes, additionalSettings) {\n var _this = this;\n if (description === void 0) { description = \"\"; }\n if (template === void 0) { template = 100; }\n if (enableContentTypes === void 0) { enableContentTypes = false; }\n if (additionalSettings === void 0) { additionalSettings = {}; }\n var addSettings = util_1.Util.extend({\n \"AllowContentTypes\": enableContentTypes,\n \"BaseTemplate\": template,\n \"ContentTypesEnabled\": enableContentTypes,\n \"Description\": description,\n \"Title\": title,\n \"__metadata\": { \"type\": \"SP.List\" },\n }, additionalSettings);\n return this.postCore({ body: JSON.stringify(addSettings) }).then(function (data) {\n return { data: data, list: _this.getByTitle(addSettings.Title) };\n });\n };\n /**\n * Ensures that the specified list exists in the collection (note: this method not supported for batching)\n *\n * @param title The new list's title\n * @param description The new list's description\n * @param template The list template value\n * @param enableContentTypes If true content types will be allowed and enabled, otherwise they will be disallowed and not enabled\n * @param additionalSettings Will be passed as part of the list creation body or used to update an existing list\n */\n Lists.prototype.ensure = function (title, description, template, enableContentTypes, additionalSettings) {\n var _this = this;\n if (description === void 0) { description = \"\"; }\n if (template === void 0) { template = 100; }\n if (enableContentTypes === void 0) { enableContentTypes = false; }\n if (additionalSettings === void 0) { additionalSettings = {}; }\n if (this.hasBatch) {\n throw new exceptions_1.NotSupportedInBatchException(\"The ensure list method\");\n }\n return new Promise(function (resolve, reject) {\n var addOrUpdateSettings = util_1.Util.extend(additionalSettings, { Title: title, Description: description, ContentTypesEnabled: enableContentTypes }, true);\n var list = _this.getByTitle(addOrUpdateSettings.Title);\n list.get().then(function (_) {\n list.update(addOrUpdateSettings).then(function (d) {\n resolve({ created: false, data: d, list: _this.getByTitle(addOrUpdateSettings.Title) });\n }).catch(function (e) { return reject(e); });\n }).catch(function (_) {\n _this.add(title, description, template, enableContentTypes, addOrUpdateSettings).then(function (r) {\n resolve({ created: true, data: r.data, list: _this.getByTitle(addOrUpdateSettings.Title) });\n }).catch(function (e) { return reject(e); });\n });\n });\n };\n /**\n * Gets a list that is the default asset location for images or other files, which the users upload to their wiki pages.\n */\n Lists.prototype.ensureSiteAssetsLibrary = function () {\n return this.clone(Lists, \"ensuresiteassetslibrary\").postCore().then(function (json) {\n return new List(odata_1.spExtractODataId(json));\n });\n };\n /**\n * Gets a list that is the default location for wiki pages.\n */\n Lists.prototype.ensureSitePagesLibrary = function () {\n return this.clone(Lists, \"ensuresitepageslibrary\").postCore().then(function (json) {\n return new List(odata_1.spExtractODataId(json));\n });\n };\n return Lists;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Lists = Lists;\n/**\n * Describes a single List instance\n *\n */\nvar List = /** @class */ (function (_super) {\n __extends(List, _super);\n function List() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(List.prototype, \"contentTypes\", {\n /**\n * Gets the content types in this list\n *\n */\n get: function () {\n return new contenttypes_1.ContentTypes(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"items\", {\n /**\n * Gets the items in this list\n *\n */\n get: function () {\n return new items_1.Items(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"views\", {\n /**\n * Gets the views in this list\n *\n */\n get: function () {\n return new views_1.Views(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"fields\", {\n /**\n * Gets the fields in this list\n *\n */\n get: function () {\n return new fields_1.Fields(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"forms\", {\n /**\n * Gets the forms in this list\n *\n */\n get: function () {\n return new forms_1.Forms(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"defaultView\", {\n /**\n * Gets the default view of this list\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableInstance(this, \"DefaultView\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"userCustomActions\", {\n /**\n * Get all custom actions on a site collection\n *\n */\n get: function () {\n return new usercustomactions_1.UserCustomActions(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"effectiveBasePermissions\", {\n /**\n * Gets the effective base permissions of this list\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryable(this, \"EffectiveBasePermissions\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"eventReceivers\", {\n /**\n * Gets the event receivers attached to this list\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"EventReceivers\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"relatedFields\", {\n /**\n * Gets the related fields of this list\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryable(this, \"getRelatedFields\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"informationRightsManagementSettings\", {\n /**\n * Gets the IRM settings for this list\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryable(this, \"InformationRightsManagementSettings\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"subscriptions\", {\n /**\n * Gets the webhook subscriptions of this list\n *\n */\n get: function () {\n return new subscriptions_1.Subscriptions(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(List.prototype, \"rootFolder\", {\n /**\n * The root folder of the list\n */\n get: function () {\n return new folders_1.Folder(this, \"rootFolder\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets a view by view guid id\n *\n */\n List.prototype.getView = function (viewId) {\n return new views_1.View(this, \"getView('\" + viewId + \"')\");\n };\n /**\n * Updates this list intance with the supplied properties\n *\n * @param properties A plain object hash of values to update for the list\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n /* tslint:disable no-string-literal */\n List.prototype.update = function (properties, eTag) {\n var _this = this;\n if (eTag === void 0) { eTag = \"*\"; }\n var postBody = JSON.stringify(util_1.Util.extend({\n \"__metadata\": { \"type\": \"SP.List\" },\n }, properties));\n return this.postCore({\n body: postBody,\n headers: {\n \"IF-Match\": eTag,\n \"X-HTTP-Method\": \"MERGE\",\n },\n }).then(function (data) {\n var retList = _this;\n if (properties.hasOwnProperty(\"Title\")) {\n retList = _this.getParent(List, _this.parentUrl, \"getByTitle('\" + properties[\"Title\"] + \"')\");\n }\n return {\n data: data,\n list: retList,\n };\n });\n };\n /* tslint:enable */\n /**\n * Delete this list\n *\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n List.prototype.delete = function (eTag) {\n if (eTag === void 0) { eTag = \"*\"; }\n return this.postCore({\n headers: {\n \"IF-Match\": eTag,\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n /**\n * Returns the collection of changes from the change log that have occurred within the list, based on the specified query.\n */\n List.prototype.getChanges = function (query) {\n return this.clone(List, \"getchanges\").postCore({\n body: JSON.stringify({ \"query\": util_1.Util.extend({ \"__metadata\": { \"type\": \"SP.ChangeQuery\" } }, query) }),\n });\n };\n /**\n * Returns a collection of items from the list based on the specified query.\n *\n * @param CamlQuery The Query schema of Collaborative Application Markup\n * Language (CAML) is used in various ways within the context of Microsoft SharePoint Foundation\n * to define queries against list data.\n * see:\n *\n * https://msdn.microsoft.com/en-us/library/office/ms467521.aspx\n *\n * @param expands A URI with a $expand System Query Option indicates that Entries associated with\n * the Entry or Collection of Entries identified by the Resource Path\n * section of the URI must be represented inline (i.e. eagerly loaded).\n * see:\n *\n * https://msdn.microsoft.com/en-us/library/office/fp142385.aspx\n *\n * http://www.odata.org/documentation/odata-version-2-0/uri-conventions/#ExpandSystemQueryOption\n */\n List.prototype.getItemsByCAMLQuery = function (query) {\n var expands = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n expands[_i - 1] = arguments[_i];\n }\n var q = this.clone(List, \"getitems\");\n return q.expand.apply(q, expands).postCore({\n body: JSON.stringify({ \"query\": util_1.Util.extend({ \"__metadata\": { \"type\": \"SP.CamlQuery\" } }, query) }),\n });\n };\n /**\n * See: https://msdn.microsoft.com/en-us/library/office/dn292554.aspx\n */\n List.prototype.getListItemChangesSinceToken = function (query) {\n return this.clone(List, \"getlistitemchangessincetoken\").postCore({\n body: JSON.stringify({ \"query\": util_1.Util.extend({ \"__metadata\": { \"type\": \"SP.ChangeLogItemQuery\" } }, query) }),\n }, { parse: function (r) { return r.text(); } });\n };\n /**\n * Moves the list to the Recycle Bin and returns the identifier of the new Recycle Bin item.\n */\n List.prototype.recycle = function () {\n return this.clone(List, \"recycle\").postCore().then(function (data) {\n if (data.hasOwnProperty(\"Recycle\")) {\n return data.Recycle;\n }\n else {\n return data;\n }\n });\n };\n /**\n * Renders list data based on the view xml provided\n */\n List.prototype.renderListData = function (viewXml) {\n var q = this.clone(List, \"renderlistdata(@viewXml)\");\n q.query.add(\"@viewXml\", \"'\" + viewXml + \"'\");\n return q.postCore().then(function (data) {\n if (data.hasOwnProperty(\"RenderListData\")) {\n return JSON.parse(data.RenderListData);\n }\n return JSON.parse(data);\n });\n };\n /**\n * Returns the data for the specified query view\n *\n * @param parameters The parameters to be used to render list data as JSON string.\n * @param overrideParameters The parameters that are used to override and extend the regular SPRenderListDataParameters.\n */\n List.prototype.renderListDataAsStream = function (parameters, overrideParameters) {\n if (overrideParameters === void 0) { overrideParameters = null; }\n var postBody = {\n overrideParameters: util_1.Util.extend({\n \"__metadata\": { \"type\": \"SP.RenderListDataOverrideParameters\" },\n }, overrideParameters),\n parameters: util_1.Util.extend({\n \"__metadata\": { \"type\": \"SP.RenderListDataParameters\" },\n }, parameters),\n };\n return this.clone(List, \"RenderListDataAsStream\", true).postCore({\n body: JSON.stringify(postBody),\n });\n };\n /**\n * Gets the field values and field schema attributes for a list item.\n */\n List.prototype.renderListFormData = function (itemId, formId, mode) {\n return this.clone(List, \"renderlistformdata(itemid=\" + itemId + \", formid='\" + formId + \"', mode='\" + mode + \"')\").postCore().then(function (data) {\n // data will be a string, so we parse it again\n data = JSON.parse(data);\n if (data.hasOwnProperty(\"ListData\")) {\n return data.ListData;\n }\n else {\n return data;\n }\n });\n };\n /**\n * Reserves a list item ID for idempotent list item creation.\n */\n List.prototype.reserveListItemId = function () {\n return this.clone(List, \"reservelistitemid\").postCore().then(function (data) {\n if (data.hasOwnProperty(\"ReserveListItemId\")) {\n return data.ReserveListItemId;\n }\n else {\n return data;\n }\n });\n };\n /**\n * Returns the ListItemEntityTypeFullName for this list, used when adding/updating list items. Does not support batching.\n *\n */\n List.prototype.getListItemEntityTypeFullName = function () {\n return this.clone(List, null, false).select(\"ListItemEntityTypeFullName\").getAs().then(function (o) { return o.ListItemEntityTypeFullName; });\n };\n return List;\n}(sharepointqueryablesecurable_1.SharePointQueryableSecurable));\nexports.List = List;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/lists.js\n// module id = 14\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar sharepointqueryableshareable_1 = require(\"./sharepointqueryableshareable\");\nvar folders_1 = require(\"./folders\");\nvar files_1 = require(\"./files\");\nvar contenttypes_1 = require(\"./contenttypes\");\nvar util_1 = require(\"../utils/util\");\nvar core_1 = require(\"../odata/core\");\nvar attachmentfiles_1 = require(\"./attachmentfiles\");\nvar lists_1 = require(\"./lists\");\n/**\n * Describes a collection of Item objects\n *\n */\nvar Items = /** @class */ (function (_super) {\n __extends(Items, _super);\n /**\n * Creates a new instance of the Items class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function Items(baseUrl, path) {\n if (path === void 0) { path = \"items\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets an Item by id\n *\n * @param id The integer id of the item to retrieve\n */\n Items.prototype.getById = function (id) {\n var i = new Item(this);\n i.concat(\"(\" + id + \")\");\n return i;\n };\n /**\n * Gets BCS Item by string id\n *\n * @param stringId The string id of the BCS item to retrieve\n */\n Items.prototype.getItemByStringId = function (stringId) {\n var i = new Item(this);\n i.concat(\"/../getItemByStringId('\" + stringId + \"')\");\n return i;\n };\n /**\n * Skips the specified number of items (https://msdn.microsoft.com/en-us/library/office/fp142385.aspx#sectionSection6)\n *\n * @param skip The starting id where the page should start, use with top to specify pages\n */\n Items.prototype.skip = function (skip) {\n this._query.add(\"$skiptoken\", encodeURIComponent(\"Paged=TRUE&p_ID=\" + skip));\n return this;\n };\n /**\n * Gets a collection designed to aid in paging through data\n *\n */\n Items.prototype.getPaged = function () {\n return this.getAs(new PagedItemCollectionParser());\n };\n //\n /**\n * Adds a new item to the collection\n *\n * @param properties The new items's properties\n */\n Items.prototype.add = function (properties, listItemEntityTypeFullName) {\n var _this = this;\n if (properties === void 0) { properties = {}; }\n if (listItemEntityTypeFullName === void 0) { listItemEntityTypeFullName = null; }\n var removeDependency = this.addBatchDependency();\n return this.ensureListItemEntityTypeName(listItemEntityTypeFullName).then(function (listItemEntityType) {\n var postBody = JSON.stringify(util_1.Util.extend({\n \"__metadata\": { \"type\": listItemEntityType },\n }, properties));\n var promise = _this.clone(Items, null).postAsCore({ body: postBody }).then(function (data) {\n return {\n data: data,\n item: _this.getById(data.Id),\n };\n });\n removeDependency();\n return promise;\n });\n };\n /**\n * Ensures we have the proper list item entity type name, either from the value provided or from the list\n *\n * @param candidatelistItemEntityTypeFullName The potential type name\n */\n Items.prototype.ensureListItemEntityTypeName = function (candidatelistItemEntityTypeFullName) {\n return candidatelistItemEntityTypeFullName ?\n Promise.resolve(candidatelistItemEntityTypeFullName) :\n this.getParent(lists_1.List).getListItemEntityTypeFullName();\n };\n return Items;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Items = Items;\n/**\n * Descrines a single Item instance\n *\n */\nvar Item = /** @class */ (function (_super) {\n __extends(Item, _super);\n function Item() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Item.prototype, \"attachmentFiles\", {\n /**\n * Gets the set of attachments for this item\n *\n */\n get: function () {\n return new attachmentfiles_1.AttachmentFiles(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Item.prototype, \"contentType\", {\n /**\n * Gets the content type for this item\n *\n */\n get: function () {\n return new contenttypes_1.ContentType(this, \"ContentType\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Item.prototype, \"effectiveBasePermissions\", {\n /**\n * Gets the effective base permissions for the item\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryable(this, \"EffectiveBasePermissions\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Item.prototype, \"effectiveBasePermissionsForUI\", {\n /**\n * Gets the effective base permissions for the item in a UI context\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryable(this, \"EffectiveBasePermissionsForUI\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Item.prototype, \"fieldValuesAsHTML\", {\n /**\n * Gets the field values for this list item in their HTML representation\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableInstance(this, \"FieldValuesAsHTML\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Item.prototype, \"fieldValuesAsText\", {\n /**\n * Gets the field values for this list item in their text representation\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableInstance(this, \"FieldValuesAsText\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Item.prototype, \"fieldValuesForEdit\", {\n /**\n * Gets the field values for this list item for use in editing controls\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableInstance(this, \"FieldValuesForEdit\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Item.prototype, \"folder\", {\n /**\n * Gets the folder associated with this list item (if this item represents a folder)\n *\n */\n get: function () {\n return new folders_1.Folder(this, \"folder\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Item.prototype, \"file\", {\n /**\n * Gets the folder associated with this list item (if this item represents a folder)\n *\n */\n get: function () {\n return new files_1.File(this, \"file\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Item.prototype, \"versions\", {\n /**\n * Gets the collection of versions associated with this item\n */\n get: function () {\n return new ItemVersions(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Updates this list intance with the supplied properties\n *\n * @param properties A plain object hash of values to update for the list\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n Item.prototype.update = function (properties, eTag, listItemEntityTypeFullName) {\n var _this = this;\n if (eTag === void 0) { eTag = \"*\"; }\n if (listItemEntityTypeFullName === void 0) { listItemEntityTypeFullName = null; }\n return new Promise(function (resolve, reject) {\n var removeDependency = _this.addBatchDependency();\n return _this.ensureListItemEntityTypeName(listItemEntityTypeFullName).then(function (listItemEntityType) {\n var postBody = JSON.stringify(util_1.Util.extend({\n \"__metadata\": { \"type\": listItemEntityType },\n }, properties));\n removeDependency();\n return _this.postCore({\n body: postBody,\n headers: {\n \"IF-Match\": eTag,\n \"X-HTTP-Method\": \"MERGE\",\n },\n }, new ItemUpdatedParser()).then(function (data) {\n resolve({\n data: data,\n item: _this,\n });\n });\n }).catch(function (e) { return reject(e); });\n });\n };\n /**\n * Delete this item\n *\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n Item.prototype.delete = function (eTag) {\n if (eTag === void 0) { eTag = \"*\"; }\n return this.postCore({\n headers: {\n \"IF-Match\": eTag,\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n /**\n * Moves the list item to the Recycle Bin and returns the identifier of the new Recycle Bin item.\n */\n Item.prototype.recycle = function () {\n return this.clone(Item, \"recycle\").postCore();\n };\n /**\n * Gets a string representation of the full URL to the WOPI frame.\n * If there is no associated WOPI application, or no associated action, an empty string is returned.\n *\n * @param action Display mode: 0: view, 1: edit, 2: mobileView, 3: interactivePreview\n */\n Item.prototype.getWopiFrameUrl = function (action) {\n if (action === void 0) { action = 0; }\n var i = this.clone(Item, \"getWOPIFrameUrl(@action)\");\n i._query.add(\"@action\", action);\n return i.postCore().then(function (data) {\n // handle verbose mode\n if (data.hasOwnProperty(\"GetWOPIFrameUrl\")) {\n return data.GetWOPIFrameUrl;\n }\n return data;\n });\n };\n /**\n * Validates and sets the values of the specified collection of fields for the list item.\n *\n * @param formValues The fields to change and their new values.\n * @param newDocumentUpdate true if the list item is a document being updated after upload; otherwise false.\n */\n Item.prototype.validateUpdateListItem = function (formValues, newDocumentUpdate) {\n if (newDocumentUpdate === void 0) { newDocumentUpdate = false; }\n return this.clone(Item, \"validateupdatelistitem\").postCore({\n body: JSON.stringify({ \"formValues\": formValues, bNewDocumentUpdate: newDocumentUpdate }),\n });\n };\n /**\n * Ensures we have the proper list item entity type name, either from the value provided or from the list\n *\n * @param candidatelistItemEntityTypeFullName The potential type name\n */\n Item.prototype.ensureListItemEntityTypeName = function (candidatelistItemEntityTypeFullName) {\n return candidatelistItemEntityTypeFullName ?\n Promise.resolve(candidatelistItemEntityTypeFullName) :\n this.getParent(lists_1.List, this.parentUrl.substr(0, this.parentUrl.lastIndexOf(\"/\"))).getListItemEntityTypeFullName();\n };\n return Item;\n}(sharepointqueryableshareable_1.SharePointQueryableShareableItem));\nexports.Item = Item;\n/**\n * Provides paging functionality for list items\n */\nvar PagedItemCollection = /** @class */ (function () {\n function PagedItemCollection(nextUrl, results) {\n this.nextUrl = nextUrl;\n this.results = results;\n }\n Object.defineProperty(PagedItemCollection.prototype, \"hasNext\", {\n /**\n * If true there are more results available in the set, otherwise there are not\n */\n get: function () {\n return typeof this.nextUrl === \"string\" && this.nextUrl.length > 0;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the next set of results, or resolves to null if no results are available\n */\n PagedItemCollection.prototype.getNext = function () {\n if (this.hasNext) {\n var items = new Items(this.nextUrl, null);\n return items.getPaged();\n }\n return new Promise(function (r) { return r(null); });\n };\n return PagedItemCollection;\n}());\nexports.PagedItemCollection = PagedItemCollection;\n/**\n * Describes a collection of Version objects\n *\n */\nvar ItemVersions = /** @class */ (function (_super) {\n __extends(ItemVersions, _super);\n /**\n * Creates a new instance of the File class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function ItemVersions(baseUrl, path) {\n if (path === void 0) { path = \"versions\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a version by id\n *\n * @param versionId The id of the version to retrieve\n */\n ItemVersions.prototype.getById = function (versionId) {\n var v = new ItemVersion(this);\n v.concat(\"(\" + versionId + \")\");\n return v;\n };\n return ItemVersions;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.ItemVersions = ItemVersions;\n/**\n * Describes a single Version instance\n *\n */\nvar ItemVersion = /** @class */ (function (_super) {\n __extends(ItemVersion, _super);\n function ItemVersion() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Delete a specific version of a file.\n *\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n ItemVersion.prototype.delete = function () {\n return this.postCore({\n headers: {\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n return ItemVersion;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.ItemVersion = ItemVersion;\nvar PagedItemCollectionParser = /** @class */ (function (_super) {\n __extends(PagedItemCollectionParser, _super);\n function PagedItemCollectionParser() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PagedItemCollectionParser.prototype.parse = function (r) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n if (_this.handleError(r, reject)) {\n r.json().then(function (json) {\n var nextUrl = json.hasOwnProperty(\"d\") && json.d.hasOwnProperty(\"__next\") ? json.d.__next : json[\"odata.nextLink\"];\n resolve(new PagedItemCollection(nextUrl, _this.parseODataJSON(json)));\n });\n }\n });\n };\n return PagedItemCollectionParser;\n}(core_1.ODataParserBase));\nvar ItemUpdatedParser = /** @class */ (function (_super) {\n __extends(ItemUpdatedParser, _super);\n function ItemUpdatedParser() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ItemUpdatedParser.prototype.parse = function (r) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n if (_this.handleError(r, reject)) {\n resolve({\n \"odata.etag\": r.headers.get(\"etag\"),\n });\n }\n });\n };\n return ItemUpdatedParser;\n}(core_1.ODataParserBase));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/items.js\n// module id = 15\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nvar webs_1 = require(\"./webs\");\nvar odata_1 = require(\"./odata\");\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar sharepointqueryablesecurable_1 = require(\"./sharepointqueryablesecurable\");\nvar types_1 = require(\"./types\");\n/**\n * Internal helper class used to augment classes to include sharing functionality\n */\nvar SharePointQueryableShareable = /** @class */ (function (_super) {\n __extends(SharePointQueryableShareable, _super);\n function SharePointQueryableShareable() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Gets a sharing link for the supplied\n *\n * @param kind The kind of link to share\n * @param expiration The optional expiration for this link\n */\n SharePointQueryableShareable.prototype.getShareLink = function (kind, expiration) {\n if (expiration === void 0) { expiration = null; }\n // date needs to be an ISO string or null\n var expString = expiration !== null ? expiration.toISOString() : null;\n // clone using the factory and send the request\n return this.clone(SharePointQueryableShareable, \"shareLink\").postAsCore({\n body: JSON.stringify({\n request: {\n createLink: true,\n emailData: null,\n settings: {\n expiration: expString,\n linkKind: kind,\n },\n },\n }),\n });\n };\n /**\n * Shares this instance with the supplied users\n *\n * @param loginNames Resolved login names to share\n * @param role The role\n * @param requireSignin True to require the user is authenticated, otherwise false\n * @param propagateAcl True to apply this share to all children\n * @param emailData If supplied an email will be sent with the indicated properties\n */\n SharePointQueryableShareable.prototype.shareWith = function (loginNames, role, requireSignin, propagateAcl, emailData) {\n var _this = this;\n if (requireSignin === void 0) { requireSignin = false; }\n if (propagateAcl === void 0) { propagateAcl = false; }\n // handle the multiple input types\n if (!Array.isArray(loginNames)) {\n loginNames = [loginNames];\n }\n var userStr = JSON.stringify(loginNames.map(function (login) { return { Key: login }; }));\n var roleFilter = role === types_1.SharingRole.Edit ? types_1.RoleType.Contributor : types_1.RoleType.Reader;\n // start by looking up the role definition id we need to set the roleValue\n return webs_1.Web.fromUrl(this.toUrl()).roleDefinitions.select(\"Id\").filter(\"RoleTypeKind eq \" + roleFilter).get().then(function (def) {\n if (!Array.isArray(def) || def.length < 1) {\n throw new Error(\"Could not locate a role defintion with RoleTypeKind \" + roleFilter);\n }\n var postBody = {\n includeAnonymousLinkInEmail: requireSignin,\n peoplePickerInput: userStr,\n propagateAcl: propagateAcl,\n roleValue: \"role:\" + def[0].Id,\n useSimplifiedRoles: true,\n };\n if (typeof emailData !== \"undefined\") {\n postBody = util_1.Util.extend(postBody, {\n emailBody: emailData.body,\n emailSubject: typeof emailData.subject !== \"undefined\" ? emailData.subject : \"\",\n sendEmail: true,\n });\n }\n return _this.clone(SharePointQueryableShareable, \"shareObject\").postAsCore({\n body: JSON.stringify(postBody),\n });\n });\n };\n /**\n * Shares an object based on the supplied options\n *\n * @param options The set of options to send to the ShareObject method\n * @param bypass If true any processing is skipped and the options are sent directly to the ShareObject method\n */\n SharePointQueryableShareable.prototype.shareObject = function (options, bypass) {\n var _this = this;\n if (bypass === void 0) { bypass = false; }\n if (bypass) {\n // if the bypass flag is set send the supplied parameters directly to the service\n return this.sendShareObjectRequest(options);\n }\n // extend our options with some defaults\n options = util_1.Util.extend(options, {\n group: null,\n includeAnonymousLinkInEmail: false,\n propagateAcl: false,\n useSimplifiedRoles: true,\n }, true);\n return this.getRoleValue(options.role, options.group).then(function (roleValue) {\n // handle the multiple input types\n if (!Array.isArray(options.loginNames)) {\n options.loginNames = [options.loginNames];\n }\n var userStr = JSON.stringify(options.loginNames.map(function (login) { return { Key: login }; }));\n var postBody = {\n peoplePickerInput: userStr,\n roleValue: roleValue,\n url: options.url,\n };\n if (typeof options.emailData !== \"undefined\" && options.emailData !== null) {\n postBody = util_1.Util.extend(postBody, {\n emailBody: options.emailData.body,\n emailSubject: typeof options.emailData.subject !== \"undefined\" ? options.emailData.subject : \"Shared with you.\",\n sendEmail: true,\n });\n }\n return _this.sendShareObjectRequest(postBody);\n });\n };\n /**\n * Calls the web's UnshareObject method\n *\n * @param url The url of the object to unshare\n */\n SharePointQueryableShareable.prototype.unshareObjectWeb = function (url) {\n return this.clone(SharePointQueryableShareable, \"unshareObject\").postAsCore({\n body: JSON.stringify({\n url: url,\n }),\n });\n };\n /**\n * Checks Permissions on the list of Users and returns back role the users have on the Item.\n *\n * @param recipients The array of Entities for which Permissions need to be checked.\n */\n SharePointQueryableShareable.prototype.checkPermissions = function (recipients) {\n return this.clone(SharePointQueryableShareable, \"checkPermissions\").postAsCore({\n body: JSON.stringify({\n recipients: recipients,\n }),\n });\n };\n /**\n * Get Sharing Information.\n *\n * @param request The SharingInformationRequest Object.\n */\n SharePointQueryableShareable.prototype.getSharingInformation = function (request) {\n if (request === void 0) { request = null; }\n return this.clone(SharePointQueryableShareable, \"getSharingInformation\").postAsCore({\n body: JSON.stringify({\n request: request,\n }),\n });\n };\n /**\n * Gets the sharing settings of an item.\n *\n * @param useSimplifiedRoles Determines whether to use simplified roles.\n */\n SharePointQueryableShareable.prototype.getObjectSharingSettings = function (useSimplifiedRoles) {\n if (useSimplifiedRoles === void 0) { useSimplifiedRoles = true; }\n return this.clone(SharePointQueryableShareable, \"getObjectSharingSettings\").postAsCore({\n body: JSON.stringify({\n useSimplifiedRoles: useSimplifiedRoles,\n }),\n });\n };\n /**\n * Unshares this object\n */\n SharePointQueryableShareable.prototype.unshareObject = function () {\n return this.clone(SharePointQueryableShareable, \"unshareObject\").postAsCore();\n };\n /**\n * Deletes a link by type\n *\n * @param kind Deletes a sharing link by the kind of link\n */\n SharePointQueryableShareable.prototype.deleteLinkByKind = function (kind) {\n return this.clone(SharePointQueryableShareable, \"deleteLinkByKind\").postCore({\n body: JSON.stringify({ linkKind: kind }),\n });\n };\n /**\n * Removes the specified link to the item.\n *\n * @param kind The kind of link to be deleted.\n * @param shareId\n */\n SharePointQueryableShareable.prototype.unshareLink = function (kind, shareId) {\n if (shareId === void 0) { shareId = \"00000000-0000-0000-0000-000000000000\"; }\n return this.clone(SharePointQueryableShareable, \"unshareLink\").postCore({\n body: JSON.stringify({ linkKind: kind, shareId: shareId }),\n });\n };\n /**\n * Calculates the roleValue string used in the sharing query\n *\n * @param role The Sharing Role\n * @param group The Group type\n */\n SharePointQueryableShareable.prototype.getRoleValue = function (role, group) {\n // we will give group precedence, because we had to make a choice\n if (typeof group !== \"undefined\" && group !== null) {\n switch (group) {\n case types_1.RoleType.Contributor:\n return webs_1.Web.fromUrl(this.toUrl()).associatedMemberGroup.select(\"Id\").getAs().then(function (g) { return \"group: \" + g.Id; });\n case types_1.RoleType.Reader:\n case types_1.RoleType.Guest:\n return webs_1.Web.fromUrl(this.toUrl()).associatedVisitorGroup.select(\"Id\").getAs().then(function (g) { return \"group: \" + g.Id; });\n default:\n throw new Error(\"Could not determine role value for supplied value. Contributor, Reader, and Guest are supported\");\n }\n }\n else {\n var roleFilter = role === types_1.SharingRole.Edit ? types_1.RoleType.Contributor : types_1.RoleType.Reader;\n return webs_1.Web.fromUrl(this.toUrl()).roleDefinitions.select(\"Id\").top(1).filter(\"RoleTypeKind eq \" + roleFilter).getAs().then(function (def) {\n if (def.length < 1) {\n throw new Error(\"Could not locate associated role definition for supplied role. Edit and View are supported\");\n }\n return \"role: \" + def[0].Id;\n });\n }\n };\n SharePointQueryableShareable.prototype.getShareObjectWeb = function (candidate) {\n return Promise.resolve(webs_1.Web.fromUrl(candidate, \"/_api/SP.Web.ShareObject\"));\n };\n SharePointQueryableShareable.prototype.sendShareObjectRequest = function (options) {\n return this.getShareObjectWeb(this.toUrl()).then(function (web) {\n return web.expand(\"UsersWithAccessRequests\", \"GroupsSharedWith\").as(SharePointQueryableShareable).postCore({\n body: JSON.stringify(options),\n });\n });\n };\n return SharePointQueryableShareable;\n}(sharepointqueryable_1.SharePointQueryable));\nexports.SharePointQueryableShareable = SharePointQueryableShareable;\nvar SharePointQueryableShareableWeb = /** @class */ (function (_super) {\n __extends(SharePointQueryableShareableWeb, _super);\n function SharePointQueryableShareableWeb() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Shares this web with the supplied users\n * @param loginNames The resolved login names to share\n * @param role The role to share this web\n * @param emailData Optional email data\n */\n SharePointQueryableShareableWeb.prototype.shareWith = function (loginNames, role, emailData) {\n var _this = this;\n if (role === void 0) { role = types_1.SharingRole.View; }\n var dependency = this.addBatchDependency();\n return webs_1.Web.fromUrl(this.toUrl(), \"/_api/web/url\").get().then(function (url) {\n dependency();\n return _this.shareObject(util_1.Util.combinePaths(url, \"/_layouts/15/aclinv.aspx?forSharing=1&mbypass=1\"), loginNames, role, emailData);\n });\n };\n /**\n * Provides direct access to the static web.ShareObject method\n *\n * @param url The url to share\n * @param loginNames Resolved loginnames string[] of a single login name string\n * @param roleValue Role value\n * @param emailData Optional email data\n * @param groupId Optional group id\n * @param propagateAcl\n * @param includeAnonymousLinkInEmail\n * @param useSimplifiedRoles\n */\n SharePointQueryableShareableWeb.prototype.shareObject = function (url, loginNames, role, emailData, group, propagateAcl, includeAnonymousLinkInEmail, useSimplifiedRoles) {\n if (propagateAcl === void 0) { propagateAcl = false; }\n if (includeAnonymousLinkInEmail === void 0) { includeAnonymousLinkInEmail = false; }\n if (useSimplifiedRoles === void 0) { useSimplifiedRoles = true; }\n return this.clone(SharePointQueryableShareable, null).shareObject({\n emailData: emailData,\n group: group,\n includeAnonymousLinkInEmail: includeAnonymousLinkInEmail,\n loginNames: loginNames,\n propagateAcl: propagateAcl,\n role: role,\n url: url,\n useSimplifiedRoles: useSimplifiedRoles,\n });\n };\n /**\n * Supplies a method to pass any set of arguments to ShareObject\n *\n * @param options The set of options to send to ShareObject\n */\n SharePointQueryableShareableWeb.prototype.shareObjectRaw = function (options) {\n return this.clone(SharePointQueryableShareable, null).shareObject(options, true);\n };\n /**\n * Unshares the object\n *\n * @param url The url of the object to stop sharing\n */\n SharePointQueryableShareableWeb.prototype.unshareObject = function (url) {\n return this.clone(SharePointQueryableShareable, null).unshareObjectWeb(url);\n };\n return SharePointQueryableShareableWeb;\n}(sharepointqueryablesecurable_1.SharePointQueryableSecurable));\nexports.SharePointQueryableShareableWeb = SharePointQueryableShareableWeb;\nvar SharePointQueryableShareableItem = /** @class */ (function (_super) {\n __extends(SharePointQueryableShareableItem, _super);\n function SharePointQueryableShareableItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Gets a link suitable for sharing for this item\n *\n * @param kind The type of link to share\n * @param expiration The optional expiration date\n */\n SharePointQueryableShareableItem.prototype.getShareLink = function (kind, expiration) {\n if (kind === void 0) { kind = types_1.SharingLinkKind.OrganizationView; }\n if (expiration === void 0) { expiration = null; }\n return this.clone(SharePointQueryableShareable, null).getShareLink(kind, expiration);\n };\n /**\n * Shares this item with one or more users\n *\n * @param loginNames string or string[] of resolved login names to which this item will be shared\n * @param role The role (View | Edit) applied to the share\n * @param emailData Optional, if inlucded an email will be sent. Note subject currently has no effect.\n */\n SharePointQueryableShareableItem.prototype.shareWith = function (loginNames, role, requireSignin, emailData) {\n if (role === void 0) { role = types_1.SharingRole.View; }\n if (requireSignin === void 0) { requireSignin = false; }\n return this.clone(SharePointQueryableShareable, null).shareWith(loginNames, role, requireSignin, false, emailData);\n };\n /**\n * Checks Permissions on the list of Users and returns back role the users have on the Item.\n *\n * @param recipients The array of Entities for which Permissions need to be checked.\n */\n SharePointQueryableShareableItem.prototype.checkSharingPermissions = function (recipients) {\n return this.clone(SharePointQueryableShareable, null).checkPermissions(recipients);\n };\n /**\n * Get Sharing Information.\n *\n * @param request The SharingInformationRequest Object.\n */\n SharePointQueryableShareableItem.prototype.getSharingInformation = function (request) {\n if (request === void 0) { request = null; }\n return this.clone(SharePointQueryableShareable, null).getSharingInformation(request);\n };\n /**\n * Gets the sharing settings of an item.\n *\n * @param useSimplifiedRoles Determines whether to use simplified roles.\n */\n SharePointQueryableShareableItem.prototype.getObjectSharingSettings = function (useSimplifiedRoles) {\n if (useSimplifiedRoles === void 0) { useSimplifiedRoles = true; }\n return this.clone(SharePointQueryableShareable, null).getObjectSharingSettings(useSimplifiedRoles);\n };\n /**\n * Unshare this item\n */\n SharePointQueryableShareableItem.prototype.unshare = function () {\n return this.clone(SharePointQueryableShareable, null).unshareObject();\n };\n /**\n * Deletes a sharing link by kind\n *\n * @param kind Deletes a sharing link by the kind of link\n */\n SharePointQueryableShareableItem.prototype.deleteSharingLinkByKind = function (kind) {\n return this.clone(SharePointQueryableShareable, null).deleteLinkByKind(kind);\n };\n /**\n * Removes the specified link to the item.\n *\n * @param kind The kind of link to be deleted.\n * @param shareId\n */\n SharePointQueryableShareableItem.prototype.unshareLink = function (kind, shareId) {\n return this.clone(SharePointQueryableShareable, null).unshareLink(kind, shareId);\n };\n return SharePointQueryableShareableItem;\n}(sharepointqueryablesecurable_1.SharePointQueryableSecurable));\nexports.SharePointQueryableShareableItem = SharePointQueryableShareableItem;\nvar FileFolderShared = /** @class */ (function (_super) {\n __extends(FileFolderShared, _super);\n function FileFolderShared() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Gets a link suitable for sharing\n *\n * @param kind The kind of link to get\n * @param expiration Optional, an expiration for this link\n */\n FileFolderShared.prototype.getShareLink = function (kind, expiration) {\n if (kind === void 0) { kind = types_1.SharingLinkKind.OrganizationView; }\n if (expiration === void 0) { expiration = null; }\n var dependency = this.addBatchDependency();\n return this.getShareable().then(function (shareable) {\n dependency();\n return shareable.getShareLink(kind, expiration);\n });\n };\n /**\n * Checks Permissions on the list of Users and returns back role the users have on the Item.\n *\n * @param recipients The array of Entities for which Permissions need to be checked.\n */\n FileFolderShared.prototype.checkSharingPermissions = function (recipients) {\n var dependency = this.addBatchDependency();\n return this.getShareable().then(function (shareable) {\n dependency();\n return shareable.checkPermissions(recipients);\n });\n };\n /**\n * Get Sharing Information.\n *\n * @param request The SharingInformationRequest Object.\n */\n FileFolderShared.prototype.getSharingInformation = function (request) {\n if (request === void 0) { request = null; }\n var dependency = this.addBatchDependency();\n return this.getShareable().then(function (shareable) {\n dependency();\n return shareable.getSharingInformation(request);\n });\n };\n /**\n * Gets the sharing settings of an item.\n *\n * @param useSimplifiedRoles Determines whether to use simplified roles.\n */\n FileFolderShared.prototype.getObjectSharingSettings = function (useSimplifiedRoles) {\n if (useSimplifiedRoles === void 0) { useSimplifiedRoles = true; }\n var dependency = this.addBatchDependency();\n return this.getShareable().then(function (shareable) {\n dependency();\n return shareable.getObjectSharingSettings(useSimplifiedRoles);\n });\n };\n /**\n * Unshare this item\n */\n FileFolderShared.prototype.unshare = function () {\n var dependency = this.addBatchDependency();\n return this.getShareable().then(function (shareable) {\n dependency();\n return shareable.unshareObject();\n });\n };\n /**\n * Deletes a sharing link by the kind of link\n *\n * @param kind The kind of link to be deleted.\n */\n FileFolderShared.prototype.deleteSharingLinkByKind = function (kind) {\n var dependency = this.addBatchDependency();\n return this.getShareable().then(function (shareable) {\n dependency();\n return shareable.deleteLinkByKind(kind);\n });\n };\n /**\n * Removes the specified link to the item.\n *\n * @param kind The kind of link to be deleted.\n * @param shareId The share id to delete\n */\n FileFolderShared.prototype.unshareLink = function (kind, shareId) {\n var dependency = this.addBatchDependency();\n return this.getShareable().then(function (shareable) {\n dependency();\n return shareable.unshareLink(kind, shareId);\n });\n };\n /**\n * For files and folders we need to use the associated item end point\n */\n FileFolderShared.prototype.getShareable = function () {\n var _this = this;\n // sharing only works on the item end point, not the file one - so we create a folder instance with the item url internally\n return this.clone(SharePointQueryableShareableFile, \"listItemAllFields\", false).select(\"odata.editlink\").get().then(function (d) {\n var shareable = new SharePointQueryableShareable(odata_1.spGetEntityUrl(d));\n // we need to handle batching\n if (_this.hasBatch) {\n shareable = shareable.inBatch(_this.batch);\n }\n return shareable;\n });\n };\n return FileFolderShared;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.FileFolderShared = FileFolderShared;\nvar SharePointQueryableShareableFile = /** @class */ (function (_super) {\n __extends(SharePointQueryableShareableFile, _super);\n function SharePointQueryableShareableFile() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Shares this item with one or more users\n *\n * @param loginNames string or string[] of resolved login names to which this item will be shared\n * @param role The role (View | Edit) applied to the share\n * @param shareEverything Share everything in this folder, even items with unique permissions.\n * @param requireSignin If true the user must signin to view link, otherwise anyone with the link can access the resource\n * @param emailData Optional, if inlucded an email will be sent. Note subject currently has no effect.\n */\n SharePointQueryableShareableFile.prototype.shareWith = function (loginNames, role, requireSignin, emailData) {\n if (role === void 0) { role = types_1.SharingRole.View; }\n if (requireSignin === void 0) { requireSignin = false; }\n var dependency = this.addBatchDependency();\n return this.getShareable().then(function (shareable) {\n dependency();\n return shareable.shareWith(loginNames, role, requireSignin, false, emailData);\n });\n };\n return SharePointQueryableShareableFile;\n}(FileFolderShared));\nexports.SharePointQueryableShareableFile = SharePointQueryableShareableFile;\nvar SharePointQueryableShareableFolder = /** @class */ (function (_super) {\n __extends(SharePointQueryableShareableFolder, _super);\n function SharePointQueryableShareableFolder() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Shares this item with one or more users\n *\n * @param loginNames string or string[] of resolved login names to which this item will be shared\n * @param role The role (View | Edit) applied to the share\n * @param shareEverything Share everything in this folder, even items with unique permissions.\n * @param requireSignin If true the user must signin to view link, otherwise anyone with the link can access the resource\n * @param emailData Optional, if inlucded an email will be sent. Note subject currently has no effect.\n */\n SharePointQueryableShareableFolder.prototype.shareWith = function (loginNames, role, requireSignin, shareEverything, emailData) {\n if (role === void 0) { role = types_1.SharingRole.View; }\n if (requireSignin === void 0) { requireSignin = false; }\n if (shareEverything === void 0) { shareEverything = false; }\n var dependency = this.addBatchDependency();\n return this.getShareable().then(function (shareable) {\n dependency();\n return shareable.shareWith(loginNames, role, requireSignin, shareEverything, emailData);\n });\n };\n return SharePointQueryableShareableFolder;\n}(FileFolderShared));\nexports.SharePointQueryableShareableFolder = SharePointQueryableShareableFolder;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/sharepointqueryableshareable.js\n// module id = 16\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Determines the display mode of the given control or view\n */\nvar ControlMode;\n(function (ControlMode) {\n ControlMode[ControlMode[\"Display\"] = 1] = \"Display\";\n ControlMode[ControlMode[\"Edit\"] = 2] = \"Edit\";\n ControlMode[ControlMode[\"New\"] = 3] = \"New\";\n})(ControlMode = exports.ControlMode || (exports.ControlMode = {}));\n/**\n * Specifies the type of the field.\n */\nvar FieldTypes;\n(function (FieldTypes) {\n FieldTypes[FieldTypes[\"Invalid\"] = 0] = \"Invalid\";\n FieldTypes[FieldTypes[\"Integer\"] = 1] = \"Integer\";\n FieldTypes[FieldTypes[\"Text\"] = 2] = \"Text\";\n FieldTypes[FieldTypes[\"Note\"] = 3] = \"Note\";\n FieldTypes[FieldTypes[\"DateTime\"] = 4] = \"DateTime\";\n FieldTypes[FieldTypes[\"Counter\"] = 5] = \"Counter\";\n FieldTypes[FieldTypes[\"Choice\"] = 6] = \"Choice\";\n FieldTypes[FieldTypes[\"Lookup\"] = 7] = \"Lookup\";\n FieldTypes[FieldTypes[\"Boolean\"] = 8] = \"Boolean\";\n FieldTypes[FieldTypes[\"Number\"] = 9] = \"Number\";\n FieldTypes[FieldTypes[\"Currency\"] = 10] = \"Currency\";\n FieldTypes[FieldTypes[\"URL\"] = 11] = \"URL\";\n FieldTypes[FieldTypes[\"Computed\"] = 12] = \"Computed\";\n FieldTypes[FieldTypes[\"Threading\"] = 13] = \"Threading\";\n FieldTypes[FieldTypes[\"Guid\"] = 14] = \"Guid\";\n FieldTypes[FieldTypes[\"MultiChoice\"] = 15] = \"MultiChoice\";\n FieldTypes[FieldTypes[\"GridChoice\"] = 16] = \"GridChoice\";\n FieldTypes[FieldTypes[\"Calculated\"] = 17] = \"Calculated\";\n FieldTypes[FieldTypes[\"File\"] = 18] = \"File\";\n FieldTypes[FieldTypes[\"Attachments\"] = 19] = \"Attachments\";\n FieldTypes[FieldTypes[\"User\"] = 20] = \"User\";\n FieldTypes[FieldTypes[\"Recurrence\"] = 21] = \"Recurrence\";\n FieldTypes[FieldTypes[\"CrossProjectLink\"] = 22] = \"CrossProjectLink\";\n FieldTypes[FieldTypes[\"ModStat\"] = 23] = \"ModStat\";\n FieldTypes[FieldTypes[\"Error\"] = 24] = \"Error\";\n FieldTypes[FieldTypes[\"ContentTypeId\"] = 25] = \"ContentTypeId\";\n FieldTypes[FieldTypes[\"PageSeparator\"] = 26] = \"PageSeparator\";\n FieldTypes[FieldTypes[\"ThreadIndex\"] = 27] = \"ThreadIndex\";\n FieldTypes[FieldTypes[\"WorkflowStatus\"] = 28] = \"WorkflowStatus\";\n FieldTypes[FieldTypes[\"AllDayEvent\"] = 29] = \"AllDayEvent\";\n FieldTypes[FieldTypes[\"WorkflowEventType\"] = 30] = \"WorkflowEventType\";\n})(FieldTypes = exports.FieldTypes || (exports.FieldTypes = {}));\nvar DateTimeFieldFormatType;\n(function (DateTimeFieldFormatType) {\n DateTimeFieldFormatType[DateTimeFieldFormatType[\"DateOnly\"] = 0] = \"DateOnly\";\n DateTimeFieldFormatType[DateTimeFieldFormatType[\"DateTime\"] = 1] = \"DateTime\";\n})(DateTimeFieldFormatType = exports.DateTimeFieldFormatType || (exports.DateTimeFieldFormatType = {}));\n/**\n * Specifies the control settings while adding a field.\n */\nvar AddFieldOptions;\n(function (AddFieldOptions) {\n /**\n * Specify that a new field added to the list must also be added to the default content type in the site collection\n */\n AddFieldOptions[AddFieldOptions[\"DefaultValue\"] = 0] = \"DefaultValue\";\n /**\n * Specify that a new field added to the list must also be added to the default content type in the site collection.\n */\n AddFieldOptions[AddFieldOptions[\"AddToDefaultContentType\"] = 1] = \"AddToDefaultContentType\";\n /**\n * Specify that a new field must not be added to any other content type\n */\n AddFieldOptions[AddFieldOptions[\"AddToNoContentType\"] = 2] = \"AddToNoContentType\";\n /**\n * Specify that a new field that is added to the specified list must also be added to all content types in the site collection\n */\n AddFieldOptions[AddFieldOptions[\"AddToAllContentTypes\"] = 4] = \"AddToAllContentTypes\";\n /**\n * Specify adding an internal field name hint for the purpose of avoiding possible database locking or field renaming operations\n */\n AddFieldOptions[AddFieldOptions[\"AddFieldInternalNameHint\"] = 8] = \"AddFieldInternalNameHint\";\n /**\n * Specify that a new field that is added to the specified list must also be added to the default list view\n */\n AddFieldOptions[AddFieldOptions[\"AddFieldToDefaultView\"] = 16] = \"AddFieldToDefaultView\";\n /**\n * Specify to confirm that no other field has the same display name\n */\n AddFieldOptions[AddFieldOptions[\"AddFieldCheckDisplayName\"] = 32] = \"AddFieldCheckDisplayName\";\n})(AddFieldOptions = exports.AddFieldOptions || (exports.AddFieldOptions = {}));\nvar CalendarType;\n(function (CalendarType) {\n CalendarType[CalendarType[\"Gregorian\"] = 1] = \"Gregorian\";\n CalendarType[CalendarType[\"Japan\"] = 3] = \"Japan\";\n CalendarType[CalendarType[\"Taiwan\"] = 4] = \"Taiwan\";\n CalendarType[CalendarType[\"Korea\"] = 5] = \"Korea\";\n CalendarType[CalendarType[\"Hijri\"] = 6] = \"Hijri\";\n CalendarType[CalendarType[\"Thai\"] = 7] = \"Thai\";\n CalendarType[CalendarType[\"Hebrew\"] = 8] = \"Hebrew\";\n CalendarType[CalendarType[\"GregorianMEFrench\"] = 9] = \"GregorianMEFrench\";\n CalendarType[CalendarType[\"GregorianArabic\"] = 10] = \"GregorianArabic\";\n CalendarType[CalendarType[\"GregorianXLITEnglish\"] = 11] = \"GregorianXLITEnglish\";\n CalendarType[CalendarType[\"GregorianXLITFrench\"] = 12] = \"GregorianXLITFrench\";\n CalendarType[CalendarType[\"KoreaJapanLunar\"] = 14] = \"KoreaJapanLunar\";\n CalendarType[CalendarType[\"ChineseLunar\"] = 15] = \"ChineseLunar\";\n CalendarType[CalendarType[\"SakaEra\"] = 16] = \"SakaEra\";\n CalendarType[CalendarType[\"UmAlQura\"] = 23] = \"UmAlQura\";\n})(CalendarType = exports.CalendarType || (exports.CalendarType = {}));\nvar UrlFieldFormatType;\n(function (UrlFieldFormatType) {\n UrlFieldFormatType[UrlFieldFormatType[\"Hyperlink\"] = 0] = \"Hyperlink\";\n UrlFieldFormatType[UrlFieldFormatType[\"Image\"] = 1] = \"Image\";\n})(UrlFieldFormatType = exports.UrlFieldFormatType || (exports.UrlFieldFormatType = {}));\nvar PermissionKind;\n(function (PermissionKind) {\n /**\n * Has no permissions on the Site. Not available through the user interface.\n */\n PermissionKind[PermissionKind[\"EmptyMask\"] = 0] = \"EmptyMask\";\n /**\n * View items in lists, documents in document libraries, and Web discussion comments.\n */\n PermissionKind[PermissionKind[\"ViewListItems\"] = 1] = \"ViewListItems\";\n /**\n * Add items to lists, documents to document libraries, and Web discussion comments.\n */\n PermissionKind[PermissionKind[\"AddListItems\"] = 2] = \"AddListItems\";\n /**\n * Edit items in lists, edit documents in document libraries, edit Web discussion comments\n * in documents, and customize Web Part Pages in document libraries.\n */\n PermissionKind[PermissionKind[\"EditListItems\"] = 3] = \"EditListItems\";\n /**\n * Delete items from a list, documents from a document library, and Web discussion\n * comments in documents.\n */\n PermissionKind[PermissionKind[\"DeleteListItems\"] = 4] = \"DeleteListItems\";\n /**\n * Approve a minor version of a list item or document.\n */\n PermissionKind[PermissionKind[\"ApproveItems\"] = 5] = \"ApproveItems\";\n /**\n * View the source of documents with server-side file handlers.\n */\n PermissionKind[PermissionKind[\"OpenItems\"] = 6] = \"OpenItems\";\n /**\n * View past versions of a list item or document.\n */\n PermissionKind[PermissionKind[\"ViewVersions\"] = 7] = \"ViewVersions\";\n /**\n * Delete past versions of a list item or document.\n */\n PermissionKind[PermissionKind[\"DeleteVersions\"] = 8] = \"DeleteVersions\";\n /**\n * Discard or check in a document which is checked out to another user.\n */\n PermissionKind[PermissionKind[\"CancelCheckout\"] = 9] = \"CancelCheckout\";\n /**\n * Create, change, and delete personal views of lists.\n */\n PermissionKind[PermissionKind[\"ManagePersonalViews\"] = 10] = \"ManagePersonalViews\";\n /**\n * Create and delete lists, add or remove columns in a list, and add or remove public views of a list.\n */\n PermissionKind[PermissionKind[\"ManageLists\"] = 12] = \"ManageLists\";\n /**\n * View forms, views, and application pages, and enumerate lists.\n */\n PermissionKind[PermissionKind[\"ViewFormPages\"] = 13] = \"ViewFormPages\";\n /**\n * Make content of a list or document library retrieveable for anonymous users through SharePoint search.\n * The list permissions in the site do not change.\n */\n PermissionKind[PermissionKind[\"AnonymousSearchAccessList\"] = 14] = \"AnonymousSearchAccessList\";\n /**\n * Allow users to open a Site, list, or folder to access items inside that container.\n */\n PermissionKind[PermissionKind[\"Open\"] = 17] = \"Open\";\n /**\n * View pages in a Site.\n */\n PermissionKind[PermissionKind[\"ViewPages\"] = 18] = \"ViewPages\";\n /**\n * Add, change, or delete HTML pages or Web Part Pages, and edit the Site using\n * a Windows SharePoint Services compatible editor.\n */\n PermissionKind[PermissionKind[\"AddAndCustomizePages\"] = 19] = \"AddAndCustomizePages\";\n /**\n * Apply a theme or borders to the entire Site.\n */\n PermissionKind[PermissionKind[\"ApplyThemeAndBorder\"] = 20] = \"ApplyThemeAndBorder\";\n /**\n * Apply a style sheet (.css file) to the Site.\n */\n PermissionKind[PermissionKind[\"ApplyStyleSheets\"] = 21] = \"ApplyStyleSheets\";\n /**\n * View reports on Site usage.\n */\n PermissionKind[PermissionKind[\"ViewUsageData\"] = 22] = \"ViewUsageData\";\n /**\n * Create a Site using Self-Service Site Creation.\n */\n PermissionKind[PermissionKind[\"CreateSSCSite\"] = 23] = \"CreateSSCSite\";\n /**\n * Create subsites such as team sites, Meeting Workspace sites, and Document Workspace sites.\n */\n PermissionKind[PermissionKind[\"ManageSubwebs\"] = 24] = \"ManageSubwebs\";\n /**\n * Create a group of users that can be used anywhere within the site collection.\n */\n PermissionKind[PermissionKind[\"CreateGroups\"] = 25] = \"CreateGroups\";\n /**\n * Create and change permission levels on the Site and assign permissions to users\n * and groups.\n */\n PermissionKind[PermissionKind[\"ManagePermissions\"] = 26] = \"ManagePermissions\";\n /**\n * Enumerate files and folders in a Site using Microsoft Office SharePoint Designer\n * and WebDAV interfaces.\n */\n PermissionKind[PermissionKind[\"BrowseDirectories\"] = 27] = \"BrowseDirectories\";\n /**\n * View information about users of the Site.\n */\n PermissionKind[PermissionKind[\"BrowseUserInfo\"] = 28] = \"BrowseUserInfo\";\n /**\n * Add or remove personal Web Parts on a Web Part Page.\n */\n PermissionKind[PermissionKind[\"AddDelPrivateWebParts\"] = 29] = \"AddDelPrivateWebParts\";\n /**\n * Update Web Parts to display personalized information.\n */\n PermissionKind[PermissionKind[\"UpdatePersonalWebParts\"] = 30] = \"UpdatePersonalWebParts\";\n /**\n * Grant the ability to perform all administration tasks for the Site as well as\n * manage content, activate, deactivate, or edit properties of Site scoped Features\n * through the object model or through the user interface (UI). When granted on the\n * root Site of a Site Collection, activate, deactivate, or edit properties of\n * site collection scoped Features through the object model. To browse to the Site\n * Collection Features page and activate or deactivate Site Collection scoped Features\n * through the UI, you must be a Site Collection administrator.\n */\n PermissionKind[PermissionKind[\"ManageWeb\"] = 31] = \"ManageWeb\";\n /**\n * Content of lists and document libraries in the Web site will be retrieveable for anonymous users through\n * SharePoint search if the list or document library has AnonymousSearchAccessList set.\n */\n PermissionKind[PermissionKind[\"AnonymousSearchAccessWebLists\"] = 32] = \"AnonymousSearchAccessWebLists\";\n /**\n * Use features that launch client applications. Otherwise, users must work on documents\n * locally and upload changes.\n */\n PermissionKind[PermissionKind[\"UseClientIntegration\"] = 37] = \"UseClientIntegration\";\n /**\n * Use SOAP, WebDAV, or Microsoft Office SharePoint Designer interfaces to access the Site.\n */\n PermissionKind[PermissionKind[\"UseRemoteAPIs\"] = 38] = \"UseRemoteAPIs\";\n /**\n * Manage alerts for all users of the Site.\n */\n PermissionKind[PermissionKind[\"ManageAlerts\"] = 39] = \"ManageAlerts\";\n /**\n * Create e-mail alerts.\n */\n PermissionKind[PermissionKind[\"CreateAlerts\"] = 40] = \"CreateAlerts\";\n /**\n * Allows a user to change his or her user information, such as adding a picture.\n */\n PermissionKind[PermissionKind[\"EditMyUserInfo\"] = 41] = \"EditMyUserInfo\";\n /**\n * Enumerate permissions on Site, list, folder, document, or list item.\n */\n PermissionKind[PermissionKind[\"EnumeratePermissions\"] = 63] = \"EnumeratePermissions\";\n /**\n * Has all permissions on the Site. Not available through the user interface.\n */\n PermissionKind[PermissionKind[\"FullMask\"] = 65] = \"FullMask\";\n})(PermissionKind = exports.PermissionKind || (exports.PermissionKind = {}));\nvar PrincipalType;\n(function (PrincipalType) {\n PrincipalType[PrincipalType[\"None\"] = 0] = \"None\";\n PrincipalType[PrincipalType[\"User\"] = 1] = \"User\";\n PrincipalType[PrincipalType[\"DistributionList\"] = 2] = \"DistributionList\";\n PrincipalType[PrincipalType[\"SecurityGroup\"] = 4] = \"SecurityGroup\";\n PrincipalType[PrincipalType[\"SharePointGroup\"] = 8] = \"SharePointGroup\";\n PrincipalType[PrincipalType[\"All\"] = 15] = \"All\";\n})(PrincipalType = exports.PrincipalType || (exports.PrincipalType = {}));\nvar PrincipalSource;\n(function (PrincipalSource) {\n PrincipalSource[PrincipalSource[\"None\"] = 0] = \"None\";\n PrincipalSource[PrincipalSource[\"UserInfoList\"] = 1] = \"UserInfoList\";\n PrincipalSource[PrincipalSource[\"Windows\"] = 2] = \"Windows\";\n PrincipalSource[PrincipalSource[\"MembershipProvider\"] = 4] = \"MembershipProvider\";\n PrincipalSource[PrincipalSource[\"RoleProvider\"] = 8] = \"RoleProvider\";\n PrincipalSource[PrincipalSource[\"All\"] = 15] = \"All\";\n})(PrincipalSource = exports.PrincipalSource || (exports.PrincipalSource = {}));\nvar RoleType;\n(function (RoleType) {\n RoleType[RoleType[\"None\"] = 0] = \"None\";\n RoleType[RoleType[\"Guest\"] = 1] = \"Guest\";\n RoleType[RoleType[\"Reader\"] = 2] = \"Reader\";\n RoleType[RoleType[\"Contributor\"] = 3] = \"Contributor\";\n RoleType[RoleType[\"WebDesigner\"] = 4] = \"WebDesigner\";\n RoleType[RoleType[\"Administrator\"] = 5] = \"Administrator\";\n})(RoleType = exports.RoleType || (exports.RoleType = {}));\nvar PageType;\n(function (PageType) {\n PageType[PageType[\"Invalid\"] = -1] = \"Invalid\";\n PageType[PageType[\"DefaultView\"] = 0] = \"DefaultView\";\n PageType[PageType[\"NormalView\"] = 1] = \"NormalView\";\n PageType[PageType[\"DialogView\"] = 2] = \"DialogView\";\n PageType[PageType[\"View\"] = 3] = \"View\";\n PageType[PageType[\"DisplayForm\"] = 4] = \"DisplayForm\";\n PageType[PageType[\"DisplayFormDialog\"] = 5] = \"DisplayFormDialog\";\n PageType[PageType[\"EditForm\"] = 6] = \"EditForm\";\n PageType[PageType[\"EditFormDialog\"] = 7] = \"EditFormDialog\";\n PageType[PageType[\"NewForm\"] = 8] = \"NewForm\";\n PageType[PageType[\"NewFormDialog\"] = 9] = \"NewFormDialog\";\n PageType[PageType[\"SolutionForm\"] = 10] = \"SolutionForm\";\n PageType[PageType[\"PAGE_MAXITEMS\"] = 11] = \"PAGE_MAXITEMS\";\n})(PageType = exports.PageType || (exports.PageType = {}));\nvar SharingLinkKind;\n(function (SharingLinkKind) {\n /**\n * Uninitialized link\n */\n SharingLinkKind[SharingLinkKind[\"Uninitialized\"] = 0] = \"Uninitialized\";\n /**\n * Direct link to the object being shared\n */\n SharingLinkKind[SharingLinkKind[\"Direct\"] = 1] = \"Direct\";\n /**\n * Organization-shareable link to the object being shared with view permissions\n */\n SharingLinkKind[SharingLinkKind[\"OrganizationView\"] = 2] = \"OrganizationView\";\n /**\n * Organization-shareable link to the object being shared with edit permissions\n */\n SharingLinkKind[SharingLinkKind[\"OrganizationEdit\"] = 3] = \"OrganizationEdit\";\n /**\n * View only anonymous link\n */\n SharingLinkKind[SharingLinkKind[\"AnonymousView\"] = 4] = \"AnonymousView\";\n /**\n * Read/Write anonymous link\n */\n SharingLinkKind[SharingLinkKind[\"AnonymousEdit\"] = 5] = \"AnonymousEdit\";\n /**\n * Flexible sharing Link where properties can change without affecting link URL\n */\n SharingLinkKind[SharingLinkKind[\"Flexible\"] = 6] = \"Flexible\";\n})(SharingLinkKind = exports.SharingLinkKind || (exports.SharingLinkKind = {}));\n/**\n * Indicates the role of the sharing link\n */\nvar SharingRole;\n(function (SharingRole) {\n SharingRole[SharingRole[\"None\"] = 0] = \"None\";\n SharingRole[SharingRole[\"View\"] = 1] = \"View\";\n SharingRole[SharingRole[\"Edit\"] = 2] = \"Edit\";\n SharingRole[SharingRole[\"Owner\"] = 3] = \"Owner\";\n})(SharingRole = exports.SharingRole || (exports.SharingRole = {}));\nvar SharingOperationStatusCode;\n(function (SharingOperationStatusCode) {\n /**\n * The share operation completed without errors.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"CompletedSuccessfully\"] = 0] = \"CompletedSuccessfully\";\n /**\n * The share operation completed and generated requests for access.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"AccessRequestsQueued\"] = 1] = \"AccessRequestsQueued\";\n /**\n * The share operation failed as there were no resolved users.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"NoResolvedUsers\"] = -1] = \"NoResolvedUsers\";\n /**\n * The share operation failed due to insufficient permissions.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"AccessDenied\"] = -2] = \"AccessDenied\";\n /**\n * The share operation failed when attempting a cross site share, which is not supported.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"CrossSiteRequestNotSupported\"] = -3] = \"CrossSiteRequestNotSupported\";\n /**\n * The sharing operation failed due to an unknown error.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"UnknowError\"] = -4] = \"UnknowError\";\n /**\n * The text you typed is too long. Please shorten it.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"EmailBodyTooLong\"] = -5] = \"EmailBodyTooLong\";\n /**\n * The maximum number of unique scopes in the list has been exceeded.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"ListUniqueScopesExceeded\"] = -6] = \"ListUniqueScopesExceeded\";\n /**\n * The share operation failed because a sharing capability is disabled in the site.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"CapabilityDisabled\"] = -7] = \"CapabilityDisabled\";\n /**\n * The specified object for the share operation is not supported.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"ObjectNotSupported\"] = -8] = \"ObjectNotSupported\";\n /**\n * A SharePoint group cannot contain another SharePoint group.\n */\n SharingOperationStatusCode[SharingOperationStatusCode[\"NestedGroupsNotSupported\"] = -9] = \"NestedGroupsNotSupported\";\n})(SharingOperationStatusCode = exports.SharingOperationStatusCode || (exports.SharingOperationStatusCode = {}));\nvar SPSharedObjectType;\n(function (SPSharedObjectType) {\n SPSharedObjectType[SPSharedObjectType[\"Unknown\"] = 0] = \"Unknown\";\n SPSharedObjectType[SPSharedObjectType[\"File\"] = 1] = \"File\";\n SPSharedObjectType[SPSharedObjectType[\"Folder\"] = 2] = \"Folder\";\n SPSharedObjectType[SPSharedObjectType[\"Item\"] = 3] = \"Item\";\n SPSharedObjectType[SPSharedObjectType[\"List\"] = 4] = \"List\";\n SPSharedObjectType[SPSharedObjectType[\"Web\"] = 5] = \"Web\";\n SPSharedObjectType[SPSharedObjectType[\"Max\"] = 6] = \"Max\";\n})(SPSharedObjectType = exports.SPSharedObjectType || (exports.SPSharedObjectType = {}));\nvar SharingDomainRestrictionMode;\n(function (SharingDomainRestrictionMode) {\n SharingDomainRestrictionMode[SharingDomainRestrictionMode[\"None\"] = 0] = \"None\";\n SharingDomainRestrictionMode[SharingDomainRestrictionMode[\"AllowList\"] = 1] = \"AllowList\";\n SharingDomainRestrictionMode[SharingDomainRestrictionMode[\"BlockList\"] = 2] = \"BlockList\";\n})(SharingDomainRestrictionMode = exports.SharingDomainRestrictionMode || (exports.SharingDomainRestrictionMode = {}));\nvar RenderListDataOptions;\n(function (RenderListDataOptions) {\n RenderListDataOptions[RenderListDataOptions[\"None\"] = 0] = \"None\";\n RenderListDataOptions[RenderListDataOptions[\"ContextInfo\"] = 1] = \"ContextInfo\";\n RenderListDataOptions[RenderListDataOptions[\"ListData\"] = 2] = \"ListData\";\n RenderListDataOptions[RenderListDataOptions[\"ListSchema\"] = 4] = \"ListSchema\";\n RenderListDataOptions[RenderListDataOptions[\"MenuView\"] = 8] = \"MenuView\";\n})(RenderListDataOptions = exports.RenderListDataOptions || (exports.RenderListDataOptions = {}));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/types.js\n// module id = 17\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar sharepointqueryableshareable_1 = require(\"./sharepointqueryableshareable\");\nvar files_1 = require(\"./files\");\nvar util_1 = require(\"../utils/util\");\nvar odata_1 = require(\"./odata\");\nvar items_1 = require(\"./items\");\n/**\n * Describes a collection of Folder objects\n *\n */\nvar Folders = /** @class */ (function (_super) {\n __extends(Folders, _super);\n /**\n * Creates a new instance of the Folders class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function Folders(baseUrl, path) {\n if (path === void 0) { path = \"folders\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a folder by folder name\n *\n */\n Folders.prototype.getByName = function (name) {\n var f = new Folder(this);\n f.concat(\"('\" + name + \"')\");\n return f;\n };\n /**\n * Adds a new folder to the current folder (relative) or any folder (absolute)\n *\n * @param url The relative or absolute url where the new folder will be created. Urls starting with a forward slash are absolute.\n * @returns The new Folder and the raw response.\n */\n Folders.prototype.add = function (url) {\n var _this = this;\n return this.clone(Folders, \"add('\" + url + \"')\").postCore().then(function (response) {\n return {\n data: response,\n folder: _this.getByName(url),\n };\n });\n };\n return Folders;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Folders = Folders;\n/**\n * Describes a single Folder instance\n *\n */\nvar Folder = /** @class */ (function (_super) {\n __extends(Folder, _super);\n function Folder() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Folder.prototype, \"contentTypeOrder\", {\n /**\n * Specifies the sequence in which content types are displayed.\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"contentTypeOrder\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Folder.prototype, \"files\", {\n /**\n * Gets this folder's files\n *\n */\n get: function () {\n return new files_1.Files(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Folder.prototype, \"folders\", {\n /**\n * Gets this folder's sub folders\n *\n */\n get: function () {\n return new Folders(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Folder.prototype, \"listItemAllFields\", {\n /**\n * Gets this folder's list item field values\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"listItemAllFields\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Folder.prototype, \"parentFolder\", {\n /**\n * Gets the parent folder, if available\n *\n */\n get: function () {\n return new Folder(this, \"parentFolder\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Folder.prototype, \"properties\", {\n /**\n * Gets this folder's properties\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableInstance(this, \"properties\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Folder.prototype, \"serverRelativeUrl\", {\n /**\n * Gets this folder's server relative url\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryable(this, \"serverRelativeUrl\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Folder.prototype, \"uniqueContentTypeOrder\", {\n /**\n * Gets a value that specifies the content type order.\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"uniqueContentTypeOrder\");\n },\n enumerable: true,\n configurable: true\n });\n Folder.prototype.update = function (properties) {\n var _this = this;\n var postBody = JSON.stringify(util_1.Util.extend({\n \"__metadata\": { \"type\": \"SP.Folder\" },\n }, properties));\n return this.postCore({\n body: postBody,\n headers: {\n \"X-HTTP-Method\": \"MERGE\",\n },\n }).then(function (data) {\n return {\n data: data,\n folder: _this,\n };\n });\n };\n /**\n * Delete this folder\n *\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n Folder.prototype.delete = function (eTag) {\n if (eTag === void 0) { eTag = \"*\"; }\n return this.clone(Folder, null).postCore({\n headers: {\n \"IF-Match\": eTag,\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n /**\n * Moves the folder to the Recycle Bin and returns the identifier of the new Recycle Bin item.\n */\n Folder.prototype.recycle = function () {\n return this.clone(Folder, \"recycle\").postCore();\n };\n /**\n * Gets the associated list item for this folder, loading the default properties\n */\n Folder.prototype.getItem = function () {\n var selects = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n selects[_i] = arguments[_i];\n }\n var q = this.listItemAllFields;\n return q.select.apply(q, selects).get().then(function (d) {\n return util_1.Util.extend(new items_1.Item(odata_1.spGetEntityUrl(d)), d);\n });\n };\n return Folder;\n}(sharepointqueryableshareable_1.SharePointQueryableShareableFolder));\nexports.Folder = Folder;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/folders.js\n// module id = 18\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nvar utils_1 = require(\"../net/utils\");\nvar parsers_1 = require(\"../odata/parsers\");\nvar pnplibconfig_1 = require(\"../configuration/pnplibconfig\");\nvar pipeline_1 = require(\"../request/pipeline\");\nvar ODataQueryable = /** @class */ (function () {\n function ODataQueryable() {\n }\n /**\n * Directly concatonates the supplied string to the current url, not normalizing \"/\" chars\n *\n * @param pathPart The string to concatonate to the url\n */\n ODataQueryable.prototype.concat = function (pathPart) {\n this._url += pathPart;\n return this;\n };\n /**\n * Appends the given string and normalizes \"/\" chars\n *\n * @param pathPart The string to append\n */\n ODataQueryable.prototype.append = function (pathPart) {\n this._url = util_1.Util.combinePaths(this._url, pathPart);\n };\n Object.defineProperty(ODataQueryable.prototype, \"parentUrl\", {\n /**\n * Gets the parent url used when creating this instance\n *\n */\n get: function () {\n return this._parentUrl;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ODataQueryable.prototype, \"query\", {\n /**\n * Provides access to the query builder for this url\n *\n */\n get: function () {\n return this._query;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets custom options for current object and all derived objects accessible via chaining\n *\n * @param options custom options\n */\n ODataQueryable.prototype.configure = function (options) {\n utils_1.mergeOptions(this._options, options);\n return this;\n };\n /**\n * Enables caching for this request\n *\n * @param options Defines the options used when caching this request\n */\n ODataQueryable.prototype.usingCaching = function (options) {\n if (!pnplibconfig_1.RuntimeConfig.globalCacheDisable) {\n this._useCaching = true;\n this._cachingOptions = options;\n }\n return this;\n };\n /**\n * Gets the currentl url, made absolute based on the availability of the _spPageContextInfo object\n *\n */\n ODataQueryable.prototype.toUrl = function () {\n return this._url;\n };\n /**\n * Executes the currently built request\n *\n * @param parser Allows you to specify a parser to handle the result\n * @param getOptions The options used for this request\n */\n ODataQueryable.prototype.get = function (parser, options) {\n if (parser === void 0) { parser = new parsers_1.ODataDefaultParser(); }\n if (options === void 0) { options = {}; }\n return this.toRequestContext(\"GET\", options, parser, pipeline_1.PipelineMethods.default).then(function (context) { return pipeline_1.pipe(context); });\n };\n ODataQueryable.prototype.getAs = function (parser, options) {\n if (parser === void 0) { parser = new parsers_1.ODataDefaultParser(); }\n if (options === void 0) { options = {}; }\n return this.toRequestContext(\"GET\", options, parser, pipeline_1.PipelineMethods.default).then(function (context) { return pipeline_1.pipe(context); });\n };\n ODataQueryable.prototype.postCore = function (options, parser) {\n if (options === void 0) { options = {}; }\n if (parser === void 0) { parser = new parsers_1.ODataDefaultParser(); }\n return this.toRequestContext(\"POST\", options, parser, pipeline_1.PipelineMethods.default).then(function (context) { return pipeline_1.pipe(context); });\n };\n ODataQueryable.prototype.postAsCore = function (options, parser) {\n if (options === void 0) { options = {}; }\n if (parser === void 0) { parser = new parsers_1.ODataDefaultParser(); }\n return this.toRequestContext(\"POST\", options, parser, pipeline_1.PipelineMethods.default).then(function (context) { return pipeline_1.pipe(context); });\n };\n ODataQueryable.prototype.patchCore = function (options, parser) {\n if (options === void 0) { options = {}; }\n if (parser === void 0) { parser = new parsers_1.ODataDefaultParser(); }\n return this.toRequestContext(\"PATCH\", options, parser, pipeline_1.PipelineMethods.default).then(function (context) { return pipeline_1.pipe(context); });\n };\n ODataQueryable.prototype.deleteCore = function (options, parser) {\n if (options === void 0) { options = {}; }\n if (parser === void 0) { parser = new parsers_1.ODataDefaultParser(); }\n return this.toRequestContext(\"DELETE\", options, parser, pipeline_1.PipelineMethods.default).then(function (context) { return pipeline_1.pipe(context); });\n };\n return ODataQueryable;\n}());\nexports.ODataQueryable = ODataQueryable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/odata/queryable.js\n// module id = 19\n// module chunks = 0","\"use strict\";\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar caching_1 = require(\"../odata/caching\");\nvar logging_1 = require(\"../utils/logging\");\nvar util_1 = require(\"../utils/util\");\n/**\n * Resolves the context's result value\n *\n * @param context The current context\n */\nfunction returnResult(context) {\n logging_1.Logger.log({\n data: context.result,\n level: logging_1.LogLevel.Verbose,\n message: \"[\" + context.requestId + \"] (\" + (new Date()).getTime() + \") Returning result, see data property for value.\",\n });\n return Promise.resolve(context.result);\n}\n/**\n * Sets the result on the context\n */\nfunction setResult(context, value) {\n return new Promise(function (resolve) {\n context.result = value;\n context.hasResult = true;\n resolve(context);\n });\n}\nexports.setResult = setResult;\n/**\n * Invokes the next method in the provided context's pipeline\n *\n * @param c The current request context\n */\nfunction next(c) {\n if (c.pipeline.length < 1) {\n return Promise.resolve(c);\n }\n return c.pipeline.shift()(c);\n}\n/**\n * Executes the current request context's pipeline\n *\n * @param context Current context\n */\nfunction pipe(context) {\n return next(context)\n .then(function (ctx) { return returnResult(ctx); })\n .catch(function (e) {\n logging_1.Logger.log({\n data: e,\n level: logging_1.LogLevel.Error,\n message: \"Error in request pipeline: \" + e.message,\n });\n throw e;\n });\n}\nexports.pipe = pipe;\n/**\n * decorator factory applied to methods in the pipeline to control behavior\n */\nfunction requestPipelineMethod(alwaysRun) {\n if (alwaysRun === void 0) { alwaysRun = false; }\n return function (target, propertyKey, descriptor) {\n var method = descriptor.value;\n descriptor.value = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n // if we have a result already in the pipeline, pass it along and don't call the tagged method\n if (!alwaysRun && args.length > 0 && args[0].hasOwnProperty(\"hasResult\") && args[0].hasResult) {\n logging_1.Logger.write(\"[\" + args[0].requestId + \"] (\" + (new Date()).getTime() + \") Skipping request pipeline method \" + propertyKey + \", existing result in pipeline.\", logging_1.LogLevel.Verbose);\n return Promise.resolve(args[0]);\n }\n // apply the tagged method\n logging_1.Logger.write(\"[\" + args[0].requestId + \"] (\" + (new Date()).getTime() + \") Calling request pipeline method \" + propertyKey + \".\", logging_1.LogLevel.Verbose);\n // then chain the next method in the context's pipeline - allows for dynamic pipeline\n return method.apply(target, args).then(function (ctx) { return next(ctx); });\n };\n };\n}\nexports.requestPipelineMethod = requestPipelineMethod;\n/**\n * Contains the methods used within the request pipeline\n */\nvar PipelineMethods = /** @class */ (function () {\n function PipelineMethods() {\n }\n /**\n * Logs the start of the request\n */\n PipelineMethods.logStart = function (context) {\n return new Promise(function (resolve) {\n logging_1.Logger.log({\n data: logging_1.Logger.activeLogLevel === logging_1.LogLevel.Info ? {} : context,\n level: logging_1.LogLevel.Info,\n message: \"[\" + context.requestId + \"] (\" + (new Date()).getTime() + \") Beginning \" + context.verb + \" request (\" + context.requestAbsoluteUrl + \")\",\n });\n resolve(context);\n });\n };\n /**\n * Handles caching of the request\n */\n PipelineMethods.caching = function (context) {\n return new Promise(function (resolve) {\n // handle caching, if applicable\n if (context.verb === \"GET\" && context.isCached) {\n logging_1.Logger.write(\"[\" + context.requestId + \"] (\" + (new Date()).getTime() + \") Caching is enabled for request, checking cache...\", logging_1.LogLevel.Info);\n var cacheOptions = new caching_1.CachingOptions(context.requestAbsoluteUrl.toLowerCase());\n if (typeof context.cachingOptions !== \"undefined\") {\n cacheOptions = util_1.Util.extend(cacheOptions, context.cachingOptions);\n }\n // we may not have a valid store\n if (cacheOptions.store !== null) {\n // check if we have the data in cache and if so resolve the promise and return\n var data = cacheOptions.store.get(cacheOptions.key);\n if (data !== null) {\n // ensure we clear any help batch dependency we are resolving from the cache\n logging_1.Logger.log({\n data: logging_1.Logger.activeLogLevel === logging_1.LogLevel.Info ? {} : data,\n level: logging_1.LogLevel.Info,\n message: \"[\" + context.requestId + \"] (\" + (new Date()).getTime() + \") Value returned from cache.\",\n });\n context.batchDependency();\n // handle the case where a parser needs to take special actions with a cached result (such as getAs)\n if (context.parser.hasOwnProperty(\"hydrate\")) {\n data = context.parser.hydrate(data);\n }\n return setResult(context, data).then(function (ctx) { return resolve(ctx); });\n }\n }\n logging_1.Logger.write(\"[\" + context.requestId + \"] (\" + (new Date()).getTime() + \") Value not found in cache.\", logging_1.LogLevel.Info);\n // if we don't then wrap the supplied parser in the caching parser wrapper\n // and send things on their way\n context.parser = new caching_1.CachingParserWrapper(context.parser, cacheOptions);\n }\n return resolve(context);\n });\n };\n /**\n * Sends the request\n */\n PipelineMethods.send = function (context) {\n return new Promise(function (resolve, reject) {\n // send or batch the request\n if (context.isBatched) {\n // we are in a batch, so add to batch, remove dependency, and resolve with the batch's promise\n var p = context.batch.add(context.requestAbsoluteUrl, context.verb, context.options, context.parser);\n // we release the dependency here to ensure the batch does not execute until the request is added to the batch\n context.batchDependency();\n logging_1.Logger.write(\"[\" + context.requestId + \"] (\" + (new Date()).getTime() + \") Batching request in batch \" + context.batch.batchId + \".\", logging_1.LogLevel.Info);\n // we set the result as the promise which will be resolved by the batch's execution\n resolve(setResult(context, p));\n }\n else {\n logging_1.Logger.write(\"[\" + context.requestId + \"] (\" + (new Date()).getTime() + \") Sending request.\", logging_1.LogLevel.Info);\n // we are not part of a batch, so proceed as normal\n var client = context.clientFactory();\n var opts = util_1.Util.extend(context.options || {}, { method: context.verb });\n client.fetch(context.requestAbsoluteUrl, opts)\n .then(function (response) { return context.parser.parse(response); })\n .then(function (result) { return setResult(context, result); })\n .then(function (ctx) { return resolve(ctx); })\n .catch(function (e) { return reject(e); });\n }\n });\n };\n /**\n * Logs the end of the request\n */\n PipelineMethods.logEnd = function (context) {\n return new Promise(function (resolve) {\n if (context.isBatched) {\n logging_1.Logger.log({\n data: logging_1.Logger.activeLogLevel === logging_1.LogLevel.Info ? {} : context,\n level: logging_1.LogLevel.Info,\n message: \"[\" + context.requestId + \"] (\" + (new Date()).getTime() + \") \" + context.verb + \" request will complete in batch \" + context.batch.batchId + \".\",\n });\n }\n else {\n logging_1.Logger.log({\n data: logging_1.Logger.activeLogLevel === logging_1.LogLevel.Info ? {} : context,\n level: logging_1.LogLevel.Info,\n message: \"[\" + context.requestId + \"] (\" + (new Date()).getTime() + \") Completing \" + context.verb + \" request.\",\n });\n }\n resolve(context);\n });\n };\n Object.defineProperty(PipelineMethods, \"default\", {\n get: function () {\n return [\n PipelineMethods.logStart,\n PipelineMethods.caching,\n PipelineMethods.send,\n PipelineMethods.logEnd,\n ];\n },\n enumerable: true,\n configurable: true\n });\n __decorate([\n requestPipelineMethod(true)\n ], PipelineMethods, \"logStart\", null);\n __decorate([\n requestPipelineMethod()\n ], PipelineMethods, \"caching\", null);\n __decorate([\n requestPipelineMethod()\n ], PipelineMethods, \"send\", null);\n __decorate([\n requestPipelineMethod(true)\n ], PipelineMethods, \"logEnd\", null);\n return PipelineMethods;\n}());\nexports.PipelineMethods = PipelineMethods;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/request/pipeline.js\n// module id = 20\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar digestcache_1 = require(\"./digestcache\");\nvar util_1 = require(\"../utils/util\");\nvar pnplibconfig_1 = require(\"../configuration/pnplibconfig\");\nvar exceptions_1 = require(\"../utils/exceptions\");\nvar utils_1 = require(\"./utils\");\nvar HttpClient = /** @class */ (function () {\n function HttpClient() {\n this._impl = pnplibconfig_1.RuntimeConfig.spFetchClientFactory();\n this._digestCache = new digestcache_1.DigestCache(this);\n }\n HttpClient.prototype.fetch = function (url, options) {\n var _this = this;\n if (options === void 0) { options = {}; }\n var opts = util_1.Util.extend(options, { cache: \"no-cache\", credentials: \"same-origin\" }, true);\n var headers = new Headers();\n // first we add the global headers so they can be overwritten by any passed in locally to this call\n utils_1.mergeHeaders(headers, pnplibconfig_1.RuntimeConfig.spHeaders);\n // second we add the local options so we can overwrite the globals\n utils_1.mergeHeaders(headers, options.headers);\n // lastly we apply any default headers we need that may not exist\n if (!headers.has(\"Accept\")) {\n headers.append(\"Accept\", \"application/json\");\n }\n if (!headers.has(\"Content-Type\")) {\n headers.append(\"Content-Type\", \"application/json;odata=verbose;charset=utf-8\");\n }\n if (!headers.has(\"X-ClientService-ClientTag\")) {\n headers.append(\"X-ClientService-ClientTag\", \"PnPCoreJS:3.0.4\");\n }\n if (!headers.has(\"User-Agent\")) {\n // this marks the requests for understanding by the service\n headers.append(\"User-Agent\", \"NONISV|SharePointPnP|PnPCoreJS/3.0.4\");\n }\n opts = util_1.Util.extend(opts, { headers: headers });\n if (opts.method && opts.method.toUpperCase() !== \"GET\") {\n // if we have either a request digest or an authorization header we don't need a digest\n if (!headers.has(\"X-RequestDigest\") && !headers.has(\"Authorization\")) {\n var index = url.indexOf(\"_api/\");\n if (index < 0) {\n throw new exceptions_1.APIUrlException();\n }\n var webUrl = url.substr(0, index);\n return this._digestCache.getDigest(webUrl)\n .then(function (digest) {\n headers.append(\"X-RequestDigest\", digest);\n return _this.fetchRaw(url, opts);\n });\n }\n }\n return this.fetchRaw(url, opts);\n };\n HttpClient.prototype.fetchRaw = function (url, options) {\n var _this = this;\n if (options === void 0) { options = {}; }\n // here we need to normalize the headers\n var rawHeaders = new Headers();\n utils_1.mergeHeaders(rawHeaders, options.headers);\n options = util_1.Util.extend(options, { headers: rawHeaders });\n var retry = function (ctx) {\n _this._impl.fetch(url, options).then(function (response) { return ctx.resolve(response); }).catch(function (response) {\n // Check if request was throttled - http status code 429\n // Check if request failed due to server unavailable - http status code 503\n if (response.status !== 429 && response.status !== 503) {\n ctx.reject(response);\n }\n // grab our current delay\n var delay = ctx.delay;\n // Increment our counters.\n ctx.delay *= 2;\n ctx.attempts++;\n // If we have exceeded the retry count, reject.\n if (ctx.retryCount <= ctx.attempts) {\n ctx.reject(response);\n }\n // Set our retry timeout for {delay} milliseconds.\n setTimeout(util_1.Util.getCtxCallback(_this, retry, ctx), delay);\n });\n };\n return new Promise(function (resolve, reject) {\n var retryContext = {\n attempts: 0,\n delay: 100,\n reject: reject,\n resolve: resolve,\n retryCount: 7,\n };\n retry.call(_this, retryContext);\n });\n };\n HttpClient.prototype.get = function (url, options) {\n if (options === void 0) { options = {}; }\n var opts = util_1.Util.extend(options, { method: \"GET\" });\n return this.fetch(url, opts);\n };\n HttpClient.prototype.post = function (url, options) {\n if (options === void 0) { options = {}; }\n var opts = util_1.Util.extend(options, { method: \"POST\" });\n return this.fetch(url, opts);\n };\n HttpClient.prototype.patch = function (url, options) {\n if (options === void 0) { options = {}; }\n var opts = util_1.Util.extend(options, { method: \"PATCH\" });\n return this.fetch(url, opts);\n };\n HttpClient.prototype.delete = function (url, options) {\n if (options === void 0) { options = {}; }\n var opts = util_1.Util.extend(options, { method: \"DELETE\" });\n return this.fetch(url, opts);\n };\n return HttpClient;\n}());\nexports.HttpClient = HttpClient;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/net/httpclient.js\n// module id = 21\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar sitegroups_1 = require(\"./sitegroups\");\nvar util_1 = require(\"../utils/util\");\n/**\n * Describes a set of role assignments for the current scope\n *\n */\nvar RoleAssignments = /** @class */ (function (_super) {\n __extends(RoleAssignments, _super);\n /**\n * Creates a new instance of the RoleAssignments class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this role assignments collection\n */\n function RoleAssignments(baseUrl, path) {\n if (path === void 0) { path = \"roleassignments\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Adds a new role assignment with the specified principal and role definitions to the collection\n *\n * @param principalId The id of the user or group to assign permissions to\n * @param roleDefId The id of the role definition that defines the permissions to assign\n *\n */\n RoleAssignments.prototype.add = function (principalId, roleDefId) {\n return this.clone(RoleAssignments, \"addroleassignment(principalid=\" + principalId + \", roledefid=\" + roleDefId + \")\").postCore();\n };\n /**\n * Removes the role assignment with the specified principal and role definition from the collection\n *\n * @param principalId The id of the user or group in the role assignment\n * @param roleDefId The id of the role definition in the role assignment\n *\n */\n RoleAssignments.prototype.remove = function (principalId, roleDefId) {\n return this.clone(RoleAssignments, \"removeroleassignment(principalid=\" + principalId + \", roledefid=\" + roleDefId + \")\").postCore();\n };\n /**\n * Gets the role assignment associated with the specified principal id from the collection.\n *\n * @param id The id of the role assignment\n */\n RoleAssignments.prototype.getById = function (id) {\n var ra = new RoleAssignment(this);\n ra.concat(\"(\" + id + \")\");\n return ra;\n };\n return RoleAssignments;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.RoleAssignments = RoleAssignments;\n/**\n * Describes a role assignment\n *\n */\nvar RoleAssignment = /** @class */ (function (_super) {\n __extends(RoleAssignment, _super);\n function RoleAssignment() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(RoleAssignment.prototype, \"groups\", {\n /**\n * Gets the groups that directly belong to the access control list (ACL) for this securable object\n *\n */\n get: function () {\n return new sitegroups_1.SiteGroups(this, \"groups\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RoleAssignment.prototype, \"bindings\", {\n /**\n * Gets the role definition bindings for this role assignment\n *\n */\n get: function () {\n return new RoleDefinitionBindings(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Deletes this role assignment\n *\n */\n RoleAssignment.prototype.delete = function () {\n return this.postCore({\n headers: {\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n return RoleAssignment;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.RoleAssignment = RoleAssignment;\n/**\n * Describes a collection of role definitions\n *\n */\nvar RoleDefinitions = /** @class */ (function (_super) {\n __extends(RoleDefinitions, _super);\n /**\n * Creates a new instance of the RoleDefinitions class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this role definitions collection\n *\n */\n function RoleDefinitions(baseUrl, path) {\n if (path === void 0) { path = \"roledefinitions\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets the role definition with the specified id from the collection\n *\n * @param id The id of the role definition\n *\n */\n RoleDefinitions.prototype.getById = function (id) {\n return new RoleDefinition(this, \"getById(\" + id + \")\");\n };\n /**\n * Gets the role definition with the specified name\n *\n * @param name The name of the role definition\n *\n */\n RoleDefinitions.prototype.getByName = function (name) {\n return new RoleDefinition(this, \"getbyname('\" + name + \"')\");\n };\n /**\n * Gets the role definition with the specified role type\n *\n * @param roleTypeKind The roletypekind of the role definition (None=0, Guest=1, Reader=2, Contributor=3, WebDesigner=4, Administrator=5, Editor=6, System=7)\n *\n */\n RoleDefinitions.prototype.getByType = function (roleTypeKind) {\n return new RoleDefinition(this, \"getbytype(\" + roleTypeKind + \")\");\n };\n /**\n * Creates a role definition\n *\n * @param name The new role definition's name\n * @param description The new role definition's description\n * @param order The order in which the role definition appears\n * @param basePermissions The permissions mask for this role definition\n *\n */\n RoleDefinitions.prototype.add = function (name, description, order, basePermissions) {\n var _this = this;\n var postBody = JSON.stringify({\n BasePermissions: util_1.Util.extend({ __metadata: { type: \"SP.BasePermissions\" } }, basePermissions),\n Description: description,\n Name: name,\n Order: order,\n __metadata: { \"type\": \"SP.RoleDefinition\" },\n });\n return this.postCore({ body: postBody }).then(function (data) {\n return {\n data: data,\n definition: _this.getById(data.Id),\n };\n });\n };\n return RoleDefinitions;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.RoleDefinitions = RoleDefinitions;\n/**\n * Describes a role definition\n *\n */\nvar RoleDefinition = /** @class */ (function (_super) {\n __extends(RoleDefinition, _super);\n function RoleDefinition() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Updates this role definition with the supplied properties\n *\n * @param properties A plain object hash of values to update for the role definition\n */\n /* tslint:disable no-string-literal */\n RoleDefinition.prototype.update = function (properties) {\n var _this = this;\n if (typeof properties.hasOwnProperty(\"BasePermissions\") !== \"undefined\") {\n properties[\"BasePermissions\"] = util_1.Util.extend({ __metadata: { type: \"SP.BasePermissions\" } }, properties[\"BasePermissions\"]);\n }\n var postBody = JSON.stringify(util_1.Util.extend({\n \"__metadata\": { \"type\": \"SP.RoleDefinition\" },\n }, properties));\n return this.postCore({\n body: postBody,\n headers: {\n \"X-HTTP-Method\": \"MERGE\",\n },\n }).then(function (data) {\n var retDef = _this;\n if (properties.hasOwnProperty(\"Name\")) {\n var parent_1 = _this.getParent(RoleDefinitions, _this.parentUrl, \"\");\n retDef = parent_1.getByName(properties[\"Name\"]);\n }\n return {\n data: data,\n definition: retDef,\n };\n });\n };\n /* tslint:enable */\n /**\n * Deletes this role definition\n *\n */\n RoleDefinition.prototype.delete = function () {\n return this.postCore({\n headers: {\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n return RoleDefinition;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.RoleDefinition = RoleDefinition;\n/**\n * Describes the role definitons bound to a role assignment object\n *\n */\nvar RoleDefinitionBindings = /** @class */ (function (_super) {\n __extends(RoleDefinitionBindings, _super);\n /**\n * Creates a new instance of the RoleDefinitionBindings class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this role definition bindings collection\n */\n function RoleDefinitionBindings(baseUrl, path) {\n if (path === void 0) { path = \"roledefinitionbindings\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n return RoleDefinitionBindings;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.RoleDefinitionBindings = RoleDefinitionBindings;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/roles.js\n// module id = 22\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar siteusers_1 = require(\"./siteusers\");\nvar util_1 = require(\"../utils/util\");\n/**\n * Principal Type enum\n *\n */\nvar PrincipalType;\n(function (PrincipalType) {\n PrincipalType[PrincipalType[\"None\"] = 0] = \"None\";\n PrincipalType[PrincipalType[\"User\"] = 1] = \"User\";\n PrincipalType[PrincipalType[\"DistributionList\"] = 2] = \"DistributionList\";\n PrincipalType[PrincipalType[\"SecurityGroup\"] = 4] = \"SecurityGroup\";\n PrincipalType[PrincipalType[\"SharePointGroup\"] = 8] = \"SharePointGroup\";\n PrincipalType[PrincipalType[\"All\"] = 15] = \"All\";\n})(PrincipalType = exports.PrincipalType || (exports.PrincipalType = {}));\n/**\n * Describes a collection of site groups\n *\n */\nvar SiteGroups = /** @class */ (function (_super) {\n __extends(SiteGroups, _super);\n /**\n * Creates a new instance of the SiteGroups class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this group collection\n */\n function SiteGroups(baseUrl, path) {\n if (path === void 0) { path = \"sitegroups\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Adds a new group to the site collection\n *\n * @param props The group properties object of property names and values to be set for the group\n */\n SiteGroups.prototype.add = function (properties) {\n var _this = this;\n var postBody = JSON.stringify(util_1.Util.extend({ \"__metadata\": { \"type\": \"SP.Group\" } }, properties));\n return this.postCore({ body: postBody }).then(function (data) {\n return {\n data: data,\n group: _this.getById(data.Id),\n };\n });\n };\n /**\n * Gets a group from the collection by name\n *\n * @param groupName The name of the group to retrieve\n */\n SiteGroups.prototype.getByName = function (groupName) {\n return new SiteGroup(this, \"getByName('\" + groupName + \"')\");\n };\n /**\n * Gets a group from the collection by id\n *\n * @param id The id of the group to retrieve\n */\n SiteGroups.prototype.getById = function (id) {\n var sg = new SiteGroup(this);\n sg.concat(\"(\" + id + \")\");\n return sg;\n };\n /**\n * Removes the group with the specified member id from the collection\n *\n * @param id The id of the group to remove\n */\n SiteGroups.prototype.removeById = function (id) {\n return this.clone(SiteGroups, \"removeById('\" + id + \"')\").postCore();\n };\n /**\n * Removes the cross-site group with the specified name from the collection\n *\n * @param loginName The name of the group to remove\n */\n SiteGroups.prototype.removeByLoginName = function (loginName) {\n return this.clone(SiteGroups, \"removeByLoginName('\" + loginName + \"')\").postCore();\n };\n return SiteGroups;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.SiteGroups = SiteGroups;\n/**\n * Describes a single group\n *\n */\nvar SiteGroup = /** @class */ (function (_super) {\n __extends(SiteGroup, _super);\n function SiteGroup() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SiteGroup.prototype, \"users\", {\n /**\n * Gets the users for this group\n *\n */\n get: function () {\n return new siteusers_1.SiteUsers(this, \"users\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Updates this group instance with the supplied properties\n *\n * @param properties A GroupWriteableProperties object of property names and values to update for the group\n */\n /* tslint:disable no-string-literal */\n SiteGroup.prototype.update = function (properties) {\n var _this = this;\n var postBody = util_1.Util.extend({ \"__metadata\": { \"type\": \"SP.Group\" } }, properties);\n return this.postCore({\n body: JSON.stringify(postBody),\n headers: {\n \"X-HTTP-Method\": \"MERGE\",\n },\n }).then(function (data) {\n var retGroup = _this;\n if (properties.hasOwnProperty(\"Title\")) {\n retGroup = _this.getParent(SiteGroup, _this.parentUrl, \"getByName('\" + properties[\"Title\"] + \"')\");\n }\n return {\n data: data,\n group: retGroup,\n };\n });\n };\n return SiteGroup;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.SiteGroup = SiteGroup;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/sitegroups.js\n// module id = 23\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\n/**\n * Describes a collection of content types\n *\n */\nvar ContentTypes = /** @class */ (function (_super) {\n __extends(ContentTypes, _super);\n /**\n * Creates a new instance of the ContentTypes class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this content types collection\n */\n function ContentTypes(baseUrl, path) {\n if (path === void 0) { path = \"contenttypes\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a ContentType by content type id\n */\n ContentTypes.prototype.getById = function (id) {\n var ct = new ContentType(this);\n ct.concat(\"('\" + id + \"')\");\n return ct;\n };\n /**\n * Adds an existing contenttype to a content type collection\n *\n * @param contentTypeId in the following format, for example: 0x010102\n */\n ContentTypes.prototype.addAvailableContentType = function (contentTypeId) {\n var _this = this;\n var postBody = JSON.stringify({\n \"contentTypeId\": contentTypeId,\n });\n return this.clone(ContentTypes, \"addAvailableContentType\").postAsCore({ body: postBody }).then(function (data) {\n return {\n contentType: _this.getById(data.id),\n data: data,\n };\n });\n };\n /**\n * Adds a new content type to the collection\n *\n * @param id The desired content type id for the new content type (also determines the parent content type)\n * @param name The name of the content type\n * @param description The description of the content type\n * @param group The group in which to add the content type\n * @param additionalSettings Any additional settings to provide when creating the content type\n *\n */\n ContentTypes.prototype.add = function (id, name, description, group, additionalSettings) {\n var _this = this;\n if (description === void 0) { description = \"\"; }\n if (group === void 0) { group = \"Custom Content Types\"; }\n if (additionalSettings === void 0) { additionalSettings = {}; }\n var postBody = JSON.stringify(util_1.Util.extend({\n \"Description\": description,\n \"Group\": group,\n \"Id\": { \"StringValue\": id },\n \"Name\": name,\n \"__metadata\": { \"type\": \"SP.ContentType\" },\n }, additionalSettings));\n return this.postCore({ body: postBody }).then(function (data) {\n return { contentType: _this.getById(data.id), data: data };\n });\n };\n return ContentTypes;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.ContentTypes = ContentTypes;\n/**\n * Describes a single ContentType instance\n *\n */\nvar ContentType = /** @class */ (function (_super) {\n __extends(ContentType, _super);\n function ContentType() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ContentType.prototype, \"fieldLinks\", {\n /**\n * Gets the column (also known as field) references in the content type.\n */\n get: function () {\n return new FieldLinks(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ContentType.prototype, \"fields\", {\n /**\n * Gets a value that specifies the collection of fields for the content type.\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"fields\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ContentType.prototype, \"parent\", {\n /**\n * Gets the parent content type of the content type.\n */\n get: function () {\n return new ContentType(this, \"parent\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ContentType.prototype, \"workflowAssociations\", {\n /**\n * Gets a value that specifies the collection of workflow associations for the content type.\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"workflowAssociations\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Delete this content type\n */\n ContentType.prototype.delete = function () {\n return this.postCore({\n headers: {\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n return ContentType;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.ContentType = ContentType;\n/**\n * Represents a collection of field link instances\n */\nvar FieldLinks = /** @class */ (function (_super) {\n __extends(FieldLinks, _super);\n /**\n * Creates a new instance of the ContentType class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this content type instance\n */\n function FieldLinks(baseUrl, path) {\n if (path === void 0) { path = \"fieldlinks\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a FieldLink by GUID id\n *\n * @param id The GUID id of the field link\n */\n FieldLinks.prototype.getById = function (id) {\n var fl = new FieldLink(this);\n fl.concat(\"(guid'\" + id + \"')\");\n return fl;\n };\n return FieldLinks;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.FieldLinks = FieldLinks;\n/**\n * Represents a field link instance\n */\nvar FieldLink = /** @class */ (function (_super) {\n __extends(FieldLink, _super);\n function FieldLink() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return FieldLink;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.FieldLink = FieldLink;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/contenttypes.js\n// module id = 24\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar util_1 = require(\"../utils/util\");\n/**\n * Describes a collection of user custom actions\n *\n */\nvar UserCustomActions = /** @class */ (function (_super) {\n __extends(UserCustomActions, _super);\n /**\n * Creates a new instance of the UserCustomActions class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this user custom actions collection\n */\n function UserCustomActions(baseUrl, path) {\n if (path === void 0) { path = \"usercustomactions\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Returns the user custom action with the specified id\n *\n * @param id The GUID id of the user custom action to retrieve\n */\n UserCustomActions.prototype.getById = function (id) {\n var uca = new UserCustomAction(this);\n uca.concat(\"('\" + id + \"')\");\n return uca;\n };\n /**\n * Creates a user custom action\n *\n * @param properties The information object of property names and values which define the new user custom action\n *\n */\n UserCustomActions.prototype.add = function (properties) {\n var _this = this;\n var postBody = JSON.stringify(util_1.Util.extend({ __metadata: { \"type\": \"SP.UserCustomAction\" } }, properties));\n return this.postCore({ body: postBody }).then(function (data) {\n return {\n action: _this.getById(data.Id),\n data: data,\n };\n });\n };\n /**\n * Deletes all user custom actions in the collection\n *\n */\n UserCustomActions.prototype.clear = function () {\n return this.clone(UserCustomActions, \"clear\").postCore();\n };\n return UserCustomActions;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.UserCustomActions = UserCustomActions;\n/**\n * Describes a single user custom action\n *\n */\nvar UserCustomAction = /** @class */ (function (_super) {\n __extends(UserCustomAction, _super);\n function UserCustomAction() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Updates this user custom action with the supplied properties\n *\n * @param properties An information object of property names and values to update for this user custom action\n */\n UserCustomAction.prototype.update = function (properties) {\n var _this = this;\n var postBody = JSON.stringify(util_1.Util.extend({\n \"__metadata\": { \"type\": \"SP.UserCustomAction\" },\n }, properties));\n return this.postCore({\n body: postBody,\n headers: {\n \"X-HTTP-Method\": \"MERGE\",\n },\n }).then(function (data) {\n return {\n action: _this,\n data: data,\n };\n });\n };\n /**\n * Removes this user custom action\n *\n */\n UserCustomAction.prototype.delete = function () {\n return _super.prototype.deleteCore.call(this);\n };\n return UserCustomAction;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.UserCustomAction = UserCustomAction;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/usercustomactions.js\n// module id = 25\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\n/**\n * Represents a collection of navigation nodes\n *\n */\nvar NavigationNodes = /** @class */ (function (_super) {\n __extends(NavigationNodes, _super);\n function NavigationNodes() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Gets a navigation node by id\n *\n * @param id The id of the node\n */\n NavigationNodes.prototype.getById = function (id) {\n var node = new NavigationNode(this);\n node.concat(\"(\" + id + \")\");\n return node;\n };\n /**\n * Adds a new node to the collection\n *\n * @param title Display name of the node\n * @param url The url of the node\n * @param visible If true the node is visible, otherwise it is hidden (default: true)\n */\n NavigationNodes.prototype.add = function (title, url, visible) {\n var _this = this;\n if (visible === void 0) { visible = true; }\n var postBody = JSON.stringify({\n IsVisible: visible,\n Title: title,\n Url: url,\n \"__metadata\": { \"type\": \"SP.NavigationNode\" },\n });\n return this.clone(NavigationNodes, null).postCore({ body: postBody }).then(function (data) {\n return {\n data: data,\n node: _this.getById(data.Id),\n };\n });\n };\n /**\n * Moves a node to be after another node in the navigation\n *\n * @param nodeId Id of the node to move\n * @param previousNodeId Id of the node after which we move the node specified by nodeId\n */\n NavigationNodes.prototype.moveAfter = function (nodeId, previousNodeId) {\n var postBody = JSON.stringify({\n nodeId: nodeId,\n previousNodeId: previousNodeId,\n });\n return this.clone(NavigationNodes, \"MoveAfter\").postCore({ body: postBody });\n };\n return NavigationNodes;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.NavigationNodes = NavigationNodes;\n/**\n * Represents an instance of a navigation node\n *\n */\nvar NavigationNode = /** @class */ (function (_super) {\n __extends(NavigationNode, _super);\n function NavigationNode() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(NavigationNode.prototype, \"children\", {\n /**\n * Represents the child nodes of this node\n */\n get: function () {\n return new NavigationNodes(this, \"Children\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Deletes this node and any child nodes\n */\n NavigationNode.prototype.delete = function () {\n return _super.prototype.deleteCore.call(this);\n };\n return NavigationNode;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.NavigationNode = NavigationNode;\n/**\n * Exposes the navigation components\n *\n */\nvar Navigation = /** @class */ (function (_super) {\n __extends(Navigation, _super);\n /**\n * Creates a new instance of the Navigation class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of these navigation components\n */\n function Navigation(baseUrl, path) {\n if (path === void 0) { path = \"navigation\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n Object.defineProperty(Navigation.prototype, \"quicklaunch\", {\n /**\n * Gets the quicklaunch navigation nodes for the current context\n *\n */\n get: function () {\n return new NavigationNodes(this, \"quicklaunch\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Navigation.prototype, \"topNavigationBar\", {\n /**\n * Gets the top bar navigation nodes for the current context\n *\n */\n get: function () {\n return new NavigationNodes(this, \"topnavigationbar\");\n },\n enumerable: true,\n configurable: true\n });\n return Navigation;\n}(sharepointqueryable_1.SharePointQueryable));\nexports.Navigation = Navigation;\n/**\n * Represents the top level navigation service\n */\nvar NavigationService = /** @class */ (function (_super) {\n __extends(NavigationService, _super);\n function NavigationService(path) {\n if (path === void 0) { path = null; }\n return _super.call(this, \"_api/navigation\", path) || this;\n }\n /**\n * The MenuState service operation returns a Menu-State (dump) of a SiteMapProvider on a site.\n *\n * @param menuNodeKey MenuNode.Key of the start node within the SiteMapProvider If no key is provided the SiteMapProvider.RootNode will be the root of the menu state.\n * @param depth Depth of the dump. If no value is provided a dump with the depth of 10 is returned\n * @param mapProviderName The name identifying the SiteMapProvider to be used\n * @param customProperties comma seperated list of custom properties to be returned.\n */\n NavigationService.prototype.getMenuState = function (menuNodeKey, depth, mapProviderName, customProperties) {\n if (menuNodeKey === void 0) { menuNodeKey = null; }\n if (depth === void 0) { depth = 10; }\n if (mapProviderName === void 0) { mapProviderName = null; }\n if (customProperties === void 0) { customProperties = null; }\n return (new NavigationService(\"MenuState\")).postCore({\n body: JSON.stringify({\n customProperties: customProperties,\n depth: depth,\n mapProviderName: mapProviderName,\n menuNodeKey: menuNodeKey,\n }),\n });\n };\n /**\n * Tries to get a SiteMapNode.Key for a given URL within a site collection.\n *\n * @param currentUrl A url representing the SiteMapNode\n * @param mapProviderName The name identifying the SiteMapProvider to be used\n */\n NavigationService.prototype.getMenuNodeKey = function (currentUrl, mapProviderName) {\n if (mapProviderName === void 0) { mapProviderName = null; }\n return (new NavigationService(\"MenuNodeKey\")).postCore({\n body: JSON.stringify({\n currentUrl: currentUrl,\n mapProviderName: mapProviderName,\n }),\n });\n };\n return NavigationService;\n}(sharepointqueryable_1.SharePointQueryable));\nexports.NavigationService = NavigationService;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/navigation.js\n// module id = 26\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nvar logging_1 = require(\"../utils/logging\");\nvar httpclient_1 = require(\"../net/httpclient\");\nvar utils_1 = require(\"../net/utils\");\nvar pnplibconfig_1 = require(\"../configuration/pnplibconfig\");\nvar exceptions_1 = require(\"../utils/exceptions\");\n/**\n * Manages a batch of OData operations\n */\nvar ODataBatch = /** @class */ (function () {\n function ODataBatch(baseUrl, _batchId) {\n if (_batchId === void 0) { _batchId = util_1.Util.getGUID(); }\n this.baseUrl = baseUrl;\n this._batchId = _batchId;\n this._requests = [];\n this._dependencies = [];\n }\n /**\n * Parses the response from a batch request into an array of Response instances\n *\n * @param body Text body of the response from the batch request\n */\n ODataBatch.ParseResponse = function (body) {\n return new Promise(function (resolve, reject) {\n var responses = [];\n var header = \"--batchresponse_\";\n // Ex. \"HTTP/1.1 500 Internal Server Error\"\n var statusRegExp = new RegExp(\"^HTTP/[0-9.]+ +([0-9]+) +(.*)\", \"i\");\n var lines = body.split(\"\\n\");\n var state = \"batch\";\n var status;\n var statusText;\n for (var i = 0; i < lines.length; ++i) {\n var line = lines[i];\n switch (state) {\n case \"batch\":\n if (line.substr(0, header.length) === header) {\n state = \"batchHeaders\";\n }\n else {\n if (line.trim() !== \"\") {\n throw new exceptions_1.BatchParseException(\"Invalid response, line \" + i);\n }\n }\n break;\n case \"batchHeaders\":\n if (line.trim() === \"\") {\n state = \"status\";\n }\n break;\n case \"status\":\n var parts = statusRegExp.exec(line);\n if (parts.length !== 3) {\n throw new exceptions_1.BatchParseException(\"Invalid status, line \" + i);\n }\n status = parseInt(parts[1], 10);\n statusText = parts[2];\n state = \"statusHeaders\";\n break;\n case \"statusHeaders\":\n if (line.trim() === \"\") {\n state = \"body\";\n }\n break;\n case \"body\":\n responses.push((status === 204) ? new Response() : new Response(line, { status: status, statusText: statusText }));\n state = \"batch\";\n break;\n }\n }\n if (state !== \"status\") {\n reject(new exceptions_1.BatchParseException(\"Unexpected end of input\"));\n }\n resolve(responses);\n });\n };\n Object.defineProperty(ODataBatch.prototype, \"batchId\", {\n get: function () {\n return this._batchId;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Adds a request to a batch (not designed for public use)\n *\n * @param url The full url of the request\n * @param method The http method GET, POST, etc\n * @param options Any options to include in the request\n * @param parser The parser that will hadle the results of the request\n */\n ODataBatch.prototype.add = function (url, method, options, parser) {\n var info = {\n method: method.toUpperCase(),\n options: options,\n parser: parser,\n reject: null,\n resolve: null,\n url: url,\n };\n var p = new Promise(function (resolve, reject) {\n info.resolve = resolve;\n info.reject = reject;\n });\n this._requests.push(info);\n return p;\n };\n /**\n * Adds a dependency insuring that some set of actions will occur before a batch is processed.\n * MUST be cleared using the returned resolve delegate to allow batches to run\n */\n ODataBatch.prototype.addDependency = function () {\n var resolver;\n var promise = new Promise(function (resolve) {\n resolver = resolve;\n });\n this._dependencies.push(promise);\n return resolver;\n };\n /**\n * Execute the current batch and resolve the associated promises\n *\n * @returns A promise which will be resolved once all of the batch's child promises have resolved\n */\n ODataBatch.prototype.execute = function () {\n var _this = this;\n // we need to check the dependencies twice due to how different engines handle things.\n // We can get a second set of promises added after the first set resolve\n return Promise.all(this._dependencies).then(function () { return Promise.all(_this._dependencies); }).then(function () { return _this.executeImpl(); });\n };\n ODataBatch.prototype.executeImpl = function () {\n var _this = this;\n logging_1.Logger.write(\"[\" + this.batchId + \"] (\" + (new Date()).getTime() + \") Executing batch with \" + this._requests.length + \" requests.\", logging_1.LogLevel.Info);\n // if we don't have any requests, don't bother sending anything\n // this could be due to caching further upstream, or just an empty batch\n if (this._requests.length < 1) {\n logging_1.Logger.write(\"Resolving empty batch.\", logging_1.LogLevel.Info);\n return Promise.resolve();\n }\n // creating the client here allows the url to be populated for nodejs client as well as potentially\n // any other hacks needed for other types of clients. Essentially allows the absoluteRequestUrl\n // below to be correct\n var client = new httpclient_1.HttpClient();\n // due to timing we need to get the absolute url here so we can use it for all the individual requests\n // and for sending the entire batch\n return util_1.Util.toAbsoluteUrl(this.baseUrl).then(function (absoluteRequestUrl) {\n // build all the requests, send them, pipe results in order to parsers\n var batchBody = [];\n var currentChangeSetId = \"\";\n for (var i = 0; i < _this._requests.length; i++) {\n var reqInfo = _this._requests[i];\n if (reqInfo.method === \"GET\") {\n if (currentChangeSetId.length > 0) {\n // end an existing change set\n batchBody.push(\"--changeset_\" + currentChangeSetId + \"--\\n\\n\");\n currentChangeSetId = \"\";\n }\n batchBody.push(\"--batch_\" + _this._batchId + \"\\n\");\n }\n else {\n if (currentChangeSetId.length < 1) {\n // start new change set\n currentChangeSetId = util_1.Util.getGUID();\n batchBody.push(\"--batch_\" + _this._batchId + \"\\n\");\n batchBody.push(\"Content-Type: multipart/mixed; boundary=\\\"changeset_\" + currentChangeSetId + \"\\\"\\n\\n\");\n }\n batchBody.push(\"--changeset_\" + currentChangeSetId + \"\\n\");\n }\n // common batch part prefix\n batchBody.push(\"Content-Type: application/http\\n\");\n batchBody.push(\"Content-Transfer-Encoding: binary\\n\\n\");\n var headers = new Headers();\n // this is the url of the individual request within the batch\n var url = util_1.Util.isUrlAbsolute(reqInfo.url) ? reqInfo.url : util_1.Util.combinePaths(absoluteRequestUrl, reqInfo.url);\n logging_1.Logger.write(\"[\" + _this.batchId + \"] (\" + (new Date()).getTime() + \") Adding request \" + reqInfo.method + \" \" + url + \" to batch.\", logging_1.LogLevel.Verbose);\n if (reqInfo.method !== \"GET\") {\n var method = reqInfo.method;\n if (reqInfo.hasOwnProperty(\"options\") && reqInfo.options.hasOwnProperty(\"headers\") && typeof reqInfo.options.headers[\"X-HTTP-Method\"] !== \"undefined\") {\n method = reqInfo.options.headers[\"X-HTTP-Method\"];\n delete reqInfo.options.headers[\"X-HTTP-Method\"];\n }\n batchBody.push(method + \" \" + url + \" HTTP/1.1\\n\");\n headers.set(\"Content-Type\", \"application/json;odata=verbose;charset=utf-8\");\n }\n else {\n batchBody.push(reqInfo.method + \" \" + url + \" HTTP/1.1\\n\");\n }\n // merge global config headers\n utils_1.mergeHeaders(headers, pnplibconfig_1.RuntimeConfig.spHeaders);\n // merge per-request headers\n if (reqInfo.options) {\n utils_1.mergeHeaders(headers, reqInfo.options.headers);\n }\n // lastly we apply any default headers we need that may not exist\n if (!headers.has(\"Accept\")) {\n headers.append(\"Accept\", \"application/json\");\n }\n if (!headers.has(\"Content-Type\")) {\n headers.append(\"Content-Type\", \"application/json;odata=verbose;charset=utf-8\");\n }\n if (!headers.has(\"X-ClientService-ClientTag\")) {\n headers.append(\"X-ClientService-ClientTag\", \"PnPCoreJS:3.0.4\");\n }\n // write headers into batch body\n headers.forEach(function (value, name) {\n batchBody.push(name + \": \" + value + \"\\n\");\n });\n batchBody.push(\"\\n\");\n if (reqInfo.options.body) {\n batchBody.push(reqInfo.options.body + \"\\n\\n\");\n }\n }\n if (currentChangeSetId.length > 0) {\n // Close the changeset\n batchBody.push(\"--changeset_\" + currentChangeSetId + \"--\\n\\n\");\n currentChangeSetId = \"\";\n }\n batchBody.push(\"--batch_\" + _this._batchId + \"--\\n\");\n var batchHeaders = {\n \"Content-Type\": \"multipart/mixed; boundary=batch_\" + _this._batchId,\n };\n var batchOptions = {\n \"body\": batchBody.join(\"\"),\n \"headers\": batchHeaders,\n \"method\": \"POST\",\n };\n logging_1.Logger.write(\"[\" + _this.batchId + \"] (\" + (new Date()).getTime() + \") Sending batch request.\", logging_1.LogLevel.Info);\n return client.fetch(util_1.Util.combinePaths(absoluteRequestUrl, \"/_api/$batch\"), batchOptions)\n .then(function (r) { return r.text(); })\n .then(ODataBatch.ParseResponse)\n .then(function (responses) {\n if (responses.length !== _this._requests.length) {\n throw new exceptions_1.BatchParseException(\"Could not properly parse responses to match requests in batch.\");\n }\n logging_1.Logger.write(\"[\" + _this.batchId + \"] (\" + (new Date()).getTime() + \") Resolving batched requests.\", logging_1.LogLevel.Info);\n return responses.reduce(function (chain, response, index) {\n var request = _this._requests[index];\n logging_1.Logger.write(\"[\" + _this.batchId + \"] (\" + (new Date()).getTime() + \") Resolving batched request \" + request.method + \" \" + request.url + \".\", logging_1.LogLevel.Verbose);\n return chain.then(function (_) { return request.parser.parse(response).then(request.resolve).catch(request.reject); });\n }, Promise.resolve());\n });\n });\n };\n return ODataBatch;\n}());\nexports.ODataBatch = ODataBatch;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/batch.js\n// module id = 27\n// module chunks = 0","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/global.js\n// module id = 28\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Makes requests using the fetch API\n */\nvar FetchClient = /** @class */ (function () {\n function FetchClient() {\n }\n FetchClient.prototype.fetch = function (url, options) {\n return global.fetch(url, options);\n };\n return FetchClient;\n}());\nexports.FetchClient = FetchClient;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/net/fetchclient.js\n// module id = 29\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar util_1 = require(\"../utils/util\");\n/**\n * Allows for the fluent construction of search queries\n */\nvar SearchQueryBuilder = /** @class */ (function () {\n function SearchQueryBuilder(queryText, _query) {\n if (queryText === void 0) { queryText = \"\"; }\n if (_query === void 0) { _query = {}; }\n this._query = _query;\n if (typeof queryText === \"string\" && queryText.length > 0) {\n this.extendQuery({ Querytext: queryText });\n }\n }\n SearchQueryBuilder.create = function (queryText, queryTemplate) {\n if (queryText === void 0) { queryText = \"\"; }\n if (queryTemplate === void 0) { queryTemplate = {}; }\n return new SearchQueryBuilder(queryText, queryTemplate);\n };\n SearchQueryBuilder.prototype.text = function (queryText) {\n return this.extendQuery({ Querytext: queryText });\n };\n SearchQueryBuilder.prototype.template = function (template) {\n return this.extendQuery({ QueryTemplate: template });\n };\n SearchQueryBuilder.prototype.sourceId = function (id) {\n return this.extendQuery({ SourceId: id });\n };\n Object.defineProperty(SearchQueryBuilder.prototype, \"enableInterleaving\", {\n get: function () {\n return this.extendQuery({ EnableInterleaving: true });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchQueryBuilder.prototype, \"enableStemming\", {\n get: function () {\n return this.extendQuery({ EnableStemming: true });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchQueryBuilder.prototype, \"trimDuplicates\", {\n get: function () {\n return this.extendQuery({ TrimDuplicates: true });\n },\n enumerable: true,\n configurable: true\n });\n SearchQueryBuilder.prototype.trimDuplicatesIncludeId = function (n) {\n return this.extendQuery({ TrimDuplicatesIncludeId: n });\n };\n Object.defineProperty(SearchQueryBuilder.prototype, \"enableNicknames\", {\n get: function () {\n return this.extendQuery({ EnableNicknames: true });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchQueryBuilder.prototype, \"enableFql\", {\n get: function () {\n return this.extendQuery({ EnableFQL: true });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchQueryBuilder.prototype, \"enablePhonetic\", {\n get: function () {\n return this.extendQuery({ EnablePhonetic: true });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchQueryBuilder.prototype, \"bypassResultTypes\", {\n get: function () {\n return this.extendQuery({ BypassResultTypes: true });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchQueryBuilder.prototype, \"processBestBets\", {\n get: function () {\n return this.extendQuery({ ProcessBestBets: true });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchQueryBuilder.prototype, \"enableQueryRules\", {\n get: function () {\n return this.extendQuery({ EnableQueryRules: true });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchQueryBuilder.prototype, \"enableSorting\", {\n get: function () {\n return this.extendQuery({ EnableSorting: true });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchQueryBuilder.prototype, \"generateBlockRankLog\", {\n get: function () {\n return this.extendQuery({ GenerateBlockRankLog: true });\n },\n enumerable: true,\n configurable: true\n });\n SearchQueryBuilder.prototype.rankingModelId = function (id) {\n return this.extendQuery({ RankingModelId: id });\n };\n SearchQueryBuilder.prototype.startRow = function (n) {\n return this.extendQuery({ StartRow: n });\n };\n SearchQueryBuilder.prototype.rowLimit = function (n) {\n return this.extendQuery({ RowLimit: n });\n };\n SearchQueryBuilder.prototype.rowsPerPage = function (n) {\n return this.extendQuery({ RowsPerPage: n });\n };\n SearchQueryBuilder.prototype.selectProperties = function () {\n var properties = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n properties[_i] = arguments[_i];\n }\n return this.extendQuery({ SelectProperties: properties });\n };\n SearchQueryBuilder.prototype.culture = function (culture) {\n return this.extendQuery({ Culture: culture });\n };\n SearchQueryBuilder.prototype.timeZoneId = function (id) {\n return this.extendQuery({ TimeZoneId: id });\n };\n SearchQueryBuilder.prototype.refinementFilters = function () {\n var filters = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n filters[_i] = arguments[_i];\n }\n return this.extendQuery({ RefinementFilters: filters });\n };\n SearchQueryBuilder.prototype.refiners = function (refiners) {\n return this.extendQuery({ Refiners: refiners });\n };\n SearchQueryBuilder.prototype.hiddenConstraints = function (constraints) {\n return this.extendQuery({ HiddenConstraints: constraints });\n };\n SearchQueryBuilder.prototype.sortList = function () {\n var sorts = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sorts[_i] = arguments[_i];\n }\n return this.extendQuery({ SortList: sorts });\n };\n SearchQueryBuilder.prototype.timeout = function (milliseconds) {\n return this.extendQuery({ Timeout: milliseconds });\n };\n SearchQueryBuilder.prototype.hithighlightedProperties = function () {\n var properties = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n properties[_i] = arguments[_i];\n }\n return this.extendQuery({ HitHighlightedProperties: properties });\n };\n SearchQueryBuilder.prototype.clientType = function (clientType) {\n return this.extendQuery({ ClientType: clientType });\n };\n SearchQueryBuilder.prototype.personalizationData = function (data) {\n return this.extendQuery({ PersonalizationData: data });\n };\n SearchQueryBuilder.prototype.resultsURL = function (url) {\n return this.extendQuery({ ResultsUrl: url });\n };\n SearchQueryBuilder.prototype.queryTag = function () {\n var tags = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n tags[_i] = arguments[_i];\n }\n return this.extendQuery({ QueryTag: tags });\n };\n SearchQueryBuilder.prototype.properties = function () {\n var properties = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n properties[_i] = arguments[_i];\n }\n return this.extendQuery({ Properties: properties });\n };\n Object.defineProperty(SearchQueryBuilder.prototype, \"processPersonalFavorites\", {\n get: function () {\n return this.extendQuery({ ProcessPersonalFavorites: true });\n },\n enumerable: true,\n configurable: true\n });\n SearchQueryBuilder.prototype.queryTemplatePropertiesUrl = function (url) {\n return this.extendQuery({ QueryTemplatePropertiesUrl: url });\n };\n SearchQueryBuilder.prototype.reorderingRules = function () {\n var rules = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n rules[_i] = arguments[_i];\n }\n return this.extendQuery({ ReorderingRules: rules });\n };\n SearchQueryBuilder.prototype.hitHighlightedMultivaluePropertyLimit = function (limit) {\n return this.extendQuery({ HitHighlightedMultivaluePropertyLimit: limit });\n };\n Object.defineProperty(SearchQueryBuilder.prototype, \"enableOrderingHitHighlightedProperty\", {\n get: function () {\n return this.extendQuery({ EnableOrderingHitHighlightedProperty: true });\n },\n enumerable: true,\n configurable: true\n });\n SearchQueryBuilder.prototype.collapseSpecification = function (spec) {\n return this.extendQuery({ CollapseSpecification: spec });\n };\n SearchQueryBuilder.prototype.uiLanguage = function (lang) {\n return this.extendQuery({ UILanguage: lang });\n };\n SearchQueryBuilder.prototype.desiredSnippetLength = function (len) {\n return this.extendQuery({ DesiredSnippetLength: len });\n };\n SearchQueryBuilder.prototype.maxSnippetLength = function (len) {\n return this.extendQuery({ MaxSnippetLength: len });\n };\n SearchQueryBuilder.prototype.summaryLength = function (len) {\n return this.extendQuery({ SummaryLength: len });\n };\n SearchQueryBuilder.prototype.toSearchQuery = function () {\n return this._query;\n };\n SearchQueryBuilder.prototype.extendQuery = function (part) {\n this._query = util_1.Util.extend(this._query, part);\n return this;\n };\n return SearchQueryBuilder;\n}());\nexports.SearchQueryBuilder = SearchQueryBuilder;\n/**\n * Describes the search API\n *\n */\nvar Search = /** @class */ (function (_super) {\n __extends(Search, _super);\n /**\n * Creates a new instance of the Search class\n *\n * @param baseUrl The url for the search context\n * @param query The SearchQuery object to execute\n */\n function Search(baseUrl, path) {\n if (path === void 0) { path = \"_api/search/postquery\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * .......\n * @returns Promise\n */\n Search.prototype.execute = function (query) {\n var _this = this;\n var formattedBody;\n formattedBody = query;\n if (formattedBody.SelectProperties) {\n formattedBody.SelectProperties = this.fixupProp(query.SelectProperties);\n }\n if (formattedBody.RefinementFilters) {\n formattedBody.RefinementFilters = this.fixupProp(query.RefinementFilters);\n }\n if (formattedBody.SortList) {\n formattedBody.SortList = this.fixupProp(query.SortList);\n }\n if (formattedBody.HithighlightedProperties) {\n formattedBody.HithighlightedProperties = this.fixupProp(query.HitHighlightedProperties);\n }\n if (formattedBody.ReorderingRules) {\n formattedBody.ReorderingRules = this.fixupProp(query.ReorderingRules);\n }\n if (formattedBody.Properties) {\n formattedBody.Properties = this.fixupProp(query.Properties);\n }\n var postBody = JSON.stringify({\n request: util_1.Util.extend({\n \"__metadata\": { \"type\": \"Microsoft.Office.Server.Search.REST.SearchRequest\" },\n }, formattedBody),\n });\n return this.postCore({ body: postBody }).then(function (data) { return new SearchResults(data, _this.toUrl(), query); });\n };\n /**\n * Fixes up properties that expect to consist of a \"results\" collection when needed\n *\n * @param prop property to fixup for container struct\n */\n Search.prototype.fixupProp = function (prop) {\n if (prop.hasOwnProperty(\"results\")) {\n return prop;\n }\n return { results: prop };\n };\n return Search;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.Search = Search;\n/**\n * Describes the SearchResults class, which returns the formatted and raw version of the query response\n */\nvar SearchResults = /** @class */ (function () {\n /**\n * Creates a new instance of the SearchResult class\n *\n */\n function SearchResults(rawResponse, _url, _query, _raw, _primary) {\n if (_raw === void 0) { _raw = null; }\n if (_primary === void 0) { _primary = null; }\n this._url = _url;\n this._query = _query;\n this._raw = _raw;\n this._primary = _primary;\n this._raw = rawResponse.postquery ? rawResponse.postquery : rawResponse;\n }\n Object.defineProperty(SearchResults.prototype, \"ElapsedTime\", {\n get: function () {\n return this.RawSearchResults.ElapsedTime;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchResults.prototype, \"RowCount\", {\n get: function () {\n return this.RawSearchResults.PrimaryQueryResult.RelevantResults.RowCount;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchResults.prototype, \"TotalRows\", {\n get: function () {\n return this.RawSearchResults.PrimaryQueryResult.RelevantResults.TotalRows;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchResults.prototype, \"TotalRowsIncludingDuplicates\", {\n get: function () {\n return this.RawSearchResults.PrimaryQueryResult.RelevantResults.TotalRowsIncludingDuplicates;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchResults.prototype, \"RawSearchResults\", {\n get: function () {\n return this._raw;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SearchResults.prototype, \"PrimarySearchResults\", {\n get: function () {\n if (this._primary === null) {\n this._primary = this.formatSearchResults(this._raw.PrimaryQueryResult.RelevantResults.Table.Rows);\n }\n return this._primary;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets a page of results\n *\n * @param pageNumber Index of the page to return. Used to determine StartRow\n * @param pageSize Optional, items per page (default = 10)\n */\n SearchResults.prototype.getPage = function (pageNumber, pageSize) {\n // if we got all the available rows we don't have another page\n if (this.TotalRows < this.RowCount) {\n return Promise.resolve(null);\n }\n // if pageSize is supplied, then we use that regardless of any previous values\n // otherwise get the previous RowLimit or default to 10\n var rows = typeof pageSize !== \"undefined\" ? pageSize : this._query.hasOwnProperty(\"RowLimit\") ? this._query.RowLimit : 10;\n var query = util_1.Util.extend(this._query, {\n RowLimit: rows,\n StartRow: rows * (pageNumber - 1),\n });\n // we have reached the end\n if (query.StartRow > this.TotalRows) {\n return Promise.resolve(null);\n }\n var search = new Search(this._url, null);\n return search.execute(query);\n };\n /**\n * Formats a search results array\n *\n * @param rawResults The array to process\n */\n SearchResults.prototype.formatSearchResults = function (rawResults) {\n var results = new Array();\n var tempResults = rawResults.results ? rawResults.results : rawResults;\n for (var _i = 0, tempResults_1 = tempResults; _i < tempResults_1.length; _i++) {\n var tempResult = tempResults_1[_i];\n var cells = tempResult.Cells.results ? tempResult.Cells.results : tempResult.Cells;\n results.push(cells.reduce(function (res, cell) {\n Object.defineProperty(res, cell.Key, {\n configurable: false,\n enumerable: false,\n value: cell.Value,\n writable: false,\n });\n return res;\n }, {}));\n }\n return results;\n };\n return SearchResults;\n}());\nexports.SearchResults = SearchResults;\n/**\n * defines the SortDirection enum\n */\nvar SortDirection;\n(function (SortDirection) {\n SortDirection[SortDirection[\"Ascending\"] = 0] = \"Ascending\";\n SortDirection[SortDirection[\"Descending\"] = 1] = \"Descending\";\n SortDirection[SortDirection[\"FQLFormula\"] = 2] = \"FQLFormula\";\n})(SortDirection = exports.SortDirection || (exports.SortDirection = {}));\n/**\n * defines the ReorderingRuleMatchType enum\n */\nvar ReorderingRuleMatchType;\n(function (ReorderingRuleMatchType) {\n ReorderingRuleMatchType[ReorderingRuleMatchType[\"ResultContainsKeyword\"] = 0] = \"ResultContainsKeyword\";\n ReorderingRuleMatchType[ReorderingRuleMatchType[\"TitleContainsKeyword\"] = 1] = \"TitleContainsKeyword\";\n ReorderingRuleMatchType[ReorderingRuleMatchType[\"TitleMatchesKeyword\"] = 2] = \"TitleMatchesKeyword\";\n ReorderingRuleMatchType[ReorderingRuleMatchType[\"UrlStartsWith\"] = 3] = \"UrlStartsWith\";\n ReorderingRuleMatchType[ReorderingRuleMatchType[\"UrlExactlyMatches\"] = 4] = \"UrlExactlyMatches\";\n ReorderingRuleMatchType[ReorderingRuleMatchType[\"ContentTypeIs\"] = 5] = \"ContentTypeIs\";\n ReorderingRuleMatchType[ReorderingRuleMatchType[\"FileExtensionMatches\"] = 6] = \"FileExtensionMatches\";\n ReorderingRuleMatchType[ReorderingRuleMatchType[\"ResultHasTag\"] = 7] = \"ResultHasTag\";\n ReorderingRuleMatchType[ReorderingRuleMatchType[\"ManualCondition\"] = 8] = \"ManualCondition\";\n})(ReorderingRuleMatchType = exports.ReorderingRuleMatchType || (exports.ReorderingRuleMatchType = {}));\n/**\n * Specifies the type value for the property\n */\nvar QueryPropertyValueType;\n(function (QueryPropertyValueType) {\n QueryPropertyValueType[QueryPropertyValueType[\"None\"] = 0] = \"None\";\n QueryPropertyValueType[QueryPropertyValueType[\"StringType\"] = 1] = \"StringType\";\n QueryPropertyValueType[QueryPropertyValueType[\"Int32TYpe\"] = 2] = \"Int32TYpe\";\n QueryPropertyValueType[QueryPropertyValueType[\"BooleanType\"] = 3] = \"BooleanType\";\n QueryPropertyValueType[QueryPropertyValueType[\"StringArrayType\"] = 4] = \"StringArrayType\";\n QueryPropertyValueType[QueryPropertyValueType[\"UnSupportedType\"] = 5] = \"UnSupportedType\";\n})(QueryPropertyValueType = exports.QueryPropertyValueType || (exports.QueryPropertyValueType = {}));\nvar SearchBuiltInSourceId = /** @class */ (function () {\n function SearchBuiltInSourceId() {\n }\n SearchBuiltInSourceId.Documents = \"e7ec8cee-ded8-43c9-beb5-436b54b31e84\";\n SearchBuiltInSourceId.ItemsMatchingContentType = \"5dc9f503-801e-4ced-8a2c-5d1237132419\";\n SearchBuiltInSourceId.ItemsMatchingTag = \"e1327b9c-2b8c-4b23-99c9-3730cb29c3f7\";\n SearchBuiltInSourceId.ItemsRelatedToCurrentUser = \"48fec42e-4a92-48ce-8363-c2703a40e67d\";\n SearchBuiltInSourceId.ItemsWithSameKeywordAsThisItem = \"5c069288-1d17-454a-8ac6-9c642a065f48\";\n SearchBuiltInSourceId.LocalPeopleResults = \"b09a7990-05ea-4af9-81ef-edfab16c4e31\";\n SearchBuiltInSourceId.LocalReportsAndDataResults = \"203fba36-2763-4060-9931-911ac8c0583b\";\n SearchBuiltInSourceId.LocalSharePointResults = \"8413cd39-2156-4e00-b54d-11efd9abdb89\";\n SearchBuiltInSourceId.LocalVideoResults = \"78b793ce-7956-4669-aa3b-451fc5defebf\";\n SearchBuiltInSourceId.Pages = \"5e34578e-4d08-4edc-8bf3-002acf3cdbcc\";\n SearchBuiltInSourceId.Pictures = \"38403c8c-3975-41a8-826e-717f2d41568a\";\n SearchBuiltInSourceId.Popular = \"97c71db1-58ce-4891-8b64-585bc2326c12\";\n SearchBuiltInSourceId.RecentlyChangedItems = \"ba63bbae-fa9c-42c0-b027-9a878f16557c\";\n SearchBuiltInSourceId.RecommendedItems = \"ec675252-14fa-4fbe-84dd-8d098ed74181\";\n SearchBuiltInSourceId.Wiki = \"9479bf85-e257-4318-b5a8-81a180f5faa1\";\n return SearchBuiltInSourceId;\n}());\nexports.SearchBuiltInSourceId = SearchBuiltInSourceId;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/search.js\n// module id = 30\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar storage_1 = require(\"../utils/storage\");\nvar util_1 = require(\"../utils/util\");\nvar pnplibconfig_1 = require(\"../configuration/pnplibconfig\");\nvar CachingOptions = /** @class */ (function () {\n function CachingOptions(key) {\n this.key = key;\n this.expiration = util_1.Util.dateAdd(new Date(), \"second\", pnplibconfig_1.RuntimeConfig.defaultCachingTimeoutSeconds);\n this.storeName = pnplibconfig_1.RuntimeConfig.defaultCachingStore;\n }\n Object.defineProperty(CachingOptions.prototype, \"store\", {\n get: function () {\n if (this.storeName === \"local\") {\n return CachingOptions.storage.local;\n }\n else {\n return CachingOptions.storage.session;\n }\n },\n enumerable: true,\n configurable: true\n });\n CachingOptions.storage = new storage_1.PnPClientStorage();\n return CachingOptions;\n}());\nexports.CachingOptions = CachingOptions;\nvar CachingParserWrapper = /** @class */ (function () {\n function CachingParserWrapper(_parser, _cacheOptions) {\n this._parser = _parser;\n this._cacheOptions = _cacheOptions;\n }\n CachingParserWrapper.prototype.parse = function (response) {\n var _this = this;\n // add this to the cache based on the options\n return this._parser.parse(response).then(function (data) {\n if (_this._cacheOptions.store !== null) {\n _this._cacheOptions.store.put(_this._cacheOptions.key, data, _this._cacheOptions.expiration);\n }\n return data;\n });\n };\n return CachingParserWrapper;\n}());\nexports.CachingParserWrapper = CachingParserWrapper;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/odata/caching.js\n// module id = 31\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar SearchSuggest = /** @class */ (function (_super) {\n __extends(SearchSuggest, _super);\n function SearchSuggest(baseUrl, path) {\n if (path === void 0) { path = \"_api/search/suggest\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n SearchSuggest.prototype.execute = function (query) {\n this.mapQueryToQueryString(query);\n return this.get().then(function (response) { return new SearchSuggestResult(response); });\n };\n SearchSuggest.prototype.mapQueryToQueryString = function (query) {\n this.query.add(\"querytext\", \"'\" + query.querytext + \"'\");\n if (query.hasOwnProperty(\"count\")) {\n this.query.add(\"inumberofquerysuggestions\", query.count.toString());\n }\n if (query.hasOwnProperty(\"personalCount\")) {\n this.query.add(\"inumberofresultsuggestions\", query.personalCount.toString());\n }\n if (query.hasOwnProperty(\"preQuery\")) {\n this.query.add(\"fprequerysuggestions\", query.preQuery.toString());\n }\n if (query.hasOwnProperty(\"hitHighlighting\")) {\n this.query.add(\"fhithighlighting\", query.hitHighlighting.toString());\n }\n if (query.hasOwnProperty(\"capitalize\")) {\n this.query.add(\"fcapitalizefirstletters\", query.capitalize.toString());\n }\n if (query.hasOwnProperty(\"culture\")) {\n this.query.add(\"culture\", query.culture.toString());\n }\n if (query.hasOwnProperty(\"stemming\")) {\n this.query.add(\"enablestemming\", query.stemming.toString());\n }\n if (query.hasOwnProperty(\"includePeople\")) {\n this.query.add(\"showpeoplenamesuggestions\", query.includePeople.toString());\n }\n if (query.hasOwnProperty(\"queryRules\")) {\n this.query.add(\"enablequeryrules\", query.queryRules.toString());\n }\n if (query.hasOwnProperty(\"prefixMatch\")) {\n this.query.add(\"fprefixmatchallterms\", query.prefixMatch.toString());\n }\n };\n return SearchSuggest;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.SearchSuggest = SearchSuggest;\nvar SearchSuggestResult = /** @class */ (function () {\n function SearchSuggestResult(json) {\n if (json.hasOwnProperty(\"suggest\")) {\n // verbose\n this.PeopleNames = json.suggest.PeopleNames.results;\n this.PersonalResults = json.suggest.PersonalResults.results;\n this.Queries = json.suggest.Queries.results;\n }\n else {\n this.PeopleNames = json.PeopleNames;\n this.PersonalResults = json.PersonalResults;\n this.Queries = json.Queries;\n }\n }\n return SearchSuggestResult;\n}());\nexports.SearchSuggestResult = SearchSuggestResult;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/searchsuggest.js\n// module id = 32\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar webs_1 = require(\"./webs\");\nvar usercustomactions_1 = require(\"./usercustomactions\");\nvar odata_1 = require(\"./odata\");\nvar batch_1 = require(\"./batch\");\nvar features_1 = require(\"./features\");\n/**\n * Describes a site collection\n *\n */\nvar Site = /** @class */ (function (_super) {\n __extends(Site, _super);\n /**\n * Creates a new instance of the Site class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this site collection\n */\n function Site(baseUrl, path) {\n if (path === void 0) { path = \"_api/site\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n Object.defineProperty(Site.prototype, \"rootWeb\", {\n /**\n * Gets the root web of the site collection\n *\n */\n get: function () {\n return new webs_1.Web(this, \"rootweb\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Site.prototype, \"features\", {\n /**\n * Gets the active features for this site collection\n *\n */\n get: function () {\n return new features_1.Features(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Site.prototype, \"userCustomActions\", {\n /**\n * Gets all custom actions for this site collection\n *\n */\n get: function () {\n return new usercustomactions_1.UserCustomActions(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the context information for this site collection\n */\n Site.prototype.getContextInfo = function () {\n var q = new Site(this.parentUrl, \"_api/contextinfo\");\n return q.postCore().then(function (data) {\n if (data.hasOwnProperty(\"GetContextWebInformation\")) {\n var info = data.GetContextWebInformation;\n info.SupportedSchemaVersions = info.SupportedSchemaVersions.results;\n return info;\n }\n else {\n return data;\n }\n });\n };\n /**\n * Gets the document libraries on a site. Static method. (SharePoint Online only)\n *\n * @param absoluteWebUrl The absolute url of the web whose document libraries should be returned\n */\n Site.prototype.getDocumentLibraries = function (absoluteWebUrl) {\n var q = new sharepointqueryable_1.SharePointQueryable(\"\", \"_api/sp.web.getdocumentlibraries(@v)\");\n q.query.add(\"@v\", \"'\" + absoluteWebUrl + \"'\");\n return q.get().then(function (data) {\n if (data.hasOwnProperty(\"GetDocumentLibraries\")) {\n return data.GetDocumentLibraries;\n }\n else {\n return data;\n }\n });\n };\n /**\n * Gets the site url from a page url\n *\n * @param absolutePageUrl The absolute url of the page\n */\n Site.prototype.getWebUrlFromPageUrl = function (absolutePageUrl) {\n var q = new sharepointqueryable_1.SharePointQueryable(\"\", \"_api/sp.web.getweburlfrompageurl(@v)\");\n q.query.add(\"@v\", \"'\" + absolutePageUrl + \"'\");\n return q.get().then(function (data) {\n if (data.hasOwnProperty(\"GetWebUrlFromPageUrl\")) {\n return data.GetWebUrlFromPageUrl;\n }\n else {\n return data;\n }\n });\n };\n /**\n * Creates a new batch for requests within the context of this site collection\n *\n */\n Site.prototype.createBatch = function () {\n return new batch_1.ODataBatch(this.parentUrl);\n };\n /**\n * Opens a web by id (using POST)\n *\n * @param webId The GUID id of the web to open\n */\n Site.prototype.openWebById = function (webId) {\n return this.clone(Site, \"openWebById('\" + webId + \"')\").postCore().then(function (d) {\n return {\n data: d,\n web: webs_1.Web.fromUrl(odata_1.spExtractODataId(d)),\n };\n });\n };\n return Site;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.Site = Site;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/site.js\n// module id = 33\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar webs_1 = require(\"./webs\");\nvar roles_1 = require(\"./roles\");\nvar types_1 = require(\"./types\");\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar SharePointQueryableSecurable = /** @class */ (function (_super) {\n __extends(SharePointQueryableSecurable, _super);\n function SharePointQueryableSecurable() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SharePointQueryableSecurable.prototype, \"roleAssignments\", {\n /**\n * Gets the set of role assignments for this item\n *\n */\n get: function () {\n return new roles_1.RoleAssignments(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SharePointQueryableSecurable.prototype, \"firstUniqueAncestorSecurableObject\", {\n /**\n * Gets the closest securable up the security hierarchy whose permissions are applied to this list item\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableInstance(this, \"FirstUniqueAncestorSecurableObject\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the effective permissions for the user supplied\n *\n * @param loginName The claims username for the user (ex: i:0#.f|membership|user@domain.com)\n */\n SharePointQueryableSecurable.prototype.getUserEffectivePermissions = function (loginName) {\n var q = this.clone(sharepointqueryable_1.SharePointQueryable, \"getUserEffectivePermissions(@user)\");\n q.query.add(\"@user\", \"'\" + encodeURIComponent(loginName) + \"'\");\n return q.get().then(function (r) {\n // handle verbose mode\n return r.hasOwnProperty(\"GetUserEffectivePermissions\") ? r.GetUserEffectivePermissions : r;\n });\n };\n /**\n * Gets the effective permissions for the current user\n */\n SharePointQueryableSecurable.prototype.getCurrentUserEffectivePermissions = function () {\n var _this = this;\n var w = webs_1.Web.fromUrl(this.toUrl());\n return w.currentUser.select(\"LoginName\").getAs().then(function (user) {\n return _this.getUserEffectivePermissions(user.LoginName);\n });\n };\n /**\n * Breaks the security inheritance at this level optinally copying permissions and clearing subscopes\n *\n * @param copyRoleAssignments If true the permissions are copied from the current parent scope\n * @param clearSubscopes Optional. true to make all child securable objects inherit role assignments from the current object\n */\n SharePointQueryableSecurable.prototype.breakRoleInheritance = function (copyRoleAssignments, clearSubscopes) {\n if (copyRoleAssignments === void 0) { copyRoleAssignments = false; }\n if (clearSubscopes === void 0) { clearSubscopes = false; }\n return this.clone(SharePointQueryableSecurable, \"breakroleinheritance(copyroleassignments=\" + copyRoleAssignments + \", clearsubscopes=\" + clearSubscopes + \")\").postCore();\n };\n /**\n * Removes the local role assignments so that it re-inherit role assignments from the parent object.\n *\n */\n SharePointQueryableSecurable.prototype.resetRoleInheritance = function () {\n return this.clone(SharePointQueryableSecurable, \"resetroleinheritance\").postCore();\n };\n /**\n * Determines if a given user has the appropriate permissions\n *\n * @param loginName The user to check\n * @param permission The permission being checked\n */\n SharePointQueryableSecurable.prototype.userHasPermissions = function (loginName, permission) {\n var _this = this;\n return this.getUserEffectivePermissions(loginName).then(function (perms) {\n return _this.hasPermissions(perms, permission);\n });\n };\n /**\n * Determines if the current user has the requested permissions\n *\n * @param permission The permission we wish to check\n */\n SharePointQueryableSecurable.prototype.currentUserHasPermissions = function (permission) {\n var _this = this;\n return this.getCurrentUserEffectivePermissions().then(function (perms) {\n return _this.hasPermissions(perms, permission);\n });\n };\n /**\n * Taken from sp.js, checks the supplied permissions against the mask\n *\n * @param value The security principal's permissions on the given object\n * @param perm The permission checked against the value\n */\n /* tslint:disable:no-bitwise */\n SharePointQueryableSecurable.prototype.hasPermissions = function (value, perm) {\n if (!perm) {\n return true;\n }\n var low = parseFloat(value.Low);\n var high = parseFloat(value.High);\n if (perm === types_1.PermissionKind.FullMask) {\n return (high & 32767) === 32767 && low === 65535;\n }\n perm = perm - 1;\n var num = 1;\n if (perm >= 0 && perm < 32) {\n num = num << perm;\n return 0 !== (low & num);\n }\n else if (perm >= 32 && perm < 64) {\n num = num << perm - 32;\n return 0 !== (high & num);\n }\n return false;\n };\n return SharePointQueryableSecurable;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.SharePointQueryableSecurable = SharePointQueryableSecurable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/sharepointqueryablesecurable.js\n// module id = 34\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar sitegroups_1 = require(\"./sitegroups\");\nvar util_1 = require(\"../utils/util\");\n/**\n * Describes a collection of all site collection users\n *\n */\nvar SiteUsers = /** @class */ (function (_super) {\n __extends(SiteUsers, _super);\n /**\n * Creates a new instance of the SiteUsers class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this user collection\n */\n function SiteUsers(baseUrl, path) {\n if (path === void 0) { path = \"siteusers\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a user from the collection by email\n *\n * @param email The email address of the user to retrieve\n */\n SiteUsers.prototype.getByEmail = function (email) {\n return new SiteUser(this, \"getByEmail('\" + email + \"')\");\n };\n /**\n * Gets a user from the collection by id\n *\n * @param id The id of the user to retrieve\n */\n SiteUsers.prototype.getById = function (id) {\n return new SiteUser(this, \"getById(\" + id + \")\");\n };\n /**\n * Gets a user from the collection by login name\n *\n * @param loginName The login name of the user to retrieve\n */\n SiteUsers.prototype.getByLoginName = function (loginName) {\n var su = new SiteUser(this);\n su.concat(\"('!@v::\" + encodeURIComponent(loginName) + \"')\");\n return su;\n };\n /**\n * Removes a user from the collection by id\n *\n * @param id The id of the user to remove\n */\n SiteUsers.prototype.removeById = function (id) {\n return this.clone(SiteUsers, \"removeById(\" + id + \")\").postCore();\n };\n /**\n * Removes a user from the collection by login name\n *\n * @param loginName The login name of the user to remove\n */\n SiteUsers.prototype.removeByLoginName = function (loginName) {\n var o = this.clone(SiteUsers, \"removeByLoginName(@v)\");\n o.query.add(\"@v\", \"'\" + encodeURIComponent(loginName) + \"'\");\n return o.postCore();\n };\n /**\n * Adds a user to a group\n *\n * @param loginName The login name of the user to add to the group\n *\n */\n SiteUsers.prototype.add = function (loginName) {\n var _this = this;\n return this.clone(SiteUsers, null).postCore({\n body: JSON.stringify({ \"__metadata\": { \"type\": \"SP.User\" }, LoginName: loginName }),\n }).then(function () { return _this.getByLoginName(loginName); });\n };\n return SiteUsers;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.SiteUsers = SiteUsers;\n/**\n * Describes a single user\n *\n */\nvar SiteUser = /** @class */ (function (_super) {\n __extends(SiteUser, _super);\n function SiteUser() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SiteUser.prototype, \"groups\", {\n /**\n * Gets the groups for this user\n *\n */\n get: function () {\n return new sitegroups_1.SiteGroups(this, \"groups\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Updates this user instance with the supplied properties\n *\n * @param properties A plain object of property names and values to update for the user\n */\n SiteUser.prototype.update = function (properties) {\n var _this = this;\n var postBody = util_1.Util.extend({ \"__metadata\": { \"type\": \"SP.User\" } }, properties);\n return this.postCore({\n body: JSON.stringify(postBody),\n headers: {\n \"X-HTTP-Method\": \"MERGE\",\n },\n }).then(function (data) {\n return {\n data: data,\n user: _this,\n };\n });\n };\n /**\n * Delete this user\n *\n */\n SiteUser.prototype.delete = function () {\n return this.postCore({\n headers: {\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n return SiteUser;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.SiteUser = SiteUser;\n/**\n * Represents the current user\n */\nvar CurrentUser = /** @class */ (function (_super) {\n __extends(CurrentUser, _super);\n function CurrentUser(baseUrl, path) {\n if (path === void 0) { path = \"currentuser\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n return CurrentUser;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.CurrentUser = CurrentUser;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/siteusers.js\n// module id = 35\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar LimitedWebPartManager = /** @class */ (function (_super) {\n __extends(LimitedWebPartManager, _super);\n function LimitedWebPartManager() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(LimitedWebPartManager.prototype, \"webparts\", {\n /**\n * Gets the set of web part definitions contained by this web part manager\n *\n */\n get: function () {\n return new WebPartDefinitions(this, \"webparts\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Exports a webpart definition\n *\n * @param id the GUID id of the definition to export\n */\n LimitedWebPartManager.prototype.export = function (id) {\n return this.clone(LimitedWebPartManager, \"ExportWebPart\").postCore({\n body: JSON.stringify({ webPartId: id }),\n });\n };\n /**\n * Imports a webpart\n *\n * @param xml webpart definition which must be valid XML in the .dwp or .webpart format\n */\n LimitedWebPartManager.prototype.import = function (xml) {\n return this.clone(LimitedWebPartManager, \"ImportWebPart\").postCore({\n body: JSON.stringify({ webPartXml: xml }),\n });\n };\n return LimitedWebPartManager;\n}(sharepointqueryable_1.SharePointQueryable));\nexports.LimitedWebPartManager = LimitedWebPartManager;\nvar WebPartDefinitions = /** @class */ (function (_super) {\n __extends(WebPartDefinitions, _super);\n function WebPartDefinitions() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Gets a web part definition from the collection by id\n *\n * @param id The storage ID of the SPWebPartDefinition to retrieve\n */\n WebPartDefinitions.prototype.getById = function (id) {\n return new WebPartDefinition(this, \"getbyid('\" + id + \"')\");\n };\n /**\n * Gets a web part definition from the collection by storage id\n *\n * @param id The WebPart.ID of the SPWebPartDefinition to retrieve\n */\n WebPartDefinitions.prototype.getByControlId = function (id) {\n return new WebPartDefinition(this, \"getByControlId('\" + id + \"')\");\n };\n return WebPartDefinitions;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.WebPartDefinitions = WebPartDefinitions;\nvar WebPartDefinition = /** @class */ (function (_super) {\n __extends(WebPartDefinition, _super);\n function WebPartDefinition() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(WebPartDefinition.prototype, \"webpart\", {\n /**\n * Gets the webpart information associated with this definition\n */\n get: function () {\n return new WebPart(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Saves changes to the Web Part made using other properties and methods on the SPWebPartDefinition object\n */\n WebPartDefinition.prototype.saveChanges = function () {\n return this.clone(WebPartDefinition, \"SaveWebPartChanges\").postCore();\n };\n /**\n * Moves the Web Part to a different location on a Web Part Page\n *\n * @param zoneId The ID of the Web Part Zone to which to move the Web Part\n * @param zoneIndex A Web Part zone index that specifies the position at which the Web Part is to be moved within the destination Web Part zone\n */\n WebPartDefinition.prototype.moveTo = function (zoneId, zoneIndex) {\n return this.clone(WebPartDefinition, \"MoveWebPartTo(zoneID='\" + zoneId + \"', zoneIndex=\" + zoneIndex + \")\").postCore();\n };\n /**\n * Closes the Web Part. If the Web Part is already closed, this method does nothing\n */\n WebPartDefinition.prototype.close = function () {\n return this.clone(WebPartDefinition, \"CloseWebPart\").postCore();\n };\n /**\n * Opens the Web Part. If the Web Part is already closed, this method does nothing\n */\n WebPartDefinition.prototype.open = function () {\n return this.clone(WebPartDefinition, \"OpenWebPart\").postCore();\n };\n /**\n * Removes a webpart from a page, all settings will be lost\n */\n WebPartDefinition.prototype.delete = function () {\n return this.clone(WebPartDefinition, \"DeleteWebPart\").postCore();\n };\n return WebPartDefinition;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.WebPartDefinition = WebPartDefinition;\nvar WebPart = /** @class */ (function (_super) {\n __extends(WebPart, _super);\n /**\n * Creates a new instance of the WebPart class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n * @param path Optional, if supplied will be appended to the supplied baseUrl\n */\n function WebPart(baseUrl, path) {\n if (path === void 0) { path = \"webpart\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n return WebPart;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.WebPart = WebPart;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/webparts.js\n// module id = 36\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar util_1 = require(\"../utils/util\");\nvar types_1 = require(\"./types\");\n/**\n * Describes a collection of Field objects\n *\n */\nvar Fields = /** @class */ (function (_super) {\n __extends(Fields, _super);\n /**\n * Creates a new instance of the Fields class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function Fields(baseUrl, path) {\n if (path === void 0) { path = \"fields\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a field from the collection by title\n *\n * @param title The case-sensitive title of the field\n */\n Fields.prototype.getByTitle = function (title) {\n return new Field(this, \"getByTitle('\" + title + \"')\");\n };\n /**\n * Gets a field from the collection by using internal name or title\n *\n * @param name The case-sensitive internal name or title of the field\n */\n Fields.prototype.getByInternalNameOrTitle = function (name) {\n return new Field(this, \"getByInternalNameOrTitle('\" + name + \"')\");\n };\n /**\n * Gets a list from the collection by guid id\n *\n * @param id The Id of the list\n */\n Fields.prototype.getById = function (id) {\n var f = new Field(this);\n f.concat(\"('\" + id + \"')\");\n return f;\n };\n /**\n * Creates a field based on the specified schema\n */\n Fields.prototype.createFieldAsXml = function (xml) {\n var _this = this;\n var info;\n if (typeof xml === \"string\") {\n info = { SchemaXml: xml };\n }\n else {\n info = xml;\n }\n var postBody = JSON.stringify({\n \"parameters\": util_1.Util.extend({\n \"__metadata\": {\n \"type\": \"SP.XmlSchemaFieldCreationInformation\",\n },\n }, info),\n });\n return this.clone(Fields, \"createfieldasxml\").postAsCore({ body: postBody }).then(function (data) {\n return {\n data: data,\n field: _this.getById(data.Id),\n };\n });\n };\n /**\n * Adds a new list to the collection\n *\n * @param title The new field's title\n * @param fieldType The new field's type (ex: SP.FieldText)\n * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)\n */\n Fields.prototype.add = function (title, fieldType, properties) {\n var _this = this;\n if (properties === void 0) { properties = {}; }\n var postBody = JSON.stringify(util_1.Util.extend({\n \"Title\": title,\n \"__metadata\": { \"type\": fieldType },\n }, properties));\n return this.clone(Fields, null).postAsCore({ body: postBody }).then(function (data) {\n return {\n data: data,\n field: _this.getById(data.Id),\n };\n });\n };\n /**\n * Adds a new SP.FieldText to the collection\n *\n * @param title The field title\n * @param maxLength The maximum number of characters allowed in the value of the field.\n * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)\n */\n Fields.prototype.addText = function (title, maxLength, properties) {\n if (maxLength === void 0) { maxLength = 255; }\n var props = {\n FieldTypeKind: 2,\n MaxLength: maxLength,\n };\n return this.add(title, \"SP.FieldText\", util_1.Util.extend(props, properties));\n };\n /**\n * Adds a new SP.FieldCalculated to the collection\n *\n * @param title The field title.\n * @param formula The formula for the field.\n * @param dateFormat The date and time format that is displayed in the field.\n * @param outputType Specifies the output format for the field. Represents a FieldType value.\n * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)\n */\n Fields.prototype.addCalculated = function (title, formula, dateFormat, outputType, properties) {\n if (outputType === void 0) { outputType = types_1.FieldTypes.Text; }\n var props = {\n DateFormat: dateFormat,\n FieldTypeKind: 17,\n Formula: formula,\n OutputType: outputType,\n };\n return this.add(title, \"SP.FieldCalculated\", util_1.Util.extend(props, properties));\n };\n /**\n * Adds a new SP.FieldDateTime to the collection\n *\n * @param title The field title\n * @param displayFormat The format of the date and time that is displayed in the field.\n * @param calendarType Specifies the calendar type of the field.\n * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)\n */\n Fields.prototype.addDateTime = function (title, displayFormat, calendarType, friendlyDisplayFormat, properties) {\n if (displayFormat === void 0) { displayFormat = types_1.DateTimeFieldFormatType.DateOnly; }\n if (calendarType === void 0) { calendarType = types_1.CalendarType.Gregorian; }\n if (friendlyDisplayFormat === void 0) { friendlyDisplayFormat = 0; }\n var props = {\n DateTimeCalendarType: calendarType,\n DisplayFormat: displayFormat,\n FieldTypeKind: 4,\n FriendlyDisplayFormat: friendlyDisplayFormat,\n };\n return this.add(title, \"SP.FieldDateTime\", util_1.Util.extend(props, properties));\n };\n /**\n * Adds a new SP.FieldNumber to the collection\n *\n * @param title The field title\n * @param minValue The field's minimum value\n * @param maxValue The field's maximum value\n * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)\n */\n Fields.prototype.addNumber = function (title, minValue, maxValue, properties) {\n var props = { FieldTypeKind: 9 };\n if (typeof minValue !== \"undefined\") {\n props = util_1.Util.extend({ MinimumValue: minValue }, props);\n }\n if (typeof maxValue !== \"undefined\") {\n props = util_1.Util.extend({ MaximumValue: maxValue }, props);\n }\n return this.add(title, \"SP.FieldNumber\", util_1.Util.extend(props, properties));\n };\n /**\n * Adds a new SP.FieldCurrency to the collection\n *\n * @param title The field title\n * @param minValue The field's minimum value\n * @param maxValue The field's maximum value\n * @param currencyLocalId Specifies the language code identifier (LCID) used to format the value of the field\n * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)\n */\n Fields.prototype.addCurrency = function (title, minValue, maxValue, currencyLocalId, properties) {\n if (currencyLocalId === void 0) { currencyLocalId = 1033; }\n var props = {\n CurrencyLocaleId: currencyLocalId,\n FieldTypeKind: 10,\n };\n if (typeof minValue !== \"undefined\") {\n props = util_1.Util.extend({ MinimumValue: minValue }, props);\n }\n if (typeof maxValue !== \"undefined\") {\n props = util_1.Util.extend({ MaximumValue: maxValue }, props);\n }\n return this.add(title, \"SP.FieldCurrency\", util_1.Util.extend(props, properties));\n };\n /**\n * Adds a new SP.FieldMultiLineText to the collection\n *\n * @param title The field title\n * @param numberOfLines Specifies the number of lines of text to display for the field.\n * @param richText Specifies whether the field supports rich formatting.\n * @param restrictedMode Specifies whether the field supports a subset of rich formatting.\n * @param appendOnly Specifies whether all changes to the value of the field are displayed in list forms.\n * @param allowHyperlink Specifies whether a hyperlink is allowed as a value of the field.\n * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)\n *\n */\n Fields.prototype.addMultilineText = function (title, numberOfLines, richText, restrictedMode, appendOnly, allowHyperlink, properties) {\n if (numberOfLines === void 0) { numberOfLines = 6; }\n if (richText === void 0) { richText = true; }\n if (restrictedMode === void 0) { restrictedMode = false; }\n if (appendOnly === void 0) { appendOnly = false; }\n if (allowHyperlink === void 0) { allowHyperlink = true; }\n var props = {\n AllowHyperlink: allowHyperlink,\n AppendOnly: appendOnly,\n FieldTypeKind: 3,\n NumberOfLines: numberOfLines,\n RestrictedMode: restrictedMode,\n RichText: richText,\n };\n return this.add(title, \"SP.FieldMultiLineText\", util_1.Util.extend(props, properties));\n };\n /**\n * Adds a new SP.FieldUrl to the collection\n *\n * @param title The field title\n */\n Fields.prototype.addUrl = function (title, displayFormat, properties) {\n if (displayFormat === void 0) { displayFormat = types_1.UrlFieldFormatType.Hyperlink; }\n var props = {\n DisplayFormat: displayFormat,\n FieldTypeKind: 11,\n };\n return this.add(title, \"SP.FieldUrl\", util_1.Util.extend(props, properties));\n };\n return Fields;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Fields = Fields;\n/**\n * Describes a single of Field instance\n *\n */\nvar Field = /** @class */ (function (_super) {\n __extends(Field, _super);\n function Field() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Updates this field intance with the supplied properties\n *\n * @param properties A plain object hash of values to update for the list\n * @param fieldType The type value, required to update child field type properties\n */\n Field.prototype.update = function (properties, fieldType) {\n var _this = this;\n if (fieldType === void 0) { fieldType = \"SP.Field\"; }\n var postBody = JSON.stringify(util_1.Util.extend({\n \"__metadata\": { \"type\": fieldType },\n }, properties));\n return this.postCore({\n body: postBody,\n headers: {\n \"X-HTTP-Method\": \"MERGE\",\n },\n }).then(function (data) {\n return {\n data: data,\n field: _this,\n };\n });\n };\n /**\n * Delete this fields\n *\n */\n Field.prototype.delete = function () {\n return this.postCore({\n headers: {\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n /**\n * Sets the value of the ShowInDisplayForm property for this field.\n */\n Field.prototype.setShowInDisplayForm = function (show) {\n return this.clone(Field, \"setshowindisplayform(\" + show + \")\").postCore();\n };\n /**\n * Sets the value of the ShowInEditForm property for this field.\n */\n Field.prototype.setShowInEditForm = function (show) {\n return this.clone(Field, \"setshowineditform(\" + show + \")\").postCore();\n };\n /**\n * Sets the value of the ShowInNewForm property for this field.\n */\n Field.prototype.setShowInNewForm = function (show) {\n return this.clone(Field, \"setshowinnewform(\" + show + \")\").postCore();\n };\n return Field;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.Field = Field;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/fields.js\n// module id = 37\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\n/**\n * Describes a collection of List objects\n *\n */\nvar Features = /** @class */ (function (_super) {\n __extends(Features, _super);\n /**\n * Creates a new instance of the Lists class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function Features(baseUrl, path) {\n if (path === void 0) { path = \"features\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a list from the collection by guid id\n *\n * @param id The Id of the feature (GUID)\n */\n Features.prototype.getById = function (id) {\n var feature = new Feature(this);\n feature.concat(\"('\" + id + \"')\");\n return feature;\n };\n /**\n * Adds a new list to the collection\n *\n * @param id The Id of the feature (GUID)\n * @param force If true the feature activation will be forced\n */\n Features.prototype.add = function (id, force) {\n var _this = this;\n if (force === void 0) { force = false; }\n return this.clone(Features, \"add\").postCore({\n body: JSON.stringify({\n featdefScope: 0,\n featureId: id,\n force: force,\n }),\n }).then(function (data) {\n return {\n data: data,\n feature: _this.getById(id),\n };\n });\n };\n /**\n * Removes (deactivates) a feature from the collection\n *\n * @param id The Id of the feature (GUID)\n * @param force If true the feature deactivation will be forced\n */\n Features.prototype.remove = function (id, force) {\n if (force === void 0) { force = false; }\n return this.clone(Features, \"remove\").postCore({\n body: JSON.stringify({\n featureId: id,\n force: force,\n }),\n });\n };\n return Features;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Features = Features;\nvar Feature = /** @class */ (function (_super) {\n __extends(Feature, _super);\n function Feature() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Removes (deactivates) a feature from the collection\n *\n * @param force If true the feature deactivation will be forced\n */\n Feature.prototype.deactivate = function (force) {\n var _this = this;\n if (force === void 0) { force = false; }\n var removeDependency = this.addBatchDependency();\n var idGet = new Feature(this).select(\"DefinitionId\");\n return idGet.getAs().then(function (feature) {\n var promise = _this.getParent(Features, _this.parentUrl, \"\", _this.batch).remove(feature.DefinitionId, force);\n removeDependency();\n return promise;\n });\n };\n return Feature;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.Feature = Feature;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/features.js\n// module id = 38\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar files_1 = require(\"./files\");\nvar odata_1 = require(\"./odata\");\nvar util_1 = require(\"../utils/util\");\n/**\n * Represents an app catalog\n */\nvar AppCatalog = /** @class */ (function (_super) {\n __extends(AppCatalog, _super);\n function AppCatalog(baseUrl, path) {\n if (path === void 0) { path = \"_api/web/tenantappcatalog/AvailableApps\"; }\n var _this = this;\n // we need to handle the case of getting created from something that already has \"_api/...\" or does not\n var candidateUrl = \"\";\n if (typeof baseUrl === \"string\") {\n candidateUrl = baseUrl;\n }\n else if (typeof baseUrl !== \"undefined\") {\n candidateUrl = baseUrl.toUrl();\n }\n _this = _super.call(this, util_1.extractWebUrl(candidateUrl), path) || this;\n return _this;\n }\n /**\n * Get details of specific app from the app catalog\n * @param id - Specify the guid of the app\n */\n AppCatalog.prototype.getAppById = function (id) {\n return new App(this, \"getById('\" + id + \"')\");\n };\n /**\n * Uploads an app package. Not supported for batching\n *\n * @param filename Filename to create.\n * @param content app package data (eg: the .app or .sppkg file).\n * @param shouldOverWrite Should an app with the same name in the same location be overwritten? (default: true)\n * @returns Promise\n */\n AppCatalog.prototype.add = function (filename, content, shouldOverWrite) {\n if (shouldOverWrite === void 0) { shouldOverWrite = true; }\n // you don't add to the availableapps collection\n var adder = new AppCatalog(util_1.extractWebUrl(this.toUrl()), \"_api/web/tenantappcatalog/add(overwrite=\" + shouldOverWrite + \",url='\" + filename + \"')\");\n return adder.postCore({\n body: content,\n }).then(function (r) {\n return {\n data: r,\n file: new files_1.File(odata_1.spExtractODataId(r)),\n };\n });\n };\n return AppCatalog;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.AppCatalog = AppCatalog;\n/**\n * Represents the actions you can preform on a given app within the catalog\n */\nvar App = /** @class */ (function (_super) {\n __extends(App, _super);\n function App() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * This method deploys an app on the app catalog. It must be called in the context\n * of the tenant app catalog web or it will fail.\n */\n App.prototype.deploy = function () {\n return this.clone(App, \"Deploy\").postCore();\n };\n /**\n * This method retracts a deployed app on the app catalog. It must be called in the context\n * of the tenant app catalog web or it will fail.\n */\n App.prototype.retract = function () {\n return this.clone(App, \"Retract\").postCore();\n };\n /**\n * This method allows an app which is already deployed to be installed on a web\n */\n App.prototype.install = function () {\n return this.clone(App, \"Install\").postCore();\n };\n /**\n * This method allows an app which is already insatlled to be uninstalled on a web\n */\n App.prototype.uninstall = function () {\n return this.clone(App, \"Uninstall\").postCore();\n };\n /**\n * This method allows an app which is already insatlled to be upgraded on a web\n */\n App.prototype.upgrade = function () {\n return this.clone(App, \"Upgrade\").postCore();\n };\n /**\n * This method removes an app from the app catalog. It must be called in the context\n * of the tenant app catalog web or it will fail.\n */\n App.prototype.remove = function () {\n return this.clone(App, \"Remove\").postCore();\n };\n return App;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.App = App;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/appcatalog.js\n// module id = 39\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar util_1 = require(\"../utils/util\");\nvar files_1 = require(\"./files\");\nvar odata_1 = require(\"./odata\");\n/**\n * Allows for calling of the static SP.Utilities.Utility methods by supplying the method name\n */\nvar UtilityMethod = /** @class */ (function (_super) {\n __extends(UtilityMethod, _super);\n /**\n * Creates a new instance of the Utility method class\n *\n * @param baseUrl The parent url provider\n * @param methodName The static method name to call on the utility class\n */\n function UtilityMethod(baseUrl, methodName) {\n return _super.call(this, UtilityMethod.getBaseUrl(baseUrl), \"_api/SP.Utilities.Utility.\" + methodName) || this;\n }\n UtilityMethod.getBaseUrl = function (candidate) {\n if (typeof candidate === \"string\") {\n return candidate;\n }\n var c = candidate;\n var url = c.toUrl();\n var index = url.indexOf(\"_api/\");\n if (index < 0) {\n return url;\n }\n return url.substr(0, index);\n };\n UtilityMethod.prototype.excute = function (props) {\n return this.postAsCore({\n body: JSON.stringify(props),\n });\n };\n /**\n * Sends an email based on the supplied properties\n *\n * @param props The properties of the email to send\n */\n UtilityMethod.prototype.sendEmail = function (props) {\n var params = {\n properties: {\n Body: props.Body,\n From: props.From,\n Subject: props.Subject,\n \"__metadata\": { \"type\": \"SP.Utilities.EmailProperties\" },\n },\n };\n if (props.To && props.To.length > 0) {\n params.properties = util_1.Util.extend(params.properties, {\n To: { results: props.To },\n });\n }\n if (props.CC && props.CC.length > 0) {\n params.properties = util_1.Util.extend(params.properties, {\n CC: { results: props.CC },\n });\n }\n if (props.BCC && props.BCC.length > 0) {\n params.properties = util_1.Util.extend(params.properties, {\n BCC: { results: props.BCC },\n });\n }\n if (props.AdditionalHeaders) {\n params.properties = util_1.Util.extend(params.properties, {\n AdditionalHeaders: props.AdditionalHeaders,\n });\n }\n return this.clone(UtilityMethod, \"SendEmail\", true).excute(params);\n };\n UtilityMethod.prototype.getCurrentUserEmailAddresses = function () {\n return this.clone(UtilityMethod, \"GetCurrentUserEmailAddresses\", true).excute({});\n };\n UtilityMethod.prototype.resolvePrincipal = function (input, scopes, sources, inputIsEmailOnly, addToUserInfoList, matchUserInfoList) {\n if (matchUserInfoList === void 0) { matchUserInfoList = false; }\n var params = {\n addToUserInfoList: addToUserInfoList,\n input: input,\n inputIsEmailOnly: inputIsEmailOnly,\n matchUserInfoList: matchUserInfoList,\n scopes: scopes,\n sources: sources,\n };\n return this.clone(UtilityMethod, \"ResolvePrincipalInCurrentContext\", true).excute(params);\n };\n UtilityMethod.prototype.searchPrincipals = function (input, scopes, sources, groupName, maxCount) {\n var params = {\n groupName: groupName,\n input: input,\n maxCount: maxCount,\n scopes: scopes,\n sources: sources,\n };\n return this.clone(UtilityMethod, \"SearchPrincipalsUsingContextWeb\", true).excute(params);\n };\n UtilityMethod.prototype.createEmailBodyForInvitation = function (pageAddress) {\n var params = {\n pageAddress: pageAddress,\n };\n return this.clone(UtilityMethod, \"CreateEmailBodyForInvitation\", true).excute(params);\n };\n UtilityMethod.prototype.expandGroupsToPrincipals = function (inputs, maxCount) {\n if (maxCount === void 0) { maxCount = 30; }\n var params = {\n inputs: inputs,\n maxCount: maxCount,\n };\n return this.clone(UtilityMethod, \"ExpandGroupsToPrincipals\", true).excute(params);\n };\n UtilityMethod.prototype.createWikiPage = function (info) {\n return this.clone(UtilityMethod, \"CreateWikiPageInContextWeb\", true).excute({\n parameters: info,\n }).then(function (r) {\n return {\n data: r,\n file: new files_1.File(odata_1.spExtractODataId(r)),\n };\n });\n };\n return UtilityMethod;\n}(sharepointqueryable_1.SharePointQueryable));\nexports.UtilityMethod = UtilityMethod;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/utilities.js\n// module id = 40\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nvar pnplibconfig_1 = require(\"../configuration/pnplibconfig\");\nvar utils_1 = require(\"./utils\");\n// import { APIUrlException } from \"../utils/exceptions\";\nvar GraphHttpClient = /** @class */ (function () {\n function GraphHttpClient() {\n this._impl = pnplibconfig_1.RuntimeConfig.graphFetchClientFactory();\n }\n GraphHttpClient.prototype.fetch = function (url, options) {\n if (options === void 0) { options = {}; }\n var headers = new Headers();\n // first we add the global headers so they can be overwritten by any passed in locally to this call\n utils_1.mergeHeaders(headers, pnplibconfig_1.RuntimeConfig.graphHeaders);\n // second we add the local options so we can overwrite the globals\n utils_1.mergeHeaders(headers, options.headers);\n var opts = util_1.Util.extend(options, { headers: headers });\n // TODO: we could process auth here\n return this.fetchRaw(url, opts);\n };\n GraphHttpClient.prototype.fetchRaw = function (url, options) {\n var _this = this;\n if (options === void 0) { options = {}; }\n // here we need to normalize the headers\n var rawHeaders = new Headers();\n utils_1.mergeHeaders(rawHeaders, options.headers);\n options = util_1.Util.extend(options, { headers: rawHeaders });\n var retry = function (ctx) {\n _this._impl.fetch(url, {}, options).then(function (response) { return ctx.resolve(response); }).catch(function (response) {\n // Check if request was throttled - http status code 429\n // Check if request failed due to server unavailable - http status code 503\n if (response.status !== 429 && response.status !== 503) {\n ctx.reject(response);\n }\n // grab our current delay\n var delay = ctx.delay;\n // Increment our counters.\n ctx.delay *= 2;\n ctx.attempts++;\n // If we have exceeded the retry count, reject.\n if (ctx.retryCount <= ctx.attempts) {\n ctx.reject(response);\n }\n // Set our retry timeout for {delay} milliseconds.\n setTimeout(util_1.Util.getCtxCallback(_this, retry, ctx), delay);\n });\n };\n return new Promise(function (resolve, reject) {\n var retryContext = {\n attempts: 0,\n delay: 100,\n reject: reject,\n resolve: resolve,\n retryCount: 7,\n };\n retry.call(_this, retryContext);\n });\n };\n GraphHttpClient.prototype.get = function (url, options) {\n if (options === void 0) { options = {}; }\n var opts = util_1.Util.extend(options, { method: \"GET\" });\n return this.fetch(url, opts);\n };\n GraphHttpClient.prototype.post = function (url, options) {\n if (options === void 0) { options = {}; }\n var opts = util_1.Util.extend(options, { method: \"POST\" });\n return this.fetch(url, opts);\n };\n GraphHttpClient.prototype.patch = function (url, options) {\n if (options === void 0) { options = {}; }\n var opts = util_1.Util.extend(options, { method: \"PATCH\" });\n return this.fetch(url, opts);\n };\n GraphHttpClient.prototype.delete = function (url, options) {\n if (options === void 0) { options = {}; }\n var opts = util_1.Util.extend(options, { method: \"DELETE\" });\n return this.fetch(url, opts);\n };\n return GraphHttpClient;\n}());\nexports.GraphHttpClient = GraphHttpClient;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/net/graphclient.js\n// module id = 41\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar storage = require(\"../../utils/storage\");\nvar exceptions_1 = require(\"../../utils/exceptions\");\n/**\n * A caching provider which can wrap other non-caching providers\n *\n */\nvar CachingConfigurationProvider = /** @class */ (function () {\n /**\n * Creates a new caching configuration provider\n * @constructor\n * @param {IConfigurationProvider} wrappedProvider Provider which will be used to fetch the configuration\n * @param {string} cacheKey Key that will be used to store cached items to the cache\n * @param {IPnPClientStore} cacheStore OPTIONAL storage, which will be used to store cached settings.\n */\n function CachingConfigurationProvider(wrappedProvider, cacheKey, cacheStore) {\n this.wrappedProvider = wrappedProvider;\n this.store = (cacheStore) ? cacheStore : this.selectPnPCache();\n this.cacheKey = \"_configcache_\" + cacheKey;\n }\n /**\n * Gets the wrapped configuration providers\n *\n * @return {IConfigurationProvider} Wrapped configuration provider\n */\n CachingConfigurationProvider.prototype.getWrappedProvider = function () {\n return this.wrappedProvider;\n };\n /**\n * Loads the configuration values either from the cache or from the wrapped provider\n *\n * @return {Promise>} Promise of loaded configuration values\n */\n CachingConfigurationProvider.prototype.getConfiguration = function () {\n var _this = this;\n // Cache not available, pass control to the wrapped provider\n if ((!this.store) || (!this.store.enabled)) {\n return this.wrappedProvider.getConfiguration();\n }\n // Value is found in cache, return it directly\n var cachedConfig = this.store.get(this.cacheKey);\n if (cachedConfig) {\n return new Promise(function (resolve) {\n resolve(cachedConfig);\n });\n }\n // Get and cache value from the wrapped provider\n var providerPromise = this.wrappedProvider.getConfiguration();\n providerPromise.then(function (providedConfig) {\n _this.store.put(_this.cacheKey, providedConfig);\n });\n return providerPromise;\n };\n CachingConfigurationProvider.prototype.selectPnPCache = function () {\n var pnpCache = new storage.PnPClientStorage();\n if ((pnpCache.local) && (pnpCache.local.enabled)) {\n return pnpCache.local;\n }\n if ((pnpCache.session) && (pnpCache.session.enabled)) {\n return pnpCache.session;\n }\n throw new exceptions_1.NoCacheAvailableException();\n };\n return CachingConfigurationProvider;\n}());\nexports.default = CachingConfigurationProvider;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/configuration/providers/cachingConfigurationProvider.js\n// module id = 42\n// module chunks = 0","\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"./utils/util\");\nvar storage_1 = require(\"./utils/storage\");\nvar configuration_1 = require(\"./configuration/configuration\");\nvar logging_1 = require(\"./utils/logging\");\nvar rest_1 = require(\"./sharepoint/rest\");\nvar pnplibconfig_1 = require(\"./configuration/pnplibconfig\");\nvar rest_2 = require(\"./graph/rest\");\n/**\n * Root class of the Patterns and Practices namespace, provides an entry point to the library\n */\n/**\n * Utility methods\n */\nexports.util = util_1.Util;\n/**\n * Provides access to the SharePoint REST interface\n */\nexports.sp = new rest_1.SPRest();\n/**\n * Provides access to the Microsoft Graph REST interface\n */\nexports.graph = new rest_2.GraphRest();\n/**\n * Provides access to local and session storage\n */\nexports.storage = new storage_1.PnPClientStorage();\n/**\n * Global configuration instance to which providers can be added\n */\nexports.config = new configuration_1.Settings();\n/**\n * Global logging instance to which subscribers can be registered and messages written\n */\nexports.log = logging_1.Logger;\n/**\n * Allows for the configuration of the library\n */\nexports.setup = pnplibconfig_1.setRuntimeConfig;\n/**\n * Export everything back to the top level so it can be properly bundled\n */\n__export(require(\"./exports/core\"));\n__export(require(\"./exports/graph\"));\n__export(require(\"./exports/net\"));\n__export(require(\"./exports/odata\"));\n__export(require(\"./exports/sp\"));\n// /**\n// * Expose a subset of classes from the library for public consumption\n// */\n// creating this class instead of directly assigning to default fixes issue #116\nvar Def = {\n /**\n * Global configuration instance to which providers can be added\n */\n config: exports.config,\n /**\n * Provides access to the Microsoft Graph REST interface\n */\n graph: exports.graph,\n /**\n * Global logging instance to which subscribers can be registered and messages written\n */\n log: exports.log,\n /**\n * Provides access to local and session storage\n */\n setup: exports.setup,\n /**\n * Provides access to the REST interface\n */\n sp: exports.sp,\n /**\n * Provides access to local and session storage\n */\n storage: exports.storage,\n /**\n * Utility methods\n */\n util: exports.util,\n};\n/**\n * Enables use of the import pnp from syntax\n */\nexports.default = Def;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/pnp.js\n// module id = 43\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar collections_1 = require(\"../collections/collections\");\n/**\n * Class used to manage the current application settings\n *\n */\nvar Settings = /** @class */ (function () {\n /**\n * Creates a new instance of the settings class\n *\n * @constructor\n */\n function Settings() {\n this._settings = new collections_1.Dictionary();\n }\n /**\n * Adds a new single setting, or overwrites a previous setting with the same key\n *\n * @param {string} key The key used to store this setting\n * @param {string} value The setting value to store\n */\n Settings.prototype.add = function (key, value) {\n this._settings.add(key, value);\n };\n /**\n * Adds a JSON value to the collection as a string, you must use getJSON to rehydrate the object when read\n *\n * @param {string} key The key used to store this setting\n * @param {any} value The setting value to store\n */\n Settings.prototype.addJSON = function (key, value) {\n this._settings.add(key, JSON.stringify(value));\n };\n /**\n * Applies the supplied hash to the setting collection overwriting any existing value, or created new values\n *\n * @param {TypedHash} hash The set of values to add\n */\n Settings.prototype.apply = function (hash) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n try {\n _this._settings.merge(hash);\n resolve();\n }\n catch (e) {\n reject(e);\n }\n });\n };\n /**\n * Loads configuration settings into the collection from the supplied provider and returns a Promise\n *\n * @param {IConfigurationProvider} provider The provider from which we will load the settings\n */\n Settings.prototype.load = function (provider) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n provider.getConfiguration().then(function (value) {\n _this._settings.merge(value);\n resolve();\n }).catch(function (reason) {\n reject(reason);\n });\n });\n };\n /**\n * Gets a value from the configuration\n *\n * @param {string} key The key whose value we want to return. Returns null if the key does not exist\n * @return {string} string value from the configuration\n */\n Settings.prototype.get = function (key) {\n return this._settings.get(key);\n };\n /**\n * Gets a JSON value, rehydrating the stored string to the original object\n *\n * @param {string} key The key whose value we want to return. Returns null if the key does not exist\n * @return {any} object from the configuration\n */\n Settings.prototype.getJSON = function (key) {\n var o = this.get(key);\n if (typeof o === \"undefined\" || o === null) {\n return o;\n }\n return JSON.parse(o);\n };\n return Settings;\n}());\nexports.Settings = Settings;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/configuration/configuration.js\n// module id = 44\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar search_1 = require(\"./search\");\nvar searchsuggest_1 = require(\"./searchsuggest\");\nvar site_1 = require(\"./site\");\nvar webs_1 = require(\"./webs\");\nvar util_1 = require(\"../utils/util\");\nvar userprofiles_1 = require(\"./userprofiles\");\nvar navigation_1 = require(\"./navigation\");\nvar exceptions_1 = require(\"../utils/exceptions\");\nvar utilities_1 = require(\"./utilities\");\n/**\n * Root of the SharePoint REST module\n */\nvar SPRest = /** @class */ (function () {\n /**\n * Creates a new instance of the SPRest class\n *\n * @param options Additional options\n * @param baseUrl A string that should form the base part of the url\n */\n function SPRest(options, baseUrl) {\n if (options === void 0) { options = {}; }\n if (baseUrl === void 0) { baseUrl = \"\"; }\n this._options = options;\n this._baseUrl = baseUrl;\n }\n /**\n * Configures instance with additional options and baseUrl.\n * Provided configuration used by other objects in a chain\n *\n * @param options Additional options\n * @param baseUrl A string that should form the base part of the url\n */\n SPRest.prototype.configure = function (options, baseUrl) {\n if (baseUrl === void 0) { baseUrl = \"\"; }\n return new SPRest(options, baseUrl);\n };\n /**\n * Executes a search against this web context\n *\n * @param query The SearchQuery definition\n */\n SPRest.prototype.searchSuggest = function (query) {\n var finalQuery;\n if (typeof query === \"string\") {\n finalQuery = { querytext: query };\n }\n else {\n finalQuery = query;\n }\n return new searchsuggest_1.SearchSuggest(this._baseUrl).configure(this._options).execute(finalQuery);\n };\n /**\n * Executes a search against this web context\n *\n * @param query The SearchQuery definition\n */\n SPRest.prototype.search = function (query) {\n var finalQuery;\n if (typeof query === \"string\") {\n finalQuery = { Querytext: query };\n }\n else if (query instanceof search_1.SearchQueryBuilder) {\n finalQuery = query.toSearchQuery();\n }\n else {\n finalQuery = query;\n }\n return new search_1.Search(this._baseUrl).configure(this._options).execute(finalQuery);\n };\n Object.defineProperty(SPRest.prototype, \"site\", {\n /**\n * Begins a site collection scoped REST request\n *\n */\n get: function () {\n return new site_1.Site(this._baseUrl).configure(this._options);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SPRest.prototype, \"web\", {\n /**\n * Begins a web scoped REST request\n *\n */\n get: function () {\n return new webs_1.Web(this._baseUrl).configure(this._options);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SPRest.prototype, \"profiles\", {\n /**\n * Access to user profile methods\n */\n get: function () {\n return new userprofiles_1.UserProfileQuery(this._baseUrl).configure(this._options);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SPRest.prototype, \"navigation\", {\n /**\n * Access to the site collection level navigation service\n */\n get: function () {\n return new navigation_1.NavigationService();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new batch object for use with the SharePointQueryable.addToBatch method\n *\n */\n SPRest.prototype.createBatch = function () {\n return this.web.createBatch();\n };\n Object.defineProperty(SPRest.prototype, \"utility\", {\n /**\n * Static utilities methods from SP.Utilities.Utility\n */\n get: function () {\n return new utilities_1.UtilityMethod(this._baseUrl, \"\").configure(this._options);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Begins a cross-domain, host site scoped REST request, for use in add-in webs\n *\n * @param addInWebUrl The absolute url of the add-in web\n * @param hostWebUrl The absolute url of the host web\n */\n SPRest.prototype.crossDomainSite = function (addInWebUrl, hostWebUrl) {\n return this._cdImpl(site_1.Site, addInWebUrl, hostWebUrl, \"site\");\n };\n /**\n * Begins a cross-domain, host web scoped REST request, for use in add-in webs\n *\n * @param addInWebUrl The absolute url of the add-in web\n * @param hostWebUrl The absolute url of the host web\n */\n SPRest.prototype.crossDomainWeb = function (addInWebUrl, hostWebUrl) {\n return this._cdImpl(webs_1.Web, addInWebUrl, hostWebUrl, \"web\");\n };\n /**\n * Implements the creation of cross domain REST urls\n *\n * @param factory The constructor of the object to create Site | Web\n * @param addInWebUrl The absolute url of the add-in web\n * @param hostWebUrl The absolute url of the host web\n * @param urlPart String part to append to the url \"site\" | \"web\"\n */\n SPRest.prototype._cdImpl = function (factory, addInWebUrl, hostWebUrl, urlPart) {\n if (!util_1.Util.isUrlAbsolute(addInWebUrl)) {\n throw new exceptions_1.UrlException(\"The addInWebUrl parameter must be an absolute url.\");\n }\n if (!util_1.Util.isUrlAbsolute(hostWebUrl)) {\n throw new exceptions_1.UrlException(\"The hostWebUrl parameter must be an absolute url.\");\n }\n var url = util_1.Util.combinePaths(addInWebUrl, \"_api/SP.AppContextSite(@target)\");\n var instance = new factory(url, urlPart);\n instance.query.add(\"@target\", \"'\" + encodeURIComponent(hostWebUrl) + \"'\");\n return instance.configure(this._options);\n };\n return SPRest;\n}());\nexports.SPRest = SPRest;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/rest.js\n// module id = 45\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar collections_1 = require(\"../collections/collections\");\nvar util_1 = require(\"../utils/util\");\nvar parsers_1 = require(\"../odata/parsers\");\nvar pnplibconfig_1 = require(\"../configuration/pnplibconfig\");\nvar CachedDigest = /** @class */ (function () {\n function CachedDigest() {\n }\n return CachedDigest;\n}());\nexports.CachedDigest = CachedDigest;\n// allows for the caching of digests across all HttpClient's which each have their own DigestCache wrapper.\nvar digests = new collections_1.Dictionary();\nvar DigestCache = /** @class */ (function () {\n function DigestCache(_httpClient, _digests) {\n if (_digests === void 0) { _digests = digests; }\n this._httpClient = _httpClient;\n this._digests = _digests;\n }\n DigestCache.prototype.getDigest = function (webUrl) {\n var _this = this;\n var cachedDigest = this._digests.get(webUrl);\n if (cachedDigest !== null) {\n var now = new Date();\n if (now < cachedDigest.expiration) {\n return Promise.resolve(cachedDigest.value);\n }\n }\n var url = util_1.Util.combinePaths(webUrl, \"/_api/contextinfo\");\n var headers = {\n \"Accept\": \"application/json;odata=verbose\",\n \"Content-Type\": \"application/json;odata=verbose;charset=utf-8\",\n };\n return this._httpClient.fetchRaw(url, {\n cache: \"no-cache\",\n credentials: \"same-origin\",\n headers: util_1.Util.extend(headers, pnplibconfig_1.RuntimeConfig.spHeaders, true),\n method: \"POST\",\n }).then(function (response) {\n var parser = new parsers_1.ODataDefaultParser();\n return parser.parse(response).then(function (d) { return d.GetContextWebInformation; });\n }).then(function (data) {\n var newCachedDigest = new CachedDigest();\n newCachedDigest.value = data.FormDigestValue;\n var seconds = data.FormDigestTimeoutSeconds;\n var expiration = new Date();\n expiration.setTime(expiration.getTime() + 1000 * seconds);\n newCachedDigest.expiration = expiration;\n _this._digests.add(webUrl, newCachedDigest);\n return newCachedDigest.value;\n });\n };\n DigestCache.prototype.clear = function () {\n this._digests.clear();\n };\n return DigestCache;\n}());\nexports.DigestCache = DigestCache;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/net/digestcache.js\n// module id = 46\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar parsers_1 = require(\"../odata/parsers\");\n/**\n * Describes a collection of Item objects\n *\n */\nvar AttachmentFiles = /** @class */ (function (_super) {\n __extends(AttachmentFiles, _super);\n /**\n * Creates a new instance of the AttachmentFiles class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this attachments collection\n */\n function AttachmentFiles(baseUrl, path) {\n if (path === void 0) { path = \"AttachmentFiles\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a Attachment File by filename\n *\n * @param name The name of the file, including extension.\n */\n AttachmentFiles.prototype.getByName = function (name) {\n var f = new AttachmentFile(this);\n f.concat(\"('\" + name + \"')\");\n return f;\n };\n /**\n * Adds a new attachment to the collection. Not supported for batching.\n *\n * @param name The name of the file, including extension.\n * @param content The Base64 file content.\n */\n AttachmentFiles.prototype.add = function (name, content) {\n var _this = this;\n return this.clone(AttachmentFiles, \"add(FileName='\" + name + \"')\", false).postCore({\n body: content,\n }).then(function (response) {\n return {\n data: response,\n file: _this.getByName(name),\n };\n });\n };\n /**\n * Adds multiple new attachment to the collection. Not supported for batching.\n *\n * @files name The collection of files to add\n */\n AttachmentFiles.prototype.addMultiple = function (files) {\n var _this = this;\n // add the files in series so we don't get update conflicts\n return files.reduce(function (chain, file) { return chain.then(function () { return _this.clone(AttachmentFiles, \"add(FileName='\" + file.name + \"')\", false).postCore({\n body: file.content,\n }); }); }, Promise.resolve());\n };\n /**\n * Delete multiple attachments from the collection. Not supported for batching.\n *\n * @files name The collection of files to delete\n */\n AttachmentFiles.prototype.deleteMultiple = function () {\n var _this = this;\n var files = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n files[_i] = arguments[_i];\n }\n return files.reduce(function (chain, file) { return chain.then(function () { return _this.getByName(file).delete(); }); }, Promise.resolve());\n };\n /**\n * Delete multiple attachments from the collection and sends it to recycle bin. Not supported for batching.\n *\n * @files name The collection of files to delete\n */\n AttachmentFiles.prototype.recycleMultiple = function () {\n var _this = this;\n var files = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n files[_i] = arguments[_i];\n }\n return files.reduce(function (chain, file) { return chain.then(function () { return _this.getByName(file).recycle(); }); }, Promise.resolve());\n };\n return AttachmentFiles;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.AttachmentFiles = AttachmentFiles;\n/**\n * Describes a single attachment file instance\n *\n */\nvar AttachmentFile = /** @class */ (function (_super) {\n __extends(AttachmentFile, _super);\n function AttachmentFile() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Gets the contents of the file as text\n *\n */\n AttachmentFile.prototype.getText = function () {\n return this.clone(AttachmentFile, \"$value\", false).get(new parsers_1.TextFileParser());\n };\n /**\n * Gets the contents of the file as a blob, does not work in Node.js\n *\n */\n AttachmentFile.prototype.getBlob = function () {\n return this.clone(AttachmentFile, \"$value\", false).get(new parsers_1.BlobFileParser());\n };\n /**\n * Gets the contents of a file as an ArrayBuffer, works in Node.js\n */\n AttachmentFile.prototype.getBuffer = function () {\n return this.clone(AttachmentFile, \"$value\", false).get(new parsers_1.BufferFileParser());\n };\n /**\n * Gets the contents of a file as an ArrayBuffer, works in Node.js\n */\n AttachmentFile.prototype.getJSON = function () {\n return this.clone(AttachmentFile, \"$value\", false).get(new parsers_1.JSONFileParser());\n };\n /**\n * Sets the content of a file. Not supported for batching\n *\n * @param content The value to set for the file contents\n */\n AttachmentFile.prototype.setContent = function (content) {\n var _this = this;\n return this.clone(AttachmentFile, \"$value\", false).postCore({\n body: content,\n headers: {\n \"X-HTTP-Method\": \"PUT\",\n },\n }).then(function (_) { return new AttachmentFile(_this); });\n };\n /**\n * Delete this attachment file\n *\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n AttachmentFile.prototype.delete = function (eTag) {\n if (eTag === void 0) { eTag = \"*\"; }\n return this.postCore({\n headers: {\n \"IF-Match\": eTag,\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n /**\n * Delete this attachment file and send it to Recycle Bin\n *\n * @param eTag Value used in the IF-Match header, by default \"*\"\n */\n AttachmentFile.prototype.recycle = function (eTag) {\n if (eTag === void 0) { eTag = \"*\"; }\n return this.clone(AttachmentFile, \"recycleObject\").postCore({\n headers: {\n \"IF-Match\": eTag,\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n return AttachmentFile;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.AttachmentFile = AttachmentFile;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/attachmentfiles.js\n// module id = 47\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar util_1 = require(\"../utils/util\");\n/**\n * Describes the views available in the current context\n *\n */\nvar Views = /** @class */ (function (_super) {\n __extends(Views, _super);\n /**\n * Creates a new instance of the Views class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function Views(baseUrl, path) {\n if (path === void 0) { path = \"views\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a view by guid id\n *\n * @param id The GUID id of the view\n */\n Views.prototype.getById = function (id) {\n var v = new View(this);\n v.concat(\"('\" + id + \"')\");\n return v;\n };\n /**\n * Gets a view by title (case-sensitive)\n *\n * @param title The case-sensitive title of the view\n */\n Views.prototype.getByTitle = function (title) {\n return new View(this, \"getByTitle('\" + title + \"')\");\n };\n /**\n * Adds a new view to the collection\n *\n * @param title The new views's title\n * @param personalView True if this is a personal view, otherwise false, default = false\n * @param additionalSettings Will be passed as part of the view creation body\n */\n Views.prototype.add = function (title, personalView, additionalSettings) {\n var _this = this;\n if (personalView === void 0) { personalView = false; }\n if (additionalSettings === void 0) { additionalSettings = {}; }\n var postBody = JSON.stringify(util_1.Util.extend({\n \"PersonalView\": personalView,\n \"Title\": title,\n \"__metadata\": { \"type\": \"SP.View\" },\n }, additionalSettings));\n return this.clone(Views, null).postAsCore({ body: postBody }).then(function (data) {\n return {\n data: data,\n view: _this.getById(data.Id),\n };\n });\n };\n return Views;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Views = Views;\n/**\n * Describes a single View instance\n *\n */\nvar View = /** @class */ (function (_super) {\n __extends(View, _super);\n function View() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(View.prototype, \"fields\", {\n get: function () {\n return new ViewFields(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Updates this view intance with the supplied properties\n *\n * @param properties A plain object hash of values to update for the view\n */\n View.prototype.update = function (properties) {\n var _this = this;\n var postBody = JSON.stringify(util_1.Util.extend({\n \"__metadata\": { \"type\": \"SP.View\" },\n }, properties));\n return this.postCore({\n body: postBody,\n headers: {\n \"X-HTTP-Method\": \"MERGE\",\n },\n }).then(function (data) {\n return {\n data: data,\n view: _this,\n };\n });\n };\n /**\n * Delete this view\n *\n */\n View.prototype.delete = function () {\n return this.postCore({\n headers: {\n \"X-HTTP-Method\": \"DELETE\",\n },\n });\n };\n /**\n * Returns the list view as HTML.\n *\n */\n View.prototype.renderAsHtml = function () {\n return this.clone(sharepointqueryable_1.SharePointQueryable, \"renderashtml\").get();\n };\n return View;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.View = View;\nvar ViewFields = /** @class */ (function (_super) {\n __extends(ViewFields, _super);\n function ViewFields(baseUrl, path) {\n if (path === void 0) { path = \"viewfields\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a value that specifies the XML schema that represents the collection.\n */\n ViewFields.prototype.getSchemaXml = function () {\n return this.clone(sharepointqueryable_1.SharePointQueryable, \"schemaxml\").get();\n };\n /**\n * Adds the field with the specified field internal name or display name to the collection.\n *\n * @param fieldTitleOrInternalName The case-sensitive internal name or display name of the field to add.\n */\n ViewFields.prototype.add = function (fieldTitleOrInternalName) {\n return this.clone(ViewFields, \"addviewfield('\" + fieldTitleOrInternalName + \"')\").postCore();\n };\n /**\n * Moves the field with the specified field internal name to the specified position in the collection.\n *\n * @param fieldInternalName The case-sensitive internal name of the field to move.\n * @param index The zero-based index of the new position for the field.\n */\n ViewFields.prototype.move = function (fieldInternalName, index) {\n return this.clone(ViewFields, \"moveviewfieldto\").postCore({\n body: JSON.stringify({ \"field\": fieldInternalName, \"index\": index }),\n });\n };\n /**\n * Removes all the fields from the collection.\n */\n ViewFields.prototype.removeAll = function () {\n return this.clone(ViewFields, \"removeallviewfields\").postCore();\n };\n /**\n * Removes the field with the specified field internal name from the collection.\n *\n * @param fieldInternalName The case-sensitive internal name of the field to remove from the view.\n */\n ViewFields.prototype.remove = function (fieldInternalName) {\n return this.clone(ViewFields, \"removeviewfield('\" + fieldInternalName + \"')\").postCore();\n };\n return ViewFields;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.ViewFields = ViewFields;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/views.js\n// module id = 48\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\n/**\n * Describes a collection of Field objects\n *\n */\nvar Forms = /** @class */ (function (_super) {\n __extends(Forms, _super);\n /**\n * Creates a new instance of the Fields class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection\n */\n function Forms(baseUrl, path) {\n if (path === void 0) { path = \"forms\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a form by id\n *\n * @param id The guid id of the item to retrieve\n */\n Forms.prototype.getById = function (id) {\n var i = new Form(this);\n i.concat(\"('\" + id + \"')\");\n return i;\n };\n return Forms;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Forms = Forms;\n/**\n * Describes a single of Form instance\n *\n */\nvar Form = /** @class */ (function (_super) {\n __extends(Form, _super);\n function Form() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return Form;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.Form = Form;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/forms.js\n// module id = 49\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\n/**\n * Describes a collection of webhook subscriptions\n *\n */\nvar Subscriptions = /** @class */ (function (_super) {\n __extends(Subscriptions, _super);\n /**\n * Creates a new instance of the Subscriptions class\n *\n * @param baseUrl - The url or SharePointQueryable which forms the parent of this webhook subscriptions collection\n */\n function Subscriptions(baseUrl, path) {\n if (path === void 0) { path = \"subscriptions\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Returns all the webhook subscriptions or the specified webhook subscription\n *\n * @param subscriptionId The id of a specific webhook subscription to retrieve, omit to retrieve all the webhook subscriptions\n */\n Subscriptions.prototype.getById = function (subscriptionId) {\n var subscription = new Subscription(this);\n subscription.concat(\"('\" + subscriptionId + \"')\");\n return subscription;\n };\n /**\n * Creates a new webhook subscription\n *\n * @param notificationUrl The url to receive the notifications\n * @param expirationDate The date and time to expire the subscription in the form YYYY-MM-ddTHH:mm:ss+00:00 (maximum of 6 months)\n * @param clientState A client specific string (defaults to pnp-js-core-subscription when omitted)\n */\n Subscriptions.prototype.add = function (notificationUrl, expirationDate, clientState) {\n var _this = this;\n var postBody = JSON.stringify({\n \"clientState\": clientState || \"pnp-js-core-subscription\",\n \"expirationDateTime\": expirationDate,\n \"notificationUrl\": notificationUrl,\n \"resource\": this.toUrl(),\n });\n return this.postCore({ body: postBody, headers: { \"Content-Type\": \"application/json\" } }).then(function (result) {\n return { data: result, subscription: _this.getById(result.id) };\n });\n };\n return Subscriptions;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.Subscriptions = Subscriptions;\n/**\n * Describes a single webhook subscription instance\n *\n */\nvar Subscription = /** @class */ (function (_super) {\n __extends(Subscription, _super);\n function Subscription() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Renews this webhook subscription\n *\n * @param expirationDate The date and time to expire the subscription in the form YYYY-MM-ddTHH:mm:ss+00:00 (maximum of 6 months)\n */\n Subscription.prototype.update = function (expirationDate) {\n var _this = this;\n var postBody = JSON.stringify({\n \"expirationDateTime\": expirationDate,\n });\n return this.patchCore({ body: postBody, headers: { \"Content-Type\": \"application/json\" } }).then(function (data) {\n return { data: data, subscription: _this };\n });\n };\n /**\n * Removes this webhook subscription\n *\n */\n Subscription.prototype.delete = function () {\n return _super.prototype.deleteCore.call(this);\n };\n return Subscription;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.Subscription = Subscription;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/subscriptions.js\n// module id = 50\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar odata_1 = require(\"./odata\");\nvar util_1 = require(\"../utils/util\");\n/**\n * Describes regional settings ODada object\n */\nvar RegionalSettings = /** @class */ (function (_super) {\n __extends(RegionalSettings, _super);\n /**\n * Creates a new instance of the RegionalSettings class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this regional settings collection\n */\n function RegionalSettings(baseUrl, path) {\n if (path === void 0) { path = \"regionalsettings\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n Object.defineProperty(RegionalSettings.prototype, \"installedLanguages\", {\n /**\n * Gets the collection of languages used in a server farm.\n */\n get: function () {\n return new InstalledLanguages(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RegionalSettings.prototype, \"globalInstalledLanguages\", {\n /**\n * Gets the collection of language packs that are installed on the server.\n */\n get: function () {\n return new InstalledLanguages(this, \"globalinstalledlanguages\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RegionalSettings.prototype, \"timeZone\", {\n /**\n * Gets time zone\n */\n get: function () {\n return new TimeZone(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RegionalSettings.prototype, \"timeZones\", {\n /**\n * Gets time zones\n */\n get: function () {\n return new TimeZones(this);\n },\n enumerable: true,\n configurable: true\n });\n return RegionalSettings;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.RegionalSettings = RegionalSettings;\n/**\n * Describes installed languages ODada queriable collection\n */\nvar InstalledLanguages = /** @class */ (function (_super) {\n __extends(InstalledLanguages, _super);\n function InstalledLanguages(baseUrl, path) {\n if (path === void 0) { path = \"installedlanguages\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n return InstalledLanguages;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.InstalledLanguages = InstalledLanguages;\n/**\n * Describes TimeZone ODada object\n */\nvar TimeZone = /** @class */ (function (_super) {\n __extends(TimeZone, _super);\n function TimeZone(baseUrl, path) {\n if (path === void 0) { path = \"timezone\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets an Local Time by UTC Time\n *\n * @param utcTime UTC Time as Date or ISO String\n */\n TimeZone.prototype.utcToLocalTime = function (utcTime) {\n var dateIsoString;\n if (typeof utcTime === \"string\") {\n dateIsoString = utcTime;\n }\n else {\n dateIsoString = utcTime.toISOString();\n }\n return this.clone(TimeZone, \"utctolocaltime('\" + dateIsoString + \"')\")\n .postCore()\n .then(function (res) { return res.hasOwnProperty(\"UTCToLocalTime\") ? res.UTCToLocalTime : res; });\n };\n /**\n * Gets an UTC Time by Local Time\n *\n * @param localTime Local Time as Date or ISO String\n */\n TimeZone.prototype.localTimeToUTC = function (localTime) {\n var dateIsoString;\n if (typeof localTime === \"string\") {\n dateIsoString = localTime;\n }\n else {\n dateIsoString = util_1.Util.dateAdd(localTime, \"minute\", localTime.getTimezoneOffset() * -1).toISOString();\n }\n return this.clone(TimeZone, \"localtimetoutc('\" + dateIsoString + \"')\")\n .postCore()\n .then(function (res) { return res.hasOwnProperty(\"LocalTimeToUTC\") ? res.LocalTimeToUTC : res; });\n };\n return TimeZone;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.TimeZone = TimeZone;\n/**\n * Describes time zones queriable collection\n */\nvar TimeZones = /** @class */ (function (_super) {\n __extends(TimeZones, _super);\n function TimeZones(baseUrl, path) {\n if (path === void 0) { path = \"timezones\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n // https://msdn.microsoft.com/en-us/library/office/jj247008.aspx - timezones ids\n /**\n * Gets an TimeZone by id\n *\n * @param id The integer id of the timezone to retrieve\n */\n TimeZones.prototype.getById = function (id) {\n // do the post and merge the result into a TimeZone instance so the data and methods are available\n return this.clone(TimeZones, \"GetById(\" + id + \")\").postAsCore({}, odata_1.spODataEntity(TimeZone));\n };\n return TimeZones;\n}(sharepointqueryable_1.SharePointQueryableCollection));\nexports.TimeZones = TimeZones;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/regionalsettings.js\n// module id = 51\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar RelatedItemManagerImpl = /** @class */ (function (_super) {\n __extends(RelatedItemManagerImpl, _super);\n function RelatedItemManagerImpl(baseUrl, path) {\n if (path === void 0) { path = \"_api/SP.RelatedItemManager\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n RelatedItemManagerImpl.FromUrl = function (url) {\n if (url === null) {\n return new RelatedItemManagerImpl(\"\");\n }\n var index = url.indexOf(\"_api/\");\n if (index > -1) {\n return new RelatedItemManagerImpl(url.substr(0, index));\n }\n return new RelatedItemManagerImpl(url);\n };\n RelatedItemManagerImpl.prototype.getRelatedItems = function (sourceListName, sourceItemId) {\n var query = this.clone(RelatedItemManagerImpl, null);\n query.concat(\".GetRelatedItems\");\n return query.postCore({\n body: JSON.stringify({\n SourceItemID: sourceItemId,\n SourceListName: sourceListName,\n }),\n });\n };\n RelatedItemManagerImpl.prototype.getPageOneRelatedItems = function (sourceListName, sourceItemId) {\n var query = this.clone(RelatedItemManagerImpl, null);\n query.concat(\".GetPageOneRelatedItems\");\n return query.postCore({\n body: JSON.stringify({\n SourceItemID: sourceItemId,\n SourceListName: sourceListName,\n }),\n });\n };\n RelatedItemManagerImpl.prototype.addSingleLink = function (sourceListName, sourceItemId, sourceWebUrl, targetListName, targetItemID, targetWebUrl, tryAddReverseLink) {\n if (tryAddReverseLink === void 0) { tryAddReverseLink = false; }\n var query = this.clone(RelatedItemManagerImpl, null);\n query.concat(\".AddSingleLink\");\n return query.postCore({\n body: JSON.stringify({\n SourceItemID: sourceItemId,\n SourceListName: sourceListName,\n SourceWebUrl: sourceWebUrl,\n TargetItemID: targetItemID,\n TargetListName: targetListName,\n TargetWebUrl: targetWebUrl,\n TryAddReverseLink: tryAddReverseLink,\n }),\n });\n };\n /**\n * Adds a related item link from an item specified by list name and item id, to an item specified by url\n *\n * @param sourceListName The source list name or list id\n * @param sourceItemId The source item id\n * @param targetItemUrl The target item url\n * @param tryAddReverseLink If set to true try to add the reverse link (will not return error if it fails)\n */\n RelatedItemManagerImpl.prototype.addSingleLinkToUrl = function (sourceListName, sourceItemId, targetItemUrl, tryAddReverseLink) {\n if (tryAddReverseLink === void 0) { tryAddReverseLink = false; }\n var query = this.clone(RelatedItemManagerImpl, null);\n query.concat(\".AddSingleLinkToUrl\");\n return query.postCore({\n body: JSON.stringify({\n SourceItemID: sourceItemId,\n SourceListName: sourceListName,\n TargetItemUrl: targetItemUrl,\n TryAddReverseLink: tryAddReverseLink,\n }),\n });\n };\n /**\n * Adds a related item link from an item specified by url, to an item specified by list name and item id\n *\n * @param sourceItemUrl The source item url\n * @param targetListName The target list name or list id\n * @param targetItemId The target item id\n * @param tryAddReverseLink If set to true try to add the reverse link (will not return error if it fails)\n */\n RelatedItemManagerImpl.prototype.addSingleLinkFromUrl = function (sourceItemUrl, targetListName, targetItemId, tryAddReverseLink) {\n if (tryAddReverseLink === void 0) { tryAddReverseLink = false; }\n var query = this.clone(RelatedItemManagerImpl, null);\n query.concat(\".AddSingleLinkFromUrl\");\n return query.postCore({\n body: JSON.stringify({\n SourceItemUrl: sourceItemUrl,\n TargetItemID: targetItemId,\n TargetListName: targetListName,\n TryAddReverseLink: tryAddReverseLink,\n }),\n });\n };\n RelatedItemManagerImpl.prototype.deleteSingleLink = function (sourceListName, sourceItemId, sourceWebUrl, targetListName, targetItemId, targetWebUrl, tryDeleteReverseLink) {\n if (tryDeleteReverseLink === void 0) { tryDeleteReverseLink = false; }\n var query = this.clone(RelatedItemManagerImpl, null);\n query.concat(\".DeleteSingleLink\");\n return query.postCore({\n body: JSON.stringify({\n SourceItemID: sourceItemId,\n SourceListName: sourceListName,\n SourceWebUrl: sourceWebUrl,\n TargetItemID: targetItemId,\n TargetListName: targetListName,\n TargetWebUrl: targetWebUrl,\n TryDeleteReverseLink: tryDeleteReverseLink,\n }),\n });\n };\n return RelatedItemManagerImpl;\n}(sharepointqueryable_1.SharePointQueryable));\nexports.RelatedItemManagerImpl = RelatedItemManagerImpl;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/relateditems.js\n// module id = 52\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nvar files_1 = require(\"../utils/files\");\nvar parsers_1 = require(\"../odata/parsers\");\nvar UserProfileQuery = /** @class */ (function (_super) {\n __extends(UserProfileQuery, _super);\n /**\n * Creates a new instance of the UserProfileQuery class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this user profile query\n */\n function UserProfileQuery(baseUrl, path) {\n if (path === void 0) { path = \"_api/sp.userprofiles.peoplemanager\"; }\n var _this = _super.call(this, baseUrl, path) || this;\n _this.profileLoader = new ProfileLoader(baseUrl);\n return _this;\n }\n Object.defineProperty(UserProfileQuery.prototype, \"editProfileLink\", {\n /**\n * The url of the edit profile page for the current user\n */\n get: function () {\n return this.clone(UserProfileQuery, \"EditProfileLink\").getAs(parsers_1.ODataValue());\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(UserProfileQuery.prototype, \"isMyPeopleListPublic\", {\n /**\n * A boolean value that indicates whether the current user's \"People I'm Following\" list is public\n */\n get: function () {\n return this.clone(UserProfileQuery, \"IsMyPeopleListPublic\").getAs(parsers_1.ODataValue());\n },\n enumerable: true,\n configurable: true\n });\n /**\n * A boolean value that indicates whether the current user is being followed by the specified user\n *\n * @param loginName The account name of the user\n */\n UserProfileQuery.prototype.amIFollowedBy = function (loginName) {\n var q = this.clone(UserProfileQuery, \"amifollowedby(@v)\");\n q.query.add(\"@v\", \"'\" + encodeURIComponent(loginName) + \"'\");\n return q.get();\n };\n /**\n * A boolean value that indicates whether the current user is following the specified user\n *\n * @param loginName The account name of the user\n */\n UserProfileQuery.prototype.amIFollowing = function (loginName) {\n var q = this.clone(UserProfileQuery, \"amifollowing(@v)\");\n q.query.add(\"@v\", \"'\" + encodeURIComponent(loginName) + \"'\");\n return q.get();\n };\n /**\n * Gets tags that the current user is following\n *\n * @param maxCount The maximum number of tags to retrieve (default is 20)\n */\n UserProfileQuery.prototype.getFollowedTags = function (maxCount) {\n if (maxCount === void 0) { maxCount = 20; }\n return this.clone(UserProfileQuery, \"getfollowedtags(\" + maxCount + \")\").get();\n };\n /**\n * Gets the people who are following the specified user\n *\n * @param loginName The account name of the user\n */\n UserProfileQuery.prototype.getFollowersFor = function (loginName) {\n var q = this.clone(UserProfileQuery, \"getfollowersfor(@v)\");\n q.query.add(\"@v\", \"'\" + encodeURIComponent(loginName) + \"'\");\n return q.get();\n };\n Object.defineProperty(UserProfileQuery.prototype, \"myFollowers\", {\n /**\n * Gets the people who are following the current user\n *\n */\n get: function () {\n return new sharepointqueryable_1.SharePointQueryableCollection(this, \"getmyfollowers\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(UserProfileQuery.prototype, \"myProperties\", {\n /**\n * Gets user properties for the current user\n *\n */\n get: function () {\n return new UserProfileQuery(this, \"getmyproperties\");\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the people who the specified user is following\n *\n * @param loginName The account name of the user.\n */\n UserProfileQuery.prototype.getPeopleFollowedBy = function (loginName) {\n var q = this.clone(UserProfileQuery, \"getpeoplefollowedby(@v)\");\n q.query.add(\"@v\", \"'\" + encodeURIComponent(loginName) + \"'\");\n return q.get();\n };\n /**\n * Gets user properties for the specified user.\n *\n * @param loginName The account name of the user.\n */\n UserProfileQuery.prototype.getPropertiesFor = function (loginName) {\n var q = this.clone(UserProfileQuery, \"getpropertiesfor(@v)\");\n q.query.add(\"@v\", \"'\" + encodeURIComponent(loginName) + \"'\");\n return q.get();\n };\n Object.defineProperty(UserProfileQuery.prototype, \"trendingTags\", {\n /**\n * Gets the 20 most popular hash tags over the past week, sorted so that the most popular tag appears first\n *\n */\n get: function () {\n var q = this.clone(UserProfileQuery, null);\n q.concat(\".gettrendingtags\");\n return q.get();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the specified user profile property for the specified user\n *\n * @param loginName The account name of the user\n * @param propertyName The case-sensitive name of the property to get\n */\n UserProfileQuery.prototype.getUserProfilePropertyFor = function (loginName, propertyName) {\n var q = this.clone(UserProfileQuery, \"getuserprofilepropertyfor(accountname=@v, propertyname='\" + propertyName + \"')\");\n q.query.add(\"@v\", \"'\" + encodeURIComponent(loginName) + \"'\");\n return q.get();\n };\n /**\n * Removes the specified user from the user's list of suggested people to follow\n *\n * @param loginName The account name of the user\n */\n UserProfileQuery.prototype.hideSuggestion = function (loginName) {\n var q = this.clone(UserProfileQuery, \"hidesuggestion(@v)\");\n q.query.add(\"@v\", \"'\" + encodeURIComponent(loginName) + \"'\");\n return q.postCore();\n };\n /**\n * A boolean values that indicates whether the first user is following the second user\n *\n * @param follower The account name of the user who might be following the followee\n * @param followee The account name of the user who might be followed by the follower\n */\n UserProfileQuery.prototype.isFollowing = function (follower, followee) {\n var q = this.clone(UserProfileQuery, null);\n q.concat(\".isfollowing(possiblefolloweraccountname=@v, possiblefolloweeaccountname=@y)\");\n q.query.add(\"@v\", \"'\" + encodeURIComponent(follower) + \"'\");\n q.query.add(\"@y\", \"'\" + encodeURIComponent(followee) + \"'\");\n return q.get();\n };\n /**\n * Uploads and sets the user profile picture (Users can upload a picture to their own profile only). Not supported for batching.\n *\n * @param profilePicSource Blob data representing the user's picture in BMP, JPEG, or PNG format of up to 4.76MB\n */\n UserProfileQuery.prototype.setMyProfilePic = function (profilePicSource) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n files_1.readBlobAsArrayBuffer(profilePicSource).then(function (buffer) {\n var request = new UserProfileQuery(_this, \"setmyprofilepicture\");\n request.postCore({\n body: String.fromCharCode.apply(null, new Uint16Array(buffer)),\n }).then(function (_) { return resolve(); });\n }).catch(function (e) { return reject(e); });\n });\n };\n /**\n * Provisions one or more users' personal sites. (My Site administrator on SharePoint Online only)\n *\n * @param emails The email addresses of the users to provision sites for\n */\n UserProfileQuery.prototype.createPersonalSiteEnqueueBulk = function () {\n var emails = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n emails[_i] = arguments[_i];\n }\n return this.profileLoader.createPersonalSiteEnqueueBulk(emails);\n };\n Object.defineProperty(UserProfileQuery.prototype, \"ownerUserProfile\", {\n /**\n * Gets the user profile of the site owner\n *\n */\n get: function () {\n return this.profileLoader.ownerUserProfile;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(UserProfileQuery.prototype, \"userProfile\", {\n /**\n * Gets the user profile for the current user\n */\n get: function () {\n return this.profileLoader.userProfile;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Enqueues creating a personal site for this user, which can be used to share documents, web pages, and other files\n *\n * @param interactiveRequest true if interactively (web) initiated request, or false (default) if non-interactively (client) initiated request\n */\n UserProfileQuery.prototype.createPersonalSite = function (interactiveRequest) {\n if (interactiveRequest === void 0) { interactiveRequest = false; }\n return this.profileLoader.createPersonalSite(interactiveRequest);\n };\n /**\n * Sets the privacy settings for this profile\n *\n * @param share true to make all social data public; false to make all social data private\n */\n UserProfileQuery.prototype.shareAllSocialData = function (share) {\n return this.profileLoader.shareAllSocialData(share);\n };\n return UserProfileQuery;\n}(sharepointqueryable_1.SharePointQueryableInstance));\nexports.UserProfileQuery = UserProfileQuery;\nvar ProfileLoader = /** @class */ (function (_super) {\n __extends(ProfileLoader, _super);\n /**\n * Creates a new instance of the ProfileLoader class\n *\n * @param baseUrl The url or SharePointQueryable which forms the parent of this profile loader\n */\n function ProfileLoader(baseUrl, path) {\n if (path === void 0) { path = \"_api/sp.userprofiles.profileloader.getprofileloader\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Provisions one or more users' personal sites. (My Site administrator on SharePoint Online only) Doesn't support batching\n *\n * @param emails The email addresses of the users to provision sites for\n */\n ProfileLoader.prototype.createPersonalSiteEnqueueBulk = function (emails) {\n return this.clone(ProfileLoader, \"createpersonalsiteenqueuebulk\", false).postCore({\n body: JSON.stringify({ \"emailIDs\": emails }),\n });\n };\n Object.defineProperty(ProfileLoader.prototype, \"ownerUserProfile\", {\n /**\n * Gets the user profile of the site owner.\n *\n */\n get: function () {\n var q = this.getParent(ProfileLoader, this.parentUrl, \"_api/sp.userprofiles.profileloader.getowneruserprofile\");\n if (this.hasBatch) {\n q = q.inBatch(this.batch);\n }\n return q.postAsCore();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ProfileLoader.prototype, \"userProfile\", {\n /**\n * Gets the user profile of the current user.\n *\n */\n get: function () {\n return this.clone(ProfileLoader, \"getuserprofile\").postAsCore();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Enqueues creating a personal site for this user, which can be used to share documents, web pages, and other files.\n *\n * @param interactiveRequest true if interactively (web) initiated request, or false (default) if non-interactively (client) initiated request\n */\n ProfileLoader.prototype.createPersonalSite = function (interactiveRequest) {\n if (interactiveRequest === void 0) { interactiveRequest = false; }\n return this.clone(ProfileLoader, \"getuserprofile/createpersonalsiteenque(\" + interactiveRequest + \")\").postCore();\n };\n /**\n * Sets the privacy settings for this profile\n *\n * @param share true to make all social data public; false to make all social data private.\n */\n ProfileLoader.prototype.shareAllSocialData = function (share) {\n return this.clone(ProfileLoader, \"getuserprofile/shareallsocialdata(\" + share + \")\").postCore();\n };\n return ProfileLoader;\n}(sharepointqueryable_1.SharePointQueryable));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/userprofiles.js\n// module id = 53\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Reads a blob as text\n *\n * @param blob The data to read\n */\nfunction readBlobAsText(blob) {\n return readBlobAs(blob, \"string\");\n}\nexports.readBlobAsText = readBlobAsText;\n/**\n * Reads a blob into an array buffer\n *\n * @param blob The data to read\n */\nfunction readBlobAsArrayBuffer(blob) {\n return readBlobAs(blob, \"buffer\");\n}\nexports.readBlobAsArrayBuffer = readBlobAsArrayBuffer;\n/**\n * Generic method to read blob's content\n *\n * @param blob The data to read\n * @param mode The read mode\n */\nfunction readBlobAs(blob, mode) {\n return new Promise(function (resolve, reject) {\n try {\n var reader = new FileReader();\n reader.onload = function (e) {\n resolve(e.target.result);\n };\n switch (mode) {\n case \"string\":\n reader.readAsText(blob);\n break;\n case \"buffer\":\n reader.readAsArrayBuffer(blob);\n break;\n }\n }\n catch (e) {\n reject(e);\n }\n });\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/utils/files.js\n// module id = 54\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar v1_1 = require(\"./v1\");\nvar GraphRest = /** @class */ (function () {\n function GraphRest() {\n }\n Object.defineProperty(GraphRest.prototype, \"v1\", {\n get: function () {\n return new v1_1.V1(\"\");\n },\n enumerable: true,\n configurable: true\n });\n return GraphRest;\n}());\nexports.GraphRest = GraphRest;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/rest.js\n// module id = 55\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar graphqueryable_1 = require(\"./graphqueryable\");\nvar groups_1 = require(\"./groups\");\n// import { Me } from \"./me\";\n/**\n * Root object wrapping v1 functionality for MS Graph\n *\n */\nvar V1 = /** @class */ (function (_super) {\n __extends(V1, _super);\n /**\n * Creates a new instance of the V1 class\n *\n * @param baseUrl The url or Queryable which forms the parent of this fields collection\n * @param path Optional additional path\n */\n function V1(baseUrl, path) {\n if (path === void 0) { path = \"v1.0\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n Object.defineProperty(V1.prototype, \"groups\", {\n get: function () {\n return new groups_1.Groups(this);\n },\n enumerable: true,\n configurable: true\n });\n return V1;\n}(graphqueryable_1.GraphQueryable));\nexports.V1 = V1;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/v1.js\n// module id = 56\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar graphqueryable_1 = require(\"./graphqueryable\");\nvar members_1 = require(\"./members\");\nvar util_1 = require(\"../utils/util\");\nvar calendars_1 = require(\"./calendars\");\nvar conversations_1 = require(\"./conversations\");\nvar plans_1 = require(\"./plans\");\nvar photos_1 = require(\"./photos\");\nvar GroupType;\n(function (GroupType) {\n /**\n * Office 365 (aka unified group)\n */\n GroupType[GroupType[\"Office365\"] = 0] = \"Office365\";\n /**\n * Dynamic membership\n */\n GroupType[GroupType[\"Dynamic\"] = 1] = \"Dynamic\";\n /**\n * Security\n */\n GroupType[GroupType[\"Security\"] = 2] = \"Security\";\n})(GroupType = exports.GroupType || (exports.GroupType = {}));\n/**\n * Describes a collection of Field objects\n *\n */\nvar Groups = /** @class */ (function (_super) {\n __extends(Groups, _super);\n function Groups(baseUrl, path) {\n if (path === void 0) { path = \"groups\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a group from the collection using the specified id\n *\n * @param id Id of the group to get from this collection\n */\n Groups.prototype.getById = function (id) {\n return new Group(this, id);\n };\n /**\n * Create a new group as specified in the request body.\n *\n * @param name Name to display in the address book for the group\n * @param mailNickname Mail alias for the group\n * @param groupType Type of group being created\n * @param additionalProperties A plain object collection of additional properties you want to set on the new group\n */\n Groups.prototype.add = function (name, mailNickname, groupType, additionalProperties) {\n var _this = this;\n if (additionalProperties === void 0) { additionalProperties = {}; }\n var postBody = util_1.Util.extend({\n displayName: name,\n mailEnabled: groupType === GroupType.Office365,\n mailNickname: mailNickname,\n securityEnabled: groupType !== GroupType.Office365,\n }, additionalProperties);\n // include a group type if required\n if (groupType !== GroupType.Security) {\n postBody = util_1.Util.extend(postBody, {\n groupTypes: [groupType === GroupType.Office365 ? \"Unified\" : \"DynamicMembership\"],\n });\n }\n return this.postCore({\n body: JSON.stringify(postBody),\n }).then(function (r) {\n return {\n data: r,\n group: _this.getById(r.id),\n };\n });\n };\n return Groups;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Groups = Groups;\n/**\n * Represents a group entity\n */\nvar Group = /** @class */ (function (_super) {\n __extends(Group, _super);\n function Group() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Group.prototype, \"caldendar\", {\n /**\n * The calendar associated with this group\n */\n get: function () {\n return new calendars_1.Calendar(this, \"calendar\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Group.prototype, \"events\", {\n /**\n * Retrieve a list of event objects\n */\n get: function () {\n return new calendars_1.Events(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Group.prototype, \"owners\", {\n /**\n * Gets the collection of owners for this group\n */\n get: function () {\n return new members_1.Owners(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Group.prototype, \"plans\", {\n /**\n * The collection of plans for this group\n */\n get: function () {\n return new plans_1.Plans(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Group.prototype, \"members\", {\n /**\n * Gets the collection of members for this group\n */\n get: function () {\n return new members_1.Members(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Group.prototype, \"conversations\", {\n /**\n * Gets the conversations collection for this group\n */\n get: function () {\n return new conversations_1.Conversations(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Group.prototype, \"acceptedSenders\", {\n /**\n * Gets the collection of accepted senders for this group\n */\n get: function () {\n return new conversations_1.Senders(this, \"acceptedsenders\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Group.prototype, \"rejectedSenders\", {\n /**\n * Gets the collection of rejected senders for this group\n */\n get: function () {\n return new conversations_1.Senders(this, \"rejectedsenders\");\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Group.prototype, \"photo\", {\n /**\n * The photo associated with the group\n */\n get: function () {\n return new photos_1.Photo(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Add the group to the list of the current user's favorite groups. Supported for only Office 365 groups\n */\n Group.prototype.addFavorite = function () {\n return this.clone(Group, \"addFavorite\").postCore();\n };\n /**\n * Return all the groups that the specified group is a member of. The check is transitive\n *\n * @param securityEnabledOnly\n */\n Group.prototype.getMemberGroups = function (securityEnabledOnly) {\n if (securityEnabledOnly === void 0) { securityEnabledOnly = false; }\n return this.clone(Group, \"getMemberGroups\").postCore({\n body: JSON.stringify({\n securityEnabledOnly: securityEnabledOnly,\n }),\n });\n };\n /**\n * Deletes this group\n */\n Group.prototype.delete = function () {\n return this.deleteCore();\n };\n /**\n * Update the properties of a group object\n *\n * @param properties Set of properties of this group to update\n */\n Group.prototype.update = function (properties) {\n return this.patchCore({\n body: JSON.stringify(properties),\n });\n };\n /**\n * Remove the group from the list of the current user's favorite groups. Supported for only Office 365 groups\n */\n Group.prototype.removeFavorite = function () {\n return this.clone(Group, \"removeFavorite\").postCore();\n };\n /**\n * Reset the unseenCount of all the posts that the current user has not seen since their last visit\n */\n Group.prototype.resetUnseenCount = function () {\n return this.clone(Group, \"resetUnseenCount\").postCore();\n };\n /**\n * Calling this method will enable the current user to receive email notifications for this group,\n * about new posts, events, and files in that group. Supported for only Office 365 groups\n */\n Group.prototype.subscribeByMail = function () {\n return this.clone(Group, \"subscribeByMail\").postCore();\n };\n /**\n * Calling this method will prevent the current user from receiving email notifications for this group\n * about new posts, events, and files in that group. Supported for only Office 365 groups\n */\n Group.prototype.unsubscribeByMail = function () {\n return this.clone(Group, \"unsubscribeByMail\").postCore();\n };\n /**\n * Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range, from the default calendar of a group\n *\n * @param start Start date and time of the time range\n * @param end End date and time of the time range\n */\n Group.prototype.getCalendarView = function (start, end) {\n var view = this.clone(Group, \"calendarView\");\n view.query.add(\"startDateTime\", start.toISOString());\n view.query.add(\"endDateTime\", end.toISOString());\n return view.get();\n };\n return Group;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Group = Group;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/groups.js\n// module id = 57\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar graphqueryable_1 = require(\"./graphqueryable\");\nvar Members = /** @class */ (function (_super) {\n __extends(Members, _super);\n function Members(baseUrl, path) {\n if (path === void 0) { path = \"members\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Use this API to add a member to an Office 365 group, a security group or a mail-enabled security group through\n * the members navigation property. You can add users or other groups.\n * Important: You can add only users to Office 365 groups.\n *\n * @param id Full @odata.id of the directoryObject, user, or group object you want to add (ex: https://graph.microsoft.com/v1.0/directoryObjects/${id})\n */\n Members.prototype.add = function (id) {\n return this.clone(Members, \"$ref\").postCore({\n body: JSON.stringify({\n \"@odata.id\": id,\n }),\n });\n };\n /**\n * Gets a member of the group by id\n *\n * @param id Group member's id\n */\n Members.prototype.getById = function (id) {\n return new Member(this, id);\n };\n return Members;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Members = Members;\nvar Member = /** @class */ (function (_super) {\n __extends(Member, _super);\n function Member() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return Member;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Member = Member;\nvar Owners = /** @class */ (function (_super) {\n __extends(Owners, _super);\n function Owners(baseUrl, path) {\n if (path === void 0) { path = \"owners\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n return Owners;\n}(Members));\nexports.Owners = Owners;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/members.js\n// module id = 58\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar graphqueryable_1 = require(\"./graphqueryable\");\n// import { Attachments } from \"./attachments\";\nvar Calendars = /** @class */ (function (_super) {\n __extends(Calendars, _super);\n function Calendars(baseUrl, path) {\n if (path === void 0) { path = \"calendars\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n return Calendars;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Calendars = Calendars;\nvar Calendar = /** @class */ (function (_super) {\n __extends(Calendar, _super);\n function Calendar() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Calendar.prototype, \"events\", {\n get: function () {\n return new Events(this);\n },\n enumerable: true,\n configurable: true\n });\n return Calendar;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Calendar = Calendar;\nvar Events = /** @class */ (function (_super) {\n __extends(Events, _super);\n function Events(baseUrl, path) {\n if (path === void 0) { path = \"events\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n Events.prototype.getById = function (id) {\n return new Event(this, id);\n };\n /**\n * Adds a new event to the collection\n *\n * @param properties The set of properties used to create the event\n */\n Events.prototype.add = function (properties) {\n var _this = this;\n return this.postCore({\n body: JSON.stringify(properties),\n }).then(function (r) {\n return {\n data: r,\n event: _this.getById(r.id),\n };\n });\n };\n return Events;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Events = Events;\nvar Event = /** @class */ (function (_super) {\n __extends(Event, _super);\n function Event() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n // TODO:: when supported\n // /**\n // * Gets the collection of attachments for this event\n // */\n // public get attachments(): Attachments {\n // return new Attachments(this);\n // }\n /**\n * Update the properties of an event object\n *\n * @param properties Set of properties of this event to update\n */\n Event.prototype.update = function (properties) {\n return this.patchCore({\n body: JSON.stringify(properties),\n });\n };\n /**\n * Deletes this event\n */\n Event.prototype.delete = function () {\n return this.deleteCore();\n };\n return Event;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Event = Event;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/calendars.js\n// module id = 59\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar graphqueryable_1 = require(\"./graphqueryable\");\nvar attachments_1 = require(\"./attachments\");\nvar Conversations = /** @class */ (function (_super) {\n __extends(Conversations, _super);\n function Conversations(baseUrl, path) {\n if (path === void 0) { path = \"conversations\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Create a new conversation by including a thread and a post.\n *\n * @param properties Properties used to create the new conversation\n */\n Conversations.prototype.add = function (properties) {\n return this.postCore({\n body: JSON.stringify(properties),\n });\n };\n /**\n * Gets a conversation from this collection by id\n *\n * @param id Group member's id\n */\n Conversations.prototype.getById = function (id) {\n return new Conversation(this, id);\n };\n return Conversations;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Conversations = Conversations;\nvar Threads = /** @class */ (function (_super) {\n __extends(Threads, _super);\n function Threads(baseUrl, path) {\n if (path === void 0) { path = \"threads\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a thread from this collection by id\n *\n * @param id Group member's id\n */\n Threads.prototype.getById = function (id) {\n return new Thread(this, id);\n };\n /**\n * Adds a new thread to this collection\n *\n * @param properties properties used to create the new thread\n * @returns Id of the new thread\n */\n Threads.prototype.add = function (properties) {\n return this.postCore({\n body: JSON.stringify(properties),\n });\n };\n return Threads;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Threads = Threads;\nvar Posts = /** @class */ (function (_super) {\n __extends(Posts, _super);\n function Posts(baseUrl, path) {\n if (path === void 0) { path = \"posts\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a thread from this collection by id\n *\n * @param id Group member's id\n */\n Posts.prototype.getById = function (id) {\n return new Post(this, id);\n };\n /**\n * Adds a new thread to this collection\n *\n * @param properties properties used to create the new thread\n * @returns Id of the new thread\n */\n Posts.prototype.add = function (properties) {\n return this.postCore({\n body: JSON.stringify(properties),\n });\n };\n return Posts;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Posts = Posts;\nvar Conversation = /** @class */ (function (_super) {\n __extends(Conversation, _super);\n function Conversation() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Conversation.prototype, \"threads\", {\n /**\n * Get all the threads in a group conversation.\n */\n get: function () {\n return new Threads(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Updates this conversation\n */\n Conversation.prototype.update = function (properties) {\n return this.patchCore({\n body: JSON.stringify(properties),\n });\n };\n /**\n * Deletes this member from the group\n */\n Conversation.prototype.delete = function () {\n return this.deleteCore();\n };\n return Conversation;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Conversation = Conversation;\nvar Thread = /** @class */ (function (_super) {\n __extends(Thread, _super);\n function Thread() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Thread.prototype, \"posts\", {\n /**\n * Get all the threads in a group conversation.\n */\n get: function () {\n return new Posts(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Reply to a thread in a group conversation and add a new post to it\n *\n * @param post Contents of the post\n */\n Thread.prototype.reply = function (post) {\n return this.clone(Thread, \"reply\").postCore({\n body: JSON.stringify({\n post: post,\n }),\n });\n };\n /**\n * Deletes this member from the group\n */\n Thread.prototype.delete = function () {\n return this.deleteCore();\n };\n return Thread;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Thread = Thread;\nvar Post = /** @class */ (function (_super) {\n __extends(Post, _super);\n function Post() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Post.prototype, \"attachments\", {\n get: function () {\n return new attachments_1.Attachments(this);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Deletes this post\n */\n Post.prototype.delete = function () {\n return this.deleteCore();\n };\n /**\n * Forward a post to a recipient\n */\n Post.prototype.forward = function (info) {\n return this.clone(Post, \"forward\").postCore({\n body: JSON.stringify(info),\n });\n };\n /**\n * Reply to a thread in a group conversation and add a new post to it\n *\n * @param post Contents of the post\n */\n Post.prototype.reply = function (post) {\n return this.clone(Post, \"reply\").postCore({\n body: JSON.stringify({\n post: post,\n }),\n });\n };\n return Post;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Post = Post;\nvar Senders = /** @class */ (function (_super) {\n __extends(Senders, _super);\n function Senders(baseUrl, path) {\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Add a new user or group to this senders collection\n * @param id The full @odata.id value to add (ex: https://graph.microsoft.com/v1.0/users/user@contoso.com)\n */\n Senders.prototype.add = function (id) {\n return this.clone(Senders, \"$ref\").postCore({\n body: JSON.stringify({\n \"@odata.id\": id,\n }),\n });\n };\n /**\n * Removes the entity from the collection\n *\n * @param id The full @odata.id value to remove (ex: https://graph.microsoft.com/v1.0/users/user@contoso.com)\n */\n Senders.prototype.remove = function (id) {\n var remover = this.clone(Senders, \"$ref\");\n remover.query.add(\"$id\", id);\n return remover.deleteCore();\n };\n return Senders;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Senders = Senders;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/conversations.js\n// module id = 60\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar graphqueryable_1 = require(\"./graphqueryable\");\nvar Attachments = /** @class */ (function (_super) {\n __extends(Attachments, _super);\n function Attachments(baseUrl, path) {\n if (path === void 0) { path = \"attachments\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a member of the group by id\n *\n * @param id Attachment id\n */\n Attachments.prototype.getById = function (id) {\n return new Attachment(this, id);\n };\n /**\n * Add attachment to this collection\n *\n * @param name Name given to the attachment file\n * @param bytes File content\n */\n Attachments.prototype.addFile = function (name, bytes) {\n return this.postCore({\n body: JSON.stringify({\n \"@odata.type\": \"#microsoft.graph.fileAttachment\",\n contentBytes: bytes,\n name: name,\n }),\n });\n };\n return Attachments;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Attachments = Attachments;\nvar Attachment = /** @class */ (function (_super) {\n __extends(Attachment, _super);\n function Attachment() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return Attachment;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Attachment = Attachment;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/attachments.js\n// module id = 61\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar graphqueryable_1 = require(\"./graphqueryable\");\nvar Plans = /** @class */ (function (_super) {\n __extends(Plans, _super);\n function Plans(baseUrl, path) {\n if (path === void 0) { path = \"planner/plans\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets a plan from this collection by id\n *\n * @param id Plan's id\n */\n Plans.prototype.getById = function (id) {\n return new Plan(this, id);\n };\n return Plans;\n}(graphqueryable_1.GraphQueryableCollection));\nexports.Plans = Plans;\nvar Plan = /** @class */ (function (_super) {\n __extends(Plan, _super);\n function Plan() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return Plan;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Plan = Plan;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/plans.js\n// module id = 62\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar graphqueryable_1 = require(\"./graphqueryable\");\nvar parsers_1 = require(\"../odata/parsers\");\nvar Photo = /** @class */ (function (_super) {\n __extends(Photo, _super);\n function Photo(baseUrl, path) {\n if (path === void 0) { path = \"photo\"; }\n return _super.call(this, baseUrl, path) || this;\n }\n /**\n * Gets the image bytes as a blob (browser)\n */\n Photo.prototype.getBlob = function () {\n return this.clone(Photo, \"$value\", false).get(new parsers_1.BlobFileParser());\n };\n /**\n * Gets the image file byets as a Buffer (node.js)\n */\n Photo.prototype.getBuffer = function () {\n return this.clone(Photo, \"$value\", false).get(new parsers_1.BufferFileParser());\n };\n /**\n * Sets the file bytes\n *\n * @param content Image file contents, max 4 MB\n */\n Photo.prototype.setContent = function (content) {\n return this.clone(Photo, \"$value\", false).patchCore({\n body: content,\n });\n };\n return Photo;\n}(graphqueryable_1.GraphQueryableInstance));\nexports.Photo = Photo;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/photos.js\n// module id = 63\n// module chunks = 0","\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"../configuration/providers/index\"));\nvar collections_1 = require(\"../collections/collections\");\nexports.Dictionary = collections_1.Dictionary;\nvar util_1 = require(\"../utils/util\");\nexports.Util = util_1.Util;\n__export(require(\"../utils/logging\"));\n__export(require(\"../utils/exceptions\"));\n__export(require(\"../utils/storage\"));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/exports/core.js\n// module id = 64\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar cachingConfigurationProvider_1 = require(\"./cachingConfigurationProvider\");\nexports.CachingConfigurationProvider = cachingConfigurationProvider_1.default;\nvar spListConfigurationProvider_1 = require(\"./spListConfigurationProvider\");\nexports.SPListConfigurationProvider = spListConfigurationProvider_1.default;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/configuration/providers/index.js\n// module id = 65\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar cachingConfigurationProvider_1 = require(\"./cachingConfigurationProvider\");\n/**\n * A configuration provider which loads configuration values from a SharePoint list\n *\n */\nvar SPListConfigurationProvider = /** @class */ (function () {\n /**\n * Creates a new SharePoint list based configuration provider\n * @constructor\n * @param {string} webUrl Url of the SharePoint site, where the configuration list is located\n * @param {string} listTitle Title of the SharePoint list, which contains the configuration settings (optional, default = \"config\")\n */\n function SPListConfigurationProvider(sourceWeb, sourceListTitle) {\n if (sourceListTitle === void 0) { sourceListTitle = \"config\"; }\n this.sourceWeb = sourceWeb;\n this.sourceListTitle = sourceListTitle;\n }\n Object.defineProperty(SPListConfigurationProvider.prototype, \"web\", {\n /**\n * Gets the url of the SharePoint site, where the configuration list is located\n *\n * @return {string} Url address of the site\n */\n get: function () {\n return this.sourceWeb;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SPListConfigurationProvider.prototype, \"listTitle\", {\n /**\n * Gets the title of the SharePoint list, which contains the configuration settings\n *\n * @return {string} List title\n */\n get: function () {\n return this.sourceListTitle;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Loads the configuration values from the SharePoint list\n *\n * @return {Promise>} Promise of loaded configuration values\n */\n SPListConfigurationProvider.prototype.getConfiguration = function () {\n return this.web.lists.getByTitle(this.listTitle).items.select(\"Title\", \"Value\")\n .getAs().then(function (data) {\n return data.reduce(function (configuration, item) {\n return Object.defineProperty(configuration, item.Title, {\n configurable: false,\n enumerable: false,\n value: item.Value,\n writable: false,\n });\n }, {});\n });\n };\n /**\n * Wraps the current provider in a cache enabled provider\n *\n * @return {CachingConfigurationProvider} Caching providers which wraps the current provider\n */\n SPListConfigurationProvider.prototype.asCaching = function () {\n var cacheKey = \"splist_\" + this.web.toUrl() + \"+\" + this.listTitle;\n return new cachingConfigurationProvider_1.default(this, cacheKey);\n };\n return SPListConfigurationProvider;\n}());\nexports.default = SPListConfigurationProvider;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/configuration/providers/spListConfigurationProvider.js\n// module id = 66\n// module chunks = 0","\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"../graph/index\"));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/exports/graph.js\n// module id = 67\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar graphqueryable_1 = require(\"./graphqueryable\");\nexports.GraphQueryable = graphqueryable_1.GraphQueryable;\nexports.GraphQueryableCollection = graphqueryable_1.GraphQueryableCollection;\nexports.GraphQueryableInstance = graphqueryable_1.GraphQueryableInstance;\nexports.GraphQueryableSearchableCollection = graphqueryable_1.GraphQueryableSearchableCollection;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/graph/index.js\n// module id = 68\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar httpclient_1 = require(\"../net/httpclient\");\nexports.HttpClient = httpclient_1.HttpClient;\nvar sprequestexecutorclient_1 = require(\"../net/sprequestexecutorclient\");\nexports.SPRequestExecutorClient = sprequestexecutorclient_1.SPRequestExecutorClient;\nvar nodefetchclient_1 = require(\"../net/nodefetchclient\");\nexports.NodeFetchClient = nodefetchclient_1.NodeFetchClient;\nvar fetchclient_1 = require(\"../net/fetchclient\");\nexports.FetchClient = fetchclient_1.FetchClient;\nvar graphclient_1 = require(\"../net/graphclient\");\nexports.GraphHttpClient = graphclient_1.GraphHttpClient;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/exports/net.js\n// module id = 69\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../utils/util\");\nvar exceptions_1 = require(\"../utils/exceptions\");\n/**\n * Makes requests using the SP.RequestExecutor library.\n */\nvar SPRequestExecutorClient = /** @class */ (function () {\n function SPRequestExecutorClient() {\n /**\n * Converts a SharePoint REST API response to a fetch API response.\n */\n this.convertToResponse = function (spResponse) {\n var responseHeaders = new Headers();\n for (var h in spResponse.headers) {\n if (spResponse.headers[h]) {\n responseHeaders.append(h, spResponse.headers[h]);\n }\n }\n // issue #256, Cannot have an empty string body when creating a Response with status 204\n var body = spResponse.statusCode === 204 ? null : spResponse.body;\n return new Response(body, {\n headers: responseHeaders,\n status: spResponse.statusCode,\n statusText: spResponse.statusText,\n });\n };\n }\n /**\n * Fetches a URL using the SP.RequestExecutor library.\n */\n SPRequestExecutorClient.prototype.fetch = function (url, options) {\n var _this = this;\n if (typeof SP === \"undefined\" || typeof SP.RequestExecutor === \"undefined\") {\n throw new exceptions_1.SPRequestExecutorUndefinedException();\n }\n var addinWebUrl = url.substring(0, url.indexOf(\"/_api\")), executor = new SP.RequestExecutor(addinWebUrl);\n var headers = {}, iterator, temp;\n if (options.headers && options.headers instanceof Headers) {\n iterator = options.headers.entries();\n temp = iterator.next();\n while (!temp.done) {\n headers[temp.value[0]] = temp.value[1];\n temp = iterator.next();\n }\n }\n else {\n headers = options.headers;\n }\n // this is a way to determine if we need to set the binaryStringRequestBody by testing what method we are calling\n // and if they would normally have a binary body. This addresses issue #565.\n var paths = [\n \"files\\/add\",\n \"files\\/addTemplateFile\",\n \"file\\/startUpload\",\n \"file\\/continueUpload\",\n \"file\\/finishUpload\",\n \"attachmentfiles\\/add\",\n ];\n var isBinaryRequest = (new RegExp(paths.join(\"|\"), \"i\")).test(url);\n return new Promise(function (resolve, reject) {\n var requestOptions = {\n error: function (error) {\n reject(_this.convertToResponse(error));\n },\n headers: headers,\n method: options.method,\n success: function (response) {\n resolve(_this.convertToResponse(response));\n },\n url: url,\n };\n if (options.body) {\n requestOptions = util_1.Util.extend(requestOptions, { body: options.body });\n if (isBinaryRequest) {\n requestOptions = util_1.Util.extend(requestOptions, { binaryStringRequestBody: true });\n }\n }\n executor.executeAsync(requestOptions);\n });\n };\n return SPRequestExecutorClient;\n}());\nexports.SPRequestExecutorClient = SPRequestExecutorClient;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/net/sprequestexecutorclient.js\n// module id = 70\n// module chunks = 0","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar exceptions_1 = require(\"../utils/exceptions\");\n/**\n * This module is substituted for the NodeFetchClient.ts during the packaging process. This helps to reduce the pnp.js file size by\n * not including all of the node dependencies\n */\nvar NodeFetchClient = /** @class */ (function () {\n function NodeFetchClient() {\n }\n /**\n * Always throws an error that NodeFetchClient is not supported for use in the browser\n */\n NodeFetchClient.prototype.fetch = function () {\n throw new exceptions_1.NodeFetchClientUnsupportedException();\n };\n return NodeFetchClient;\n}());\nexports.NodeFetchClient = NodeFetchClient;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/net/nodefetchclientbrowser.js\n// module id = 71\n// module chunks = 0","\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"../odata/core\"));\n__export(require(\"../odata/parsers\"));\n__export(require(\"../odata/caching\"));\n__export(require(\"../odata/queryable\"));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/exports/odata.js\n// module id = 72\n// module chunks = 0","\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"../sharepoint/index\"));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/exports/sp.js\n// module id = 73\n// module chunks = 0","\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar appcatalog_1 = require(\"./appcatalog\");\nexports.AppCatalog = appcatalog_1.AppCatalog;\nexports.App = appcatalog_1.App;\nvar batch_1 = require(\"./batch\");\nexports.ODataBatch = batch_1.ODataBatch;\nvar files_1 = require(\"./files\");\nexports.CheckinType = files_1.CheckinType;\nexports.WebPartsPersonalizationScope = files_1.WebPartsPersonalizationScope;\nexports.MoveOperations = files_1.MoveOperations;\nexports.TemplateFileType = files_1.TemplateFileType;\nexports.File = files_1.File;\nexports.Files = files_1.Files;\nvar folders_1 = require(\"./folders\");\nexports.Folder = folders_1.Folder;\nexports.Folders = folders_1.Folders;\nvar items_1 = require(\"./items\");\nexports.Item = items_1.Item;\nexports.Items = items_1.Items;\nexports.ItemVersion = items_1.ItemVersion;\nexports.ItemVersions = items_1.ItemVersions;\nexports.PagedItemCollection = items_1.PagedItemCollection;\nvar navigation_1 = require(\"./navigation\");\nexports.NavigationNodes = navigation_1.NavigationNodes;\nexports.NavigationNode = navigation_1.NavigationNode;\nvar lists_1 = require(\"./lists\");\nexports.List = lists_1.List;\nexports.Lists = lists_1.Lists;\nvar odata_1 = require(\"./odata\");\nexports.spExtractODataId = odata_1.spExtractODataId;\nexports.spODataEntity = odata_1.spODataEntity;\nexports.spODataEntityArray = odata_1.spODataEntityArray;\nvar sharepointqueryable_1 = require(\"./sharepointqueryable\");\nexports.SharePointQueryable = sharepointqueryable_1.SharePointQueryable;\nexports.SharePointQueryableInstance = sharepointqueryable_1.SharePointQueryableInstance;\nexports.SharePointQueryableCollection = sharepointqueryable_1.SharePointQueryableCollection;\nvar roles_1 = require(\"./roles\");\nexports.RoleDefinitionBindings = roles_1.RoleDefinitionBindings;\nvar search_1 = require(\"./search\");\nexports.Search = search_1.Search;\nexports.SearchQueryBuilder = search_1.SearchQueryBuilder;\nexports.SearchResults = search_1.SearchResults;\nexports.SortDirection = search_1.SortDirection;\nexports.ReorderingRuleMatchType = search_1.ReorderingRuleMatchType;\nexports.QueryPropertyValueType = search_1.QueryPropertyValueType;\nexports.SearchBuiltInSourceId = search_1.SearchBuiltInSourceId;\nvar searchsuggest_1 = require(\"./searchsuggest\");\nexports.SearchSuggest = searchsuggest_1.SearchSuggest;\nexports.SearchSuggestResult = searchsuggest_1.SearchSuggestResult;\nvar site_1 = require(\"./site\");\nexports.Site = site_1.Site;\n__export(require(\"./types\"));\nvar utilities_1 = require(\"./utilities\");\nexports.UtilityMethod = utilities_1.UtilityMethod;\nvar webparts_1 = require(\"./webparts\");\nexports.WebPartDefinitions = webparts_1.WebPartDefinitions;\nexports.WebPartDefinition = webparts_1.WebPartDefinition;\nexports.WebPart = webparts_1.WebPart;\nvar webs_1 = require(\"./webs\");\nexports.Web = webs_1.Web;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/sharepoint/index.js\n// module id = 74\n// module chunks = 0"],"sourceRoot":""}